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

Unified Diff: content/common/webkitplatformsupport_impl.cc

Issue 10383006: Add scale factor and 2x resources from webkit and plumb through to ContentClient. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add more test class GetImageResource methods. Created 8 years, 7 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 | « content/common/webkitplatformsupport_impl.h ('k') | content/public/common/content_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/webkitplatformsupport_impl.cc
diff --git a/content/common/webkitplatformsupport_impl.cc b/content/common/webkitplatformsupport_impl.cc
index 26c87bc95235300b92c01c32f2c3abc2bfee4db0..6309d9c171b1112fd4328139a781f00d0c13f899 100644
--- a/content/common/webkitplatformsupport_impl.cc
+++ b/content/common/webkitplatformsupport_impl.cc
@@ -28,6 +28,13 @@ base::StringPiece WebKitPlatformSupportImpl::GetDataResource(
return content::GetContentClient()->GetDataResource(resource_id);
}
+base::StringPiece WebKitPlatformSupportImpl::GetImageResource(
+ int resource_id,
+ float scale_factor) {
+ return content::GetContentClient()->GetImageResource(resource_id,
+ scale_factor);
+}
+
void WebKitPlatformSupportImpl::GetPlugins(
bool refresh, std::vector<webkit::WebPluginInfo>* plugins) {
// This should not be called except in the renderer.
« no previous file with comments | « content/common/webkitplatformsupport_impl.h ('k') | content/public/common/content_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698