| 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..c0fc272c908b11e855450d3bed0fe46e06bc288a 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
|
| @@ -41,11 +41,16 @@ class TestRenderViewContextMenu : public RenderViewContextMenu {
|
| bool GetAcceleratorForCommandId(int command_id,
|
| ui::Accelerator* accelerator) override;
|
|
|
| - // Returns true if command specified by |command_id| is present
|
| + // Returns true if the command specified by |command_id| is present
|
| // in the menu.
|
| - // List of command ids can be found in chrome/app/chrome_command_ids.h.
|
| + // A list of command ids can be found in chrome/app/chrome_command_ids.h.
|
| bool IsItemPresent(int command_id);
|
|
|
| + // Returns true if a command specified by any command id between
|
| + // |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.
|
|
|