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

Unified Diff: chrome/browser/renderer_context_menu/render_view_context_menu_browsertest_util.h

Issue 296153008: Testing contextmenu attribute which enables webpage to add custom menu items to the platform contex… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
Index: chrome/browser/renderer_context_menu/render_view_context_menu_browsertest_util.h
diff --git a/chrome/browser/renderer_context_menu/render_view_context_menu_browsertest_util.h b/chrome/browser/renderer_context_menu/render_view_context_menu_browsertest_util.h
index cb581748c5b1884161608e7fbeeb38b77af93b51..a2f41b6fbcc8bcdff83a1fe233bfea9c774779d9 100644
--- a/chrome/browser/renderer_context_menu/render_view_context_menu_browsertest_util.h
+++ b/chrome/browser/renderer_context_menu/render_view_context_menu_browsertest_util.h
@@ -16,6 +16,7 @@ class ContextMenuNotificationObserver : public content::NotificationObserver {
// Wait for a context menu to be shown, and then execute |command_to_execute|.
explicit ContextMenuNotificationObserver(int command_to_execute);
virtual ~ContextMenuNotificationObserver();
+ void setCommandId(int id) { command_to_execute_ = id; }
lazyboy 2014/05/24 15:26:31 SetCommandId, or OverrideCommandId
private:
virtual void Observe(int type,

Powered by Google App Engine
This is Rietveld 408576698