Index: content/public/common/content_client.h |
diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h |
index 137164130de81914bfa0b9b2509f24682f928a26..61ad9b986969df96ae8fe1c8736fe78eda90b54a 100644 |
--- a/content/public/common/content_client.h |
+++ b/content/public/common/content_client.h |
@@ -117,6 +117,11 @@ class CONTENT_EXPORT ContentClient { |
// Return the contents of a resource in a StringPiece given the resource id. |
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. |
virtual bool SandboxPlugin(CommandLine* command_line, |