Chromium Code Reviews| 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, |