diff options
author | koz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-09 04:36:01 +0000 |
---|---|---|
committer | koz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-09 04:36:01 +0000 |
commit | 7b0c3f536f8ef4c248d03084a7e4ef9747cfc8c0 (patch) | |
tree | cb4afa76ecae3987687d70062aa136801ba93318 /chrome/renderer/extensions/page_capture_custom_bindings.h | |
parent | 1b9ab79cf95ef6956b56c06ba3466f4f14ee3b39 (diff) | |
download | chromium_src-7b0c3f536f8ef4c248d03084a7e4ef9747cfc8c0.zip chromium_src-7b0c3f536f8ef4c248d03084a7e4ef9747cfc8c0.tar.gz chromium_src-7b0c3f536f8ef4c248d03084a7e4ef9747cfc8c0.tar.bz2 |
Implement a module system for the extension bindings JS.
BUG=104100
TEST=existing browser tests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=125132
Review URL: http://codereview.chromium.org/9386001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125801 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/extensions/page_capture_custom_bindings.h')
-rw-r--r-- | chrome/renderer/extensions/page_capture_custom_bindings.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/renderer/extensions/page_capture_custom_bindings.h b/chrome/renderer/extensions/page_capture_custom_bindings.h index a6ec433..4796e13 100644 --- a/chrome/renderer/extensions/page_capture_custom_bindings.h +++ b/chrome/renderer/extensions/page_capture_custom_bindings.h @@ -13,12 +13,11 @@ namespace extensions { // Implements custom bindings for the pageCapture API. class PageCaptureCustomBindings : public ChromeV8Extension { public: - PageCaptureCustomBindings(int dependency_count, const char** dependencies); - - virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction( - v8::Handle<v8::String> name) OVERRIDE; + PageCaptureCustomBindings(); private: + // Creates a Blob with the content of the specified file. + static v8::Handle<v8::Value> CreateBlob(const v8::Arguments& args); static v8::Handle<v8::Value> SendResponseAck(const v8::Arguments& args); }; |