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

Unified Diff: chrome/browser/tab_contents/render_view_context_menu_browsertest_util.h

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_browsertest_util.h
diff --git a/chrome/browser/tab_contents/render_view_context_menu_browsertest_util.h b/chrome/browser/tab_contents/render_view_context_menu_browsertest_util.h
deleted file mode 100644
index b80e65a9623e65c325da22764c611882da0560e7..0000000000000000000000000000000000000000
--- a/chrome/browser/tab_contents/render_view_context_menu_browsertest_util.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) 2012 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.
-
-#ifndef CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_BROWSERTEST_UTIL_H_
-#define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_BROWSERTEST_UTIL_H_
-
-#include "base/basictypes.h"
-#include "content/public/browser/notification_observer.h"
-#include "content/public/browser/notification_registrar.h"
-
-class RenderViewContextMenu;
-
-class ContextMenuNotificationObserver : public content::NotificationObserver {
- public:
- // Wait for a context menu to be shown, and then execute |command_to_execute|.
- explicit ContextMenuNotificationObserver(int command_to_execute);
- virtual ~ContextMenuNotificationObserver();
-
- private:
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) OVERRIDE;
-
- void ExecuteCommand(RenderViewContextMenu* context_menu);
-
- content::NotificationRegistrar registrar_;
- int command_to_execute_;
-
- DISALLOW_COPY_AND_ASSIGN(ContextMenuNotificationObserver);
-};
-
-#endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_BROWSERTEST_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698