Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add localized strings stubs for WebKit2. Reviewed by Anders Carlsson. WebCore: - Convert WebKit (mac) to use a LocalizationStrategy rather than the WebCoreViewFactory for localized strings. Gets us below 200 tests failing in WebKitTestRunner. * WebCore.exp.in: * WebCore.xcodeproj/project.pbxproj: * page/mac/WebCoreViewFactory.h: * platform/LocalizationStrategy.h: Added. (WebCore::LocalizationStrategy::~LocalizationStrategy): * platform/PlatformStrategies.h: (WebCore::PlatformStrategies::pluginStrategy): (WebCore::PlatformStrategies::localizationStrategy): (WebCore::PlatformStrategies::PlatformStrategies): (WebCore::PlatformStrategies::~PlatformStrategies): * platform/mac/LocalizedStringsMac.mm: WebKit/mac: - Convert WebKit (mac) to use a LocalizationStrategy rather than the WebCoreViewFactory for localized strings. Gets us below 200 tests failing in WebKitTestRunner. * WebCoreSupport/WebContextMenuClient.mm: (fixMenusReceivedFromOldClients): Use LocalizedStrings rather than the factory. * WebCoreSupport/WebPlatformStrategies.h: * WebCoreSupport/WebPlatformStrategies.mm: * WebCoreSupport/WebViewFactory.mm: WebKit2: Gets us below 200 tests failing in WebKitTestRunner. * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.h: Canonical link: https://commits.webkit.org/54741@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@63904 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
2,056 additions
and 1,238 deletions.
- +24 −0 WebCore/ChangeLog
- +35 −0 WebCore/WebCore.exp.in
- +5 −1 WebCore/WebCore.xcodeproj/project.pbxproj
- +1 −115 WebCore/page/mac/WebCoreViewFactory.h
- +172 −0 WebCore/platform/LocalizationStrategy.h
- +15 −3 WebCore/platform/PlatformStrategies.h
- +107 −406 WebCore/platform/mac/LocalizedStringsMac.mm
- +18 −0 WebKit/mac/ChangeLog
- +38 −37 WebKit/mac/WebCoreSupport/WebContextMenuClient.mm
- +107 −1 WebKit/mac/WebCoreSupport/WebPlatformStrategies.h
- +689 −0 WebKit/mac/WebCoreSupport/WebPlatformStrategies.mm
- +0 −673 WebKit/mac/WebCoreSupport/WebViewFactory.mm
- +12 −0 WebKit2/ChangeLog
- +713 −0 WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp
- +120 −2 WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.h
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.