Index: content/public/common/content_client.h |
diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h |
index 4573edf02b729c84ee5aee2a14c6e14595bbee5d..b72f43becb3ecc49893d2bb31fff4301101e0d2e 100644 |
--- a/content/public/common/content_client.h |
+++ b/content/public/common/content_client.h |
@@ -23,6 +23,10 @@ namespace IPC { |
class Message; |
} |
+namespace gfx { |
+class Image; |
+} |
+ |
namespace sandbox { |
class TargetPolicy; |
} |
@@ -116,6 +120,9 @@ class CONTENT_EXPORT ContentClient { |
int resource_id, |
ui::ScaleFactor scale_factor) const; |
+ // Returns a native image given its id. |
+ virtual gfx::Image& GetNativeImageNamed(int resource_id) const; |
+ |
#if defined(OS_WIN) |
// Allows the embedder to sandbox a plugin, and apply a custom policy. |
virtual bool SandboxPlugin(CommandLine* command_line, |