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

Unified Diff: webkit/glue/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: webkit/glue/webkitplatformsupport_impl.h
diff --git a/webkit/glue/webkitplatformsupport_impl.h b/webkit/glue/webkitplatformsupport_impl.h
index c58eb86de7039a7723f29a403e544f1d3a2a2eda..46dd048f632f48eb09c0c2fbdb7590993a87439d 100644
--- a/webkit/glue/webkitplatformsupport_impl.h
+++ b/webkit/glue/webkitplatformsupport_impl.h
@@ -10,6 +10,7 @@
#include "base/threading/thread_local_storage.h"
#include "base/timer.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebKitPlatformSupport.h"
+#include "ui/base/layout.h"
#include "webkit/glue/resource_loader_bridge.h"
#include "webkit/glue/webkit_glue_export.h"
@@ -119,13 +120,8 @@ class WEBKIT_GLUE_EXPORT WebKitPlatformSupportImpl :
// Returns the raw data for a resource. This resource must have been
// specified as BINDATA in the relevant .rc file.
- virtual base::StringPiece GetDataResource(int resource_id) = 0;
-
- // Returns the raw data for an image resource with a scale factor as close as
- // is available to |scale_factor|. This resource must have been specified as
- // BINDATA in the relevant .rc file.
- virtual base::StringPiece GetImageResource(int resource_id,
- float scale_factor) = 0;
+ virtual base::StringPiece GetDataResource(int resource_id,
+ ui::ScaleFactor scale_factor) = 0;
// Returns the list of plugins.
virtual void GetPlugins(bool refresh,

Powered by Google App Engine
This is Rietveld 408576698