diff options
Diffstat (limited to 'chrome/renderer/extensions/set_icon_natives.h')
-rw-r--r-- | chrome/renderer/extensions/set_icon_natives.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/renderer/extensions/set_icon_natives.h b/chrome/renderer/extensions/set_icon_natives.h index b03bcee..7e0352a 100644 --- a/chrome/renderer/extensions/set_icon_natives.h +++ b/chrome/renderer/extensions/set_icon_natives.h @@ -20,7 +20,9 @@ class RequestSender; // Functions exposed to extension JS to implement the setIcon extension API. class SetIconNatives : public ChromeV8Extension { public: - SetIconNatives(Dispatcher* dispatcher, RequestSender* request_sender); + SetIconNatives(Dispatcher* dispatcher, + RequestSender* request_sender, + ChromeV8Context* context); private: bool ConvertImageDataToBitmapValue(const v8::Local<v8::Object> image_data, @@ -28,8 +30,11 @@ class SetIconNatives : public ChromeV8Extension { bool ConvertImageDataSetToBitmapValueSet(const v8::Arguments& args, DictionaryValue* bitmap_value); v8::Handle<v8::Value> SetIconCommon(const v8::Arguments& args); + RequestSender* request_sender_; + ChromeV8Context* context_; + DISALLOW_COPY_AND_ASSIGN(SetIconNatives); }; |