Title: [86793] trunk/Source
- Revision
- 86793
- Author
- [email protected]
- Date
- 2011-05-18 14:47:33 -0700 (Wed, 18 May 2011)
Log Message
Update the the context menu to reflect the system search provider on Mac.
<rdar://problem/9198419>
Reviewed by Sam Weinig.
Source/WebCore:
* English.lproj/Localizable.strings: Updated.
* Source/WebCore/WebCore.exp.in: Added _wkCopyDefaultSearchProviderDisplayName.
* platform/DefaultLocalizationStrategy.cpp:
(WebCore::DefaultLocalizationStrategy::contextMenuItemTagSearchWeb): Use wkCopyDefaultSearchProviderDisplayName to
create the string.
* platform/mac/WebCoreSystemInterface.h: Added wkCopyDefaultSearchProviderDisplayName.
* platform/mac/WebCoreSystemInterface.mm: Ditto.
Source/WebKit/mac:
* DefaultDelegates/WebDefaultContextMenuDelegate.mm:
(-[WebDefaultUIDelegate menuItemWithTag:target:representedObject:]): Use wkCopyDefaultSearchProviderDisplayName to
create the web search context menu title.
* WebCoreSupport/WebSystemInterface.mm:
(InitWebCoreSystemInterface): Added CopyDefaultSearchProviderDisplayName.
Source/WebKit2:
* WebProcess/WebCoreSupport/WebContextMenuClient.cpp:
(WebKit::WebContextMenuClient::searchWithGoogle): Add a FIXME about using NSPerformService on Mac.
* WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
(InitWebCoreSystemInterface): Added CopyDefaultSearchProviderDisplayName.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (86792 => 86793)
--- trunk/Source/WebCore/ChangeLog 2011-05-18 21:46:33 UTC (rev 86792)
+++ trunk/Source/WebCore/ChangeLog 2011-05-18 21:47:33 UTC (rev 86793)
@@ -1,3 +1,19 @@
+2011-05-17 Timothy Hatcher <[email protected]>
+
+ Update the the context menu to reflect the system search provider on Mac.
+
+ <rdar://problem/9198419>
+
+ Reviewed by Sam Weinig.
+
+ * English.lproj/Localizable.strings: Updated.
+ * Source/WebCore/WebCore.exp.in: Added _wkCopyDefaultSearchProviderDisplayName.
+ * platform/DefaultLocalizationStrategy.cpp:
+ (WebCore::DefaultLocalizationStrategy::contextMenuItemTagSearchWeb): Use wkCopyDefaultSearchProviderDisplayName to
+ create the string.
+ * platform/mac/WebCoreSystemInterface.h: Added wkCopyDefaultSearchProviderDisplayName.
+ * platform/mac/WebCoreSystemInterface.mm: Ditto.
+
2011-05-18 Rob Buis <[email protected]>
Reviewed by Nikolas Zimmermann.
Modified: trunk/Source/WebCore/English.lproj/Localizable.strings (86792 => 86793)
--- trunk/Source/WebCore/English.lproj/Localizable.strings 2011-05-18 21:46:33 UTC (rev 86792)
+++ trunk/Source/WebCore/English.lproj/Localizable.strings 2011-05-18 21:47:33 UTC (rev 86793)
@@ -310,12 +310,15 @@
/ * R i g h t t o L e f t c o n t e x t m e n u i t e m * /
"