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

Unified Diff: chrome/renderer/extensions/dispatcher.cc

Issue 238743002: Merge ExtensionImpl into EventBindings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 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
« no previous file with comments | « no previous file | extensions/renderer/event_bindings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/dispatcher.cc
diff --git a/chrome/renderer/extensions/dispatcher.cc b/chrome/renderer/extensions/dispatcher.cc
index 38f4756006aa0818b60c4912263fe232e31f56b0..13e30a86d07748e8e481d4f988bee735db58cd1c 100644
--- a/chrome/renderer/extensions/dispatcher.cc
+++ b/chrome/renderer/extensions/dispatcher.cc
@@ -890,8 +890,9 @@ void Dispatcher::RegisterBinding(const std::string& api_name,
// NOTE: please use the naming convention "foo_natives" for these.
void Dispatcher::RegisterNativeHandlers(ModuleSystem* module_system,
ChromeV8Context* context) {
- module_system->RegisterNativeHandler("event_natives",
- scoped_ptr<NativeHandler>(EventBindings::Create(this, context)));
+ module_system->RegisterNativeHandler(
+ "event_natives",
+ scoped_ptr<NativeHandler>(new EventBindings(this, context)));
module_system->RegisterNativeHandler("messaging_natives",
scoped_ptr<NativeHandler>(MessagingBindings::Get(this, context)));
module_system->RegisterNativeHandler("apiDefinitions",
« no previous file with comments | « no previous file | extensions/renderer/event_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698