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

Unified Diff: content/common/webkitplatformsupport_impl.h

Issue 10387010: Select theme resources from ResourceBundle at requested scale factor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with master. 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
Index: content/common/webkitplatformsupport_impl.h
diff --git a/content/common/webkitplatformsupport_impl.h b/content/common/webkitplatformsupport_impl.h
index c190ae630ac881fc7aa44ed5b19f08d421404926..8d1e2f5186720b3490c1fc8daa85e049fee5a4ec 100644
--- a/content/common/webkitplatformsupport_impl.h
+++ b/content/common/webkitplatformsupport_impl.h
@@ -8,6 +8,7 @@
#include "base/compiler_specific.h"
#include "content/common/content_export.h"
+#include "ui/base/layout.h"
#include "webkit/glue/webkitplatformsupport_impl.h"
class GpuChannelHostFactory;
@@ -23,9 +24,9 @@ class CONTENT_EXPORT WebKitPlatformSupportImpl
virtual ~WebKitPlatformSupportImpl();
virtual string16 GetLocalizedString(int message_id) OVERRIDE;
- virtual base::StringPiece GetDataResource(int resource_id) OVERRIDE;
- virtual base::StringPiece GetImageResource(int resource_id,
- float scale_factor) OVERRIDE;
+ virtual base::StringPiece GetDataResource(
+ int resource_id,
+ ui::ScaleFactor scale_factor) OVERRIDE;
virtual void GetPlugins(bool refresh,
std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE;
virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader(

Powered by Google App Engine
This is Rietveld 408576698