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

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

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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
« no previous file with comments | « ui/views/controls/menu/menu_message_loop.h ('k') | ui/views/controls/menu/menu_runner.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_MESSAGE_LOOP_AURA_H_ 5 #ifndef UI_VIEWS_CONTROLS_MENU_MENU_MESSAGE_LOOP_AURA_H_
6 #define UI_VIEWS_CONTROLS_MENU_MENU_MESSAGE_LOOP_AURA_H_ 6 #define UI_VIEWS_CONTROLS_MENU_MENU_MESSAGE_LOOP_AURA_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "ui/views/controls/menu/menu_message_loop.h" 13 #include "ui/views/controls/menu/menu_message_loop.h"
14 14
15 namespace ui {
16 class ScopedEventDispatcher;
17 }
18
19 namespace views { 15 namespace views {
20 16
21 class MenuMessageLoopAura : public MenuMessageLoop { 17 class MenuMessageLoopAura : public MenuMessageLoop {
22 public: 18 public:
23 MenuMessageLoopAura(); 19 MenuMessageLoopAura();
24 ~MenuMessageLoopAura() override; 20 ~MenuMessageLoopAura() override;
25 21
26 // MenuMessageLoop: 22 // MenuMessageLoop:
27 void Run() override; 23 void Run() override;
28 void QuitNow() override; 24 void QuitNow() override;
29 25
30 private: 26 private:
31 base::Closure message_loop_quit_; 27 base::Closure message_loop_quit_;
32 28
33 DISALLOW_COPY_AND_ASSIGN(MenuMessageLoopAura); 29 DISALLOW_COPY_AND_ASSIGN(MenuMessageLoopAura);
34 }; 30 };
35 31
36 } // namespace views 32 } // namespace views
37 33
38 #endif // UI_VIEWS_CONTROLS_MENU_MENU_MESSAGE_LOOP_AURA_H_ 34 #endif // UI_VIEWS_CONTROLS_MENU_MENU_MESSAGE_LOOP_AURA_H_
OLDNEW
« no previous file with comments | « ui/views/controls/menu/menu_message_loop.h ('k') | ui/views/controls/menu/menu_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698