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

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

Issue 11571014: Lazy load chrome.* APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android compilation Created 7 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
« no previous file with comments | « chrome/renderer/extensions/context_menus_custom_bindings.h ('k') | chrome/renderer/extensions/dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/context_menus_custom_bindings.cc
diff --git a/chrome/renderer/extensions/context_menus_custom_bindings.cc b/chrome/renderer/extensions/context_menus_custom_bindings.cc
index 7181a5d6fe507419214e356dd80bf7b6518da7e2..a1746b6193faefa7d7a5e064136b72277746acac 100644
--- a/chrome/renderer/extensions/context_menus_custom_bindings.cc
+++ b/chrome/renderer/extensions/context_menus_custom_bindings.cc
@@ -22,8 +22,9 @@ v8::Handle<v8::Value> GetNextContextMenuId(const v8::Arguments& args) {
namespace extensions {
-ContextMenusCustomBindings::ContextMenusCustomBindings()
- : ChromeV8Extension(NULL) {
+ContextMenusCustomBindings::ContextMenusCustomBindings(
+ Dispatcher* dispatcher, v8::Handle<v8::Context> v8_context)
+ : ChromeV8Extension(dispatcher, v8_context) {
RouteStaticFunction("GetNextContextMenuId", &GetNextContextMenuId);
}
« no previous file with comments | « chrome/renderer/extensions/context_menus_custom_bindings.h ('k') | chrome/renderer/extensions/dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698