diff options
author | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-17 21:27:37 +0000 |
---|---|---|
committer | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-17 21:27:37 +0000 |
commit | 4f2338e7a436d508d031639a3dcd88d36272b78d (patch) | |
tree | ea6e33c546efd2f0e22df6dcd9ca9d296b50ee7e /webkit | |
parent | 93a22559bb0bf65d391124685bb1d3176e7a300c (diff) | |
download | chromium_src-4f2338e7a436d508d031639a3dcd88d36272b78d.zip chromium_src-4f2338e7a436d508d031639a3dcd88d36272b78d.tar.gz chromium_src-4f2338e7a436d508d031639a3dcd88d36272b78d.tar.bz2 |
Revert r3564, "We want these symbols on all platforms."
It broke the mac build.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3565 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/glue/localized_strings.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/localized_strings.cc b/webkit/glue/localized_strings.cc index a80b22b..10fe480 100644 --- a/webkit/glue/localized_strings.cc +++ b/webkit/glue/localized_strings.cc @@ -52,6 +52,7 @@ inline String GetLocalizedString(int message_id) { return webkit_glue::StdWStringToString(str); } +#if defined(OS_WIN) String WebCore::searchableIndexIntroduction() { return GetLocalizedString(IDS_SEARCHABLE_INDEX_INTRO); } @@ -97,6 +98,7 @@ String WebCore::AXImageMapText() { String WebCore::AXHeadingText() { return GetLocalizedString(IDS_AX_ROLE_HEADING); } +#endif // OS_WIN String WebCore::AXButtonActionVerb() { return GetLocalizedString(IDS_AX_BUTTON_ACTION_VERB); } @@ -151,6 +153,7 @@ String imageTitle(const String& filename, const IntSize& size) { } //namespace WebCore +#if defined(OS_WIN) // We don't use these strings, so they return an empty String. We can't just // make them asserts because webcore still calls them. String WebCore::contextMenuItemTagOpenLinkInNewWindow() { return String(); } @@ -189,3 +192,4 @@ String WebCore::contextMenuItemTagLeftToRight() { return String(); } String WebCore::contextMenuItemTagRightToLeft() { return String(); } String WebCore::contextMenuItemTagInspectElement() { return String(); } String WebCore::contextMenuItemTagShowSpellingPanel(bool show) { return String(); } +#endif // OS_WIN |