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

Side by Side Diff: ash/wm/toplevel_window_event_handler.h

Issue 2526333002: ash: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase Created 4 years 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 | « ash/wm/stacking_controller.h ('k') | ash/wm/window_properties.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 (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 ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ 5 #ifndef ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_
6 #define ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ 6 #define ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/common/wm/wm_toplevel_window_event_handler.h" 9 #include "ash/common/wm/wm_toplevel_window_event_handler.h"
10 #include "ash/common/wm/wm_types.h" 10 #include "ash/common/wm/wm_types.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "ui/events/event_handler.h" 13 #include "ui/events/event_handler.h"
14 #include "ui/wm/public/window_move_client.h" 14 #include "ui/wm/public/window_move_client.h"
15 15
16 namespace aura { 16 namespace aura {
17 class Window; 17 class Window;
18 } 18 }
19 19
20 namespace base { 20 namespace base {
21 class RunLoop; 21 class RunLoop;
22 } 22 }
23 23
24 namespace ash { 24 namespace ash {
25 namespace wm { 25 namespace wm {
26 class WmGloblals;
27 } 26 }
28 27
29 class ASH_EXPORT ToplevelWindowEventHandler 28 class ASH_EXPORT ToplevelWindowEventHandler
30 : public ui::EventHandler, 29 : public ui::EventHandler,
31 public aura::client::WindowMoveClient { 30 public aura::client::WindowMoveClient {
32 public: 31 public:
33 explicit ToplevelWindowEventHandler(WmShell* shell); 32 explicit ToplevelWindowEventHandler(WmShell* shell);
34 ~ToplevelWindowEventHandler() override; 33 ~ToplevelWindowEventHandler() override;
35 34
36 // Overridden from ui::EventHandler: 35 // Overridden from ui::EventHandler:
(...skipping 21 matching lines...) Expand all
58 bool in_move_loop_ = false; 57 bool in_move_loop_ = false;
59 58
60 base::WeakPtrFactory<ToplevelWindowEventHandler> weak_factory_; 59 base::WeakPtrFactory<ToplevelWindowEventHandler> weak_factory_;
61 60
62 DISALLOW_COPY_AND_ASSIGN(ToplevelWindowEventHandler); 61 DISALLOW_COPY_AND_ASSIGN(ToplevelWindowEventHandler);
63 }; 62 };
64 63
65 } // namespace ash 64 } // namespace ash
66 65
67 #endif // ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ 66 #endif // ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_
OLDNEW
« no previous file with comments | « ash/wm/stacking_controller.h ('k') | ash/wm/window_properties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698