Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1206)

Unified Diff: chrome/renderer/extensions/page_actions_custom_bindings.h

Issue 9657026: Revert 125801 - Implement a module system for the extension bindings JS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/extensions/page_actions_custom_bindings.h
===================================================================
--- chrome/renderer/extensions/page_actions_custom_bindings.h (revision 125813)
+++ chrome/renderer/extensions/page_actions_custom_bindings.h (working copy)
@@ -15,8 +15,14 @@
// Implements custom bindings for the pageActions API.
class PageActionsCustomBindings : public ChromeV8Extension {
public:
- explicit PageActionsCustomBindings(ExtensionDispatcher* extension_dispatcher);
+ PageActionsCustomBindings(
+ int dependency_count,
+ const char** dependencies,
+ ExtensionDispatcher* extension_dispatcher);
+ virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction(
+ v8::Handle<v8::String> name) OVERRIDE;
+
private:
static v8::Handle<v8::Value> GetCurrentPageActions(const v8::Arguments& args);
};
« no previous file with comments | « chrome/renderer/extensions/miscellaneous_bindings.cc ('k') | chrome/renderer/extensions/page_actions_custom_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698