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

Side by Side Diff: chrome/browser/renderer_context_menu/render_view_context_menu_test_util.cc

Issue 178193005: Move render_view_context_menu.* related files out of tab_contents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: context_menu->renderer_context_menu for disambiguation Created 6 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/tab_contents/render_view_context_menu_test_util.h" 5 #include "chrome/browser/renderer_context_menu/render_view_context_menu_test_uti l.h"
6 6
7 TestRenderViewContextMenu::TestRenderViewContextMenu( 7 TestRenderViewContextMenu::TestRenderViewContextMenu(
8 content::RenderFrameHost* render_frame_host, 8 content::RenderFrameHost* render_frame_host,
9 content::ContextMenuParams params) 9 content::ContextMenuParams params)
10 : RenderViewContextMenu(render_frame_host, params) {} 10 : RenderViewContextMenu(render_frame_host, params) {}
11 11
12 TestRenderViewContextMenu::~TestRenderViewContextMenu() {} 12 TestRenderViewContextMenu::~TestRenderViewContextMenu() {}
13 13
14 void TestRenderViewContextMenu::PlatformInit() {} 14 void TestRenderViewContextMenu::PlatformInit() {}
15 15
16 void TestRenderViewContextMenu::PlatformCancel() {} 16 void TestRenderViewContextMenu::PlatformCancel() {}
17 17
18 bool TestRenderViewContextMenu::GetAcceleratorForCommandId( 18 bool TestRenderViewContextMenu::GetAcceleratorForCommandId(
19 int command_id, 19 int command_id,
20 ui::Accelerator* accelerator) { 20 ui::Accelerator* accelerator) {
21 return false; 21 return false;
22 } 22 }
23 23
24 bool TestRenderViewContextMenu::IsItemPresent(int command_id) { 24 bool TestRenderViewContextMenu::IsItemPresent(int command_id) {
25 return menu_model_.GetIndexOfCommandId(command_id) != -1; 25 return menu_model_.GetIndexOfCommandId(command_id) != -1;
26 } 26 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698