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

Side by Side Diff: ui/views/controls/menu/menu_controller.h

Issue 1625313002: Remove MenuMessagePumpDispatcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replaced typedef with using Created 4 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef UI_VIEWS_CONTROLS_MENU_MENU_CONTROLLER_H_ 5 #ifndef UI_VIEWS_CONTROLS_MENU_MENU_CONTROLLER_H_
6 #define UI_VIEWS_CONTROLS_MENU_MENU_CONTROLLER_H_ 6 #define UI_VIEWS_CONTROLS_MENU_MENU_CONTROLLER_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 class MenuHostRootView; 42 class MenuHostRootView;
43 class MenuItemView; 43 class MenuItemView;
44 class MenuMessageLoop; 44 class MenuMessageLoop;
45 class MouseEvent; 45 class MouseEvent;
46 class SubmenuView; 46 class SubmenuView;
47 class View; 47 class View;
48 48
49 namespace internal { 49 namespace internal {
50 class MenuControllerDelegate; 50 class MenuControllerDelegate;
51 class MenuEventDispatcher; 51 class MenuEventDispatcher;
52 class MenuMessagePumpDispatcher;
53 class MenuRunnerImpl; 52 class MenuRunnerImpl;
54 } 53 }
55 54
56 namespace test { 55 namespace test {
57 class MenuControllerTest; 56 class MenuControllerTest;
58 } 57 }
59 58
60 // MenuController ------------------------------------------------------------- 59 // MenuController -------------------------------------------------------------
61 60
62 // MenuController is used internally by the various menu classes to manage 61 // MenuController is used internally by the various menu classes to manage
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 void OnWidgetDestroying(Widget* widget) override; 192 void OnWidgetDestroying(Widget* widget) override;
194 193
195 // Only used for testing. 194 // Only used for testing.
196 bool IsCancelAllTimerRunningForTest(); 195 bool IsCancelAllTimerRunningForTest();
197 196
198 // Only used for testing. 197 // Only used for testing.
199 static void TurnOffMenuSelectionHoldForTest(); 198 static void TurnOffMenuSelectionHoldForTest();
200 199
201 private: 200 private:
202 friend class internal::MenuEventDispatcher; 201 friend class internal::MenuEventDispatcher;
203 friend class internal::MenuMessagePumpDispatcher;
204 friend class internal::MenuRunnerImpl; 202 friend class internal::MenuRunnerImpl;
205 friend class test::MenuControllerTest; 203 friend class test::MenuControllerTest;
206 friend class MenuKeyEventHandler; 204 friend class MenuKeyEventHandler;
207 friend class MenuHostRootView; 205 friend class MenuHostRootView;
208 friend class MenuItemView; 206 friend class MenuItemView;
209 friend class SubmenuView; 207 friend class SubmenuView;
210 208
211 class MenuScrollTask; 209 class MenuScrollTask;
212 210
213 struct SelectByCharDetails; 211 struct SelectByCharDetails;
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 int current_mouse_pressed_state_; 701 int current_mouse_pressed_state_;
704 702
705 scoped_ptr<MenuMessageLoop> message_loop_; 703 scoped_ptr<MenuMessageLoop> message_loop_;
706 704
707 DISALLOW_COPY_AND_ASSIGN(MenuController); 705 DISALLOW_COPY_AND_ASSIGN(MenuController);
708 }; 706 };
709 707
710 } // namespace views 708 } // namespace views
711 709
712 #endif // UI_VIEWS_CONTROLS_MENU_MENU_CONTROLLER_H_ 710 #endif // UI_VIEWS_CONTROLS_MENU_MENU_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ('k') | ui/views/controls/menu/menu_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698