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