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

Unified Diff: chrome/renderer/extensions/chrome_v8_extension_handler.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/chrome_v8_extension_handler.h
===================================================================
--- chrome/renderer/extensions/chrome_v8_extension_handler.h (revision 125813)
+++ chrome/renderer/extensions/chrome_v8_extension_handler.h (working copy)
@@ -15,10 +15,11 @@
class ChromeV8Context;
// Base class for context-scoped handlers used with ChromeV8Extension.
-// TODO(koz): Rename/refactor this somehow. Maybe just pull it into
-// ChromeV8Extension.
class ChromeV8ExtensionHandler : public IPC::Channel::Listener {
public:
+ virtual v8::Handle<v8::Value> HandleNativeFunction(
+ const std::string& name,
+ const v8::Arguments& arguments) = 0;
virtual ~ChromeV8ExtensionHandler();
// IPC::Channel::Listener
« no previous file with comments | « chrome/renderer/extensions/chrome_v8_extension.cc ('k') | chrome/renderer/extensions/context_menus_custom_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698