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

Unified Diff: extensions/renderer/context_menus_custom_bindings.cc

Issue 1945433002: [Extensions] Update more bindings and allow for multiple feature access (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Antony's Created 4 years, 7 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 | « extensions/renderer/blob_native_handler.cc ('k') | extensions/renderer/file_system_natives.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/context_menus_custom_bindings.cc
diff --git a/extensions/renderer/context_menus_custom_bindings.cc b/extensions/renderer/context_menus_custom_bindings.cc
index 40f4705ebf3f8036ff77ca87204541dfbc808a83..2773734ab823ae6acc0faa257dd26628fde0d0ed 100644
--- a/extensions/renderer/context_menus_custom_bindings.cc
+++ b/extensions/renderer/context_menus_custom_bindings.cc
@@ -26,7 +26,10 @@ namespace extensions {
ContextMenusCustomBindings::ContextMenusCustomBindings(ScriptContext* context)
: ObjectBackedNativeHandler(context) {
- RouteFunction("GetNextContextMenuId", base::Bind(&GetNextContextMenuId));
+ RouteFunction("GetNextContextMenuId",
+ std::vector<std::string>({"contextMenus",
+ "chromeWebViewInternal"}),
+ base::Bind(&GetNextContextMenuId));
}
} // extensions
« no previous file with comments | « extensions/renderer/blob_native_handler.cc ('k') | extensions/renderer/file_system_natives.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698