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

Unified Diff: webkit/support/test_webkit_platform_support.cc

Issue 18429012: Don't load resources for test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 7 years, 4 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') | no next file » | 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 e54718ddc45d051df06fcdcd6d021126f18eb8de..63bc508746bf62b68c1780c00cf27eefb392b9fd 100644
--- a/webkit/support/test_webkit_platform_support.cc
+++ b/webkit/support/test_webkit_platform_support.cc
@@ -221,6 +221,8 @@ WebKit::WebString TestWebKitPlatformSupport::queryLocalizedString(
return ASCIIToUTF16("<<ThisMonthLabel>>");
case WebKit::WebLocalizedString::ThisWeekButtonLabel:
return ASCIIToUTF16("<<ThisWeekLabel>>");
+ case WebKit::WebLocalizedString::WeekFormatTemplate:
+ return ASCIIToUTF16("Week $2, $1");
default:
return WebKitPlatformSupportImpl::queryLocalizedString(name);
}
@@ -335,6 +337,16 @@ void TestWebKitPlatformSupport::setGamepadData(
gamepad_data_ = data;
}
+base::string16 TestWebKitPlatformSupport::GetLocalizedString(int message_id) {
+ return base::string16();
+}
+
+base::StringPiece TestWebKitPlatformSupport::GetDataResource(
+ int resource_id,
+ ui::ScaleFactor scale_factor) {
+ return base::StringPiece();
+}
+
webkit_glue::ResourceLoaderBridge*
TestWebKitPlatformSupport::CreateResourceLoader(
const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) {
« no previous file with comments | « webkit/support/platform_support_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698