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

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

Issue 1191453002: Implement "open link as user" context menu entry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 6 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_test_util.h
diff --git a/chrome/browser/renderer_context_menu/render_view_context_menu_test_util.h b/chrome/browser/renderer_context_menu/render_view_context_menu_test_util.h
index 52cb9049a634f35d06d14599e0b0cd41bbf5dc43..196aa8f23a4335f446e3fba5d750de352c74d810 100644
--- a/chrome/browser/renderer_context_menu/render_view_context_menu_test_util.h
+++ b/chrome/browser/renderer_context_menu/render_view_context_menu_test_util.h
@@ -46,6 +46,11 @@ class TestRenderViewContextMenu : public RenderViewContextMenu {
// List of command ids can be found in chrome/app/chrome_command_ids.h.
Peter Kasting 2015/06/15 23:45:15 Nit: While here: List -> A list
jochen (gone - plz use gerrit) 2015/06/16 08:00:14 done
bool IsItemPresent(int command_id);
+ // Returns true if command specified by any command id between
Peter Kasting 2015/06/15 23:45:15 Nit: command -> a command
jochen (gone - plz use gerrit) 2015/06/16 08:00:14 done
+ // |command_id_first| and |command_id_last| (inclusive) is present in the
+ // menu.
+ bool IsItemInRangePresent(int command_id_first, int command_id_last);
+
// Searches for an menu item with |command_id|. If it's found, the return
// value is true and the model and index where it appears in that model are
// returned in |found_model| and |found_index|. Otherwise returns false.

Powered by Google App Engine
This is Rietveld 408576698