Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/browser/tab_contents/render_view_context_menu_test_util.h" | |
| 6 | |
| 7 TestRenderViewContextMenu::TestRenderViewContextMenu( | |
| 8 content::WebContents* web_contents, content::ContextMenuParams params) | |
|
sky
2013/01/14 16:03:37
same comment agbout each param on its own line.
rustema
2013/01/15 07:37:40
Done.
| |
| 9 : RenderViewContextMenu(web_contents, params) {} | |
| 10 | |
| 11 TestRenderViewContextMenu::~TestRenderViewContextMenu() {} | |
| 12 | |
| 13 void TestRenderViewContextMenu::PlatformInit() {} | |
| 14 | |
| 15 void TestRenderViewContextMenu::PlatformCancel() {} | |
| 16 | |
| 17 bool TestRenderViewContextMenu::GetAcceleratorForCommandId( | |
| 18 int command_id, ui::Accelerator* accelerator) { | |
|
sky
2013/01/14 16:03:37
each param on its own line here too.
rustema
2013/01/15 07:37:40
Done.
| |
| 19 return false; | |
| 20 } | |
| 21 | |
| 22 bool TestRenderViewContextMenu::IsItemPresent(int command_id) { | |
| 23 return menu_model_.GetIndexOfCommandId(command_id) != -1; | |
| 24 } | |
| OLD | NEW |