Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Unified Diff: webkit/support/test_webkit_platform_support.cc

Issue 17029016: Remove DRT-specific resource loading logic (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/support/platform_support_win.cc ('k') | webkit/support/webkit_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/test_webkit_platform_support.cc
diff --git a/webkit/support/test_webkit_platform_support.cc b/webkit/support/test_webkit_platform_support.cc
index 016661dfe4834af039f21e4351d13cb4ff679d9d..b1537bd61ac3977857963e65329d7fcfe487c135 100644
--- a/webkit/support/test_webkit_platform_support.cc
+++ b/webkit/support/test_webkit_platform_support.cc
@@ -296,7 +296,7 @@ WebKit::WebString TestWebKitPlatformSupport::queryLocalizedString(
case WebKit::WebLocalizedString::ThisWeekButtonLabel:
return ASCIIToUTF16("<<ThisWeekLabel>>");
default:
- return WebKitPlatformSupportImpl::queryLocalizedString(name);
+ return WebKit::WebString();
}
}
@@ -306,7 +306,7 @@ WebKit::WebString TestWebKitPlatformSupport::queryLocalizedString(
return ASCIIToUTF16("range underflow");
if (name == WebKit::WebLocalizedString::ValidationRangeOverflow)
return ASCIIToUTF16("range overflow");
- return WebKitPlatformSupportImpl::queryLocalizedString(name, value);
+ return WebKit::WebString();
}
WebKit::WebString TestWebKitPlatformSupport::queryLocalizedString(
@@ -317,7 +317,7 @@ WebKit::WebString TestWebKitPlatformSupport::queryLocalizedString(
return ASCIIToUTF16("too long");
if (name == WebKit::WebLocalizedString::ValidationStepMismatch)
return ASCIIToUTF16("step mismatch");
- return WebKitPlatformSupportImpl::queryLocalizedString(name, value1, value2);
+ return WebKit::WebString();
}
WebKit::WebString TestWebKitPlatformSupport::defaultLocale() {
@@ -415,6 +415,17 @@ void TestWebKitPlatformSupport::setGamepadData(
gamepad_data_ = data;
}
+base::string16 TestWebKitPlatformSupport::GetLocalizedString(int message_id) {
+ NOTREACHED();
+ return base::string16();
+}
+base::StringPiece TestWebKitPlatformSupport::GetDataResource(
+ int resource_id,
+ ui::ScaleFactor scale_factor) {
+ NOTREACHED();
+ return base::StringPiece();
+}
+
void TestWebKitPlatformSupport::GetPlugins(
bool refresh, std::vector<webkit::WebPluginInfo>* plugins) {
if (refresh)
« no previous file with comments | « webkit/support/platform_support_win.cc ('k') | webkit/support/webkit_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698