summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webkit/glue/localized_strings.cc4
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