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

Unified Diff: chrome/browser/tab_contents/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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/tab_contents/render_view_context_menu_test_util.cc
diff --git a/chrome/browser/tab_contents/render_view_context_menu_test_util.cc b/chrome/browser/tab_contents/render_view_context_menu_test_util.cc
deleted file mode 100644
index ef30316b3dedcc654491b30f594d734055fba5b8..0000000000000000000000000000000000000000
--- a/chrome/browser/tab_contents/render_view_context_menu_test_util.cc
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/tab_contents/render_view_context_menu_test_util.h"
-
-TestRenderViewContextMenu::TestRenderViewContextMenu(
- content::RenderFrameHost* render_frame_host,
- content::ContextMenuParams params)
- : RenderViewContextMenu(render_frame_host, params) {}
-
-TestRenderViewContextMenu::~TestRenderViewContextMenu() {}
-
-void TestRenderViewContextMenu::PlatformInit() {}
-
-void TestRenderViewContextMenu::PlatformCancel() {}
-
-bool TestRenderViewContextMenu::GetAcceleratorForCommandId(
- int command_id,
- ui::Accelerator* accelerator) {
- return false;
-}
-
-bool TestRenderViewContextMenu::IsItemPresent(int command_id) {
- return menu_model_.GetIndexOfCommandId(command_id) != -1;
-}

Powered by Google App Engine
This is Rietveld 408576698