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

Unified Diff: webkit/tools/test_shell/test_shell_win.cc

Issue 6254004: Move more web widgets painting from webkit to chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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
« gfx/native_theme_linux.cc ('K') | « webkit/tools/test_shell/test_shell_main.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/test_shell_win.cc
diff --git a/webkit/tools/test_shell/test_shell_win.cc b/webkit/tools/test_shell/test_shell_win.cc
index 2d788955b530c464a891b726606f949691804969..59d3e862dab0851b40bb0a7a93a4fabd73ebb67f 100644
--- a/webkit/tools/test_shell/test_shell_win.cc
+++ b/webkit/tools/test_shell/test_shell_win.cc
@@ -139,7 +139,7 @@ static base::StringPiece GetRawDataResource(HMODULE module, int resource_id) {
}
// This is called indirectly by the network layer to access resources.
tony 2011/01/14 22:06:04 We actually call TestShell::ResourceProvider, don'
xiyuan 2011/01/18 21:30:49 Yep, you are right. Removed as suggested.
-base::StringPiece NetResourceProvider(int key) {
+base::StringPiece ResourceProvider(int key) {
return GetRawDataResource(::GetModuleHandle(NULL), key);
}
@@ -740,7 +740,7 @@ void TestShell::ShowStartupDebuggingDialog() {
}
// static
-base::StringPiece TestShell::NetResourceProvider(int key) {
+base::StringPiece TestShell::ResourceProvider(int key) {
return GetRawDataResource(::GetModuleHandle(NULL), key);
}
@@ -807,7 +807,7 @@ base::StringPiece GetDataResource(int resource_id) {
case IDR_INPUT_SPEECH:
case IDR_INPUT_SPEECH_RECORDING:
case IDR_INPUT_SPEECH_WAITING:
- return NetResourceProvider(resource_id);
+ return ResourceProvider(resource_id);
tony 2011/01/14 22:06:04 Can we just call TestShell::ResourceProvider here
xiyuan 2011/01/18 21:30:49 Done.
default:
break;
« gfx/native_theme_linux.cc ('K') | « webkit/tools/test_shell/test_shell_main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698