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/browser/extensions/menu_manager.h

Issue 1772513002: Add frameId to contextMenus.onClicked / onclick. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/browser/extensions/menu_manager.h
diff --git a/chrome/browser/extensions/menu_manager.h b/chrome/browser/extensions/menu_manager.h
index 7386d9ab57a435cdee99b6644466225f00ffde8a..0e9bf8f05ee5f839a7487567578c065c45731519 100644
--- a/chrome/browser/extensions/menu_manager.h
+++ b/chrome/browser/extensions/menu_manager.h
@@ -32,6 +32,7 @@ class SkBitmap;
namespace content {
class BrowserContext;
+class RenderFrameHost;
class WebContents;
struct ContextMenuParams;
}
@@ -340,6 +341,7 @@ class MenuManager : public content::NotificationObserver,
// Called when a menu item is clicked on by the user.
void ExecuteCommand(content::BrowserContext* context,
content::WebContents* web_contents,
+ content::RenderFrameHost* render_frame_host,
const content::ContextMenuParams& params,
const MenuItem::Id& menu_item_id);

Powered by Google App Engine
This is Rietveld 408576698