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

Unified Diff: ui/views/controls/menu/menu_controller_delegate.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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
« no previous file with comments | « ui/views/controls/menu/menu_controller.cc ('k') | ui/views/controls/menu/menu_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/menu/menu_controller_delegate.h
diff --git a/ui/views/controls/menu/menu_controller_delegate.h b/ui/views/controls/menu/menu_controller_delegate.h
deleted file mode 100644
index 6472aea0b2022ccc934f48adfe406e7303ec853e..0000000000000000000000000000000000000000
--- a/ui/views/controls/menu/menu_controller_delegate.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright (c) 2011 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 UI_VIEWS_CONTROLS_MENU_MENU_CONTROLLER_DELEGATE_H_
-#define UI_VIEWS_CONTROLS_MENU_MENU_CONTROLLER_DELEGATE_H_
-
-namespace views {
-
-class MenuItemView;
-
-// This is internal as there should be no need for usage of this class outside
-// of views.
-namespace internal {
-
-// Used by MenuController to notify of interesting events that are intended for
-// the class using MenuController. This is implemented by MenuRunnerImpl.
-class MenuControllerDelegate {
- public:
- enum NotifyType {
- NOTIFY_DELEGATE,
- DONT_NOTIFY_DELEGATE
- };
-
- // Invoked when MenuController closes a menu and the MenuController was
- // configured for drop (MenuRunner::FOR_DROP).
- virtual void DropMenuClosed(NotifyType type, MenuItemView* menu) = 0;
-
- // Invoked when the MenuDelegate::GetSiblingMenu() returns non-NULL.
- virtual void SiblingMenuCreated(MenuItemView* menu) = 0;
-
- protected:
- virtual ~MenuControllerDelegate() {}
-};
-
-} // namespace internal
-
-} // namespace view
-
-#endif // UI_VIEWS_CONTROLS_MENU_MENU_CONTROLLER_DELEGATE_H_
« no previous file with comments | « ui/views/controls/menu/menu_controller.cc ('k') | ui/views/controls/menu/menu_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698