summaryrefslogtreecommitdiffstats
path: root/content/public/common/content_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/public/common/content_client.h')
-rw-r--r--content/public/common/content_client.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h
index 1190328..61ad9b9 100644
--- a/content/public/common/content_client.h
+++ b/content/public/common/content_client.h
@@ -14,7 +14,6 @@
#include "base/string_piece.h"
#include "build/build_config.h"
#include "content/common/content_export.h"
-#include "ui/base/layout.h"
class CommandLine;
class GURL;
@@ -116,9 +115,12 @@ class CONTENT_EXPORT ContentClient {
virtual string16 GetLocalizedString(int message_id) const = 0;
// Return the contents of a resource in a StringPiece given the resource id.
- virtual base::StringPiece GetDataResource(
- int resource_id,
- ui::ScaleFactor scale_factor) const = 0;
+ virtual base::StringPiece GetDataResource(int resource_id) const = 0;
+
+ // Return the contents of an image resource in a StringPiece given the
+ // resource id.
+ virtual base::StringPiece GetImageResource(int resource_id,
+ float scale_factor) const = 0;
#if defined(OS_WIN)
// Allows the embedder to sandbox a plugin, and apply a custom policy.