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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h
index a3294e7..03788bc 100644
--- a/content/public/common/content_client.h
+++ b/content/public/common/content_client.h
@@ -18,6 +18,10 @@
class CommandLine;
class GURL;
+namespace base {
+class RefCountedStaticMemory;
+}
+
namespace IPC {
class Message;
}
@@ -123,6 +127,10 @@ class CONTENT_EXPORT ContentClient {
int resource_id,
ui::ScaleFactor scale_factor) const;
+ // Returns the raw bytes of a scale independent data resource.
+ virtual base::RefCountedStaticMemory* GetDataResourceBytes(
+ int resource_id) const;
+
// Returns a native image given its id.
virtual gfx::Image& GetNativeImageNamed(int resource_id) const;