[webkit-changes] [WebKit/WebKit] 27a3cb: Remove more AppleWin code in WebCore

Fujii Hironori noreply at github.com
Mon Mar 6 12:21:17 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 27a3cbeaf3eeb0543b10bb29641c33e6673d3369
      https://github.com/WebKit/WebKit/commit/27a3cbeaf3eeb0543b10bb29641c33e6673d3369
  Author: Fujii Hironori <Hironori.Fujii at sony.com>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

  Changed paths:
    M Source/WebCore/PlatformWin.cmake
    M Source/WebCore/platform/graphics/BifurcatedGraphicsContext.cpp
    M Source/WebCore/platform/graphics/BifurcatedGraphicsContext.h
    M Source/WebCore/platform/graphics/Font.h
    M Source/WebCore/platform/graphics/GraphicsContext.h
    M Source/WebCore/platform/graphics/NullGraphicsContext.h
    M Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp
    M Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp
    M Source/WebCore/platform/graphics/win/DIBPixelData.h
    M Source/WebCore/platform/graphics/win/FontCacheWin.cpp
    M Source/WebCore/platform/graphics/win/FullScreenWindow.cpp
    M Source/WebCore/platform/graphics/win/FullScreenWindow.h
    M Source/WebCore/platform/graphics/win/GraphicsContextWin.cpp
    R Source/WebCore/platform/graphics/win/GraphicsContextWin.h
    M Source/WebCore/platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp
    M Source/WebCore/platform/graphics/win/SimpleFontDataCairoWin.cpp
    M Source/WebCore/platform/graphics/win/SimpleFontDataWin.cpp
    M Source/WebCore/platform/win/BString.cpp
    M Source/WebCore/platform/win/BString.h
    M Source/WebCore/platform/win/DragImageWin.cpp
    M Source/WebCore/platform/win/PlatformScreenWin.cpp
    M Source/WebCore/platform/win/PopupMenuWin.cpp
    M Source/WebCore/platform/win/WebCoreBundleWin.cpp
    M Source/WebCore/platform/win/WebCoreBundleWin.h
    M Source/WebKit/UIProcess/win/WebPopupMenuProxyWin.cpp
    R Source/cmake/WinTools.make

  Log Message:
  -----------
  Remove more AppleWin code in WebCore
https://bugs.webkit.org/show_bug.cgi?id=253396

Reviewed by Don Olmstead.

* Source/WebCore/PlatformWin.cmake:
* Source/WebCore/platform/graphics/BifurcatedGraphicsContext.cpp:
(WebCore::BifurcatedGraphicsContext::deprecatedPrivateContext const): Deleted.
* Source/WebCore/platform/graphics/BifurcatedGraphicsContext.h:
* Source/WebCore/platform/graphics/Font.h:
(WebCore::Font::scriptCache const):
* Source/WebCore/platform/graphics/GraphicsContext.h:
(WebCore::GraphicsContext::deprecatedPrivateContext const): Deleted.
* Source/WebCore/platform/graphics/NullGraphicsContext.h:
* Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
(WebCore::MediaPlayerPrivateAVFoundation::scheduleMainThreadNotification):
* Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::getDebugBorderInfo const):
* Source/WebCore/platform/graphics/win/DIBPixelData.h:
* Source/WebCore/platform/graphics/win/FontCacheWin.cpp:
(WebCore::FontCache::platformInit):
(WebCore::FontCache::createFontPlatformData):
* Source/WebCore/platform/graphics/win/FullScreenWindow.cpp:
(WebCore::FullScreenWindow::createWindow):
(WebCore::FullScreenWindow::wndProc):
(WebCore::FullScreenWindow::setRootChildLayer): Deleted.
* Source/WebCore/platform/graphics/win/FullScreenWindow.h:
(WebCore::FullScreenWindow::rootChildLayer const): Deleted.
* Source/WebCore/platform/graphics/win/GraphicsContextWin.cpp:
(WebCore::GraphicsContext::getWindowsContext):
(WebCore::GraphicsContextPlatformPrivate::save): Deleted.
(WebCore::GraphicsContextPlatformPrivate::restore): Deleted.
(WebCore::GraphicsContextPlatformPrivate::clip): Deleted.
(WebCore::GraphicsContextPlatformPrivate::scale): Deleted.
(WebCore::GraphicsContextPlatformPrivate::rotate): Deleted.
(WebCore::GraphicsContextPlatformPrivate::translate): Deleted.
(WebCore::GraphicsContextPlatformPrivate::concatCTM): Deleted.
(WebCore::GraphicsContextPlatformPrivate::setCTM): Deleted.
* Source/WebCore/platform/graphics/win/GraphicsContextWin.h: Removed.
* Source/WebCore/platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp:
(WebCore::MediaPlayerPrivateMediaFoundation::Direct3DPresenter::paintCurrentFrame):
* Source/WebCore/platform/graphics/win/SimpleFontDataCairoWin.cpp:
(WebCore::Font::platformInit):
* Source/WebCore/platform/graphics/win/SimpleFontDataWin.cpp:
(WebCore::Font::platformDestroy):
(WebCore::Font::setShouldApplyMacAscentHack): Deleted.
(WebCore::Font::shouldApplyMacAscentHack): Deleted.
(WebCore::Font::ascentConsideringMacAscentHack): Deleted.
(WebCore::Font::initGDIFont): Deleted.
(WebCore::Font::boundsForGDIGlyph const): Deleted.
(WebCore::Font::widthForGDIGlyph const): Deleted.
(WebCore::Font::scriptFontProperties const): Deleted.
* Source/WebCore/platform/win/BString.cpp:
* Source/WebCore/platform/win/BString.h:
* Source/WebCore/platform/win/DragImageWin.cpp:
(WebCore::createDragImageForLink):
* Source/WebCore/platform/win/PlatformScreenWin.cpp:
* Source/WebCore/platform/win/PopupMenuWin.cpp:
(WebCore::PopupMenuWin::paint):
* Source/WebCore/platform/win/WebCoreBundleWin.cpp:
(WebCore::createWebKitBundle): Deleted.
(WebCore::webKitBundle): Deleted.
* Source/WebCore/platform/win/WebCoreBundleWin.h:
* Source/WebKit/UIProcess/win/WebPopupMenuProxyWin.cpp:
(WebKit::WebPopupMenuProxyWin::paint):
* Source/cmake/WinTools.make: Removed.

Canonical link: https://commits.webkit.org/261288@main




More information about the webkit-changes mailing list