| OLD | NEW |
| 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_COMMON_WM_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ | 5 #ifndef ASH_COMMON_WM_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ |
| 6 #define ASH_COMMON_WM_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ | 6 #define ASH_COMMON_WM_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| 11 #include "ash/common/wm/wm_types.h" | 11 #include "ash/common/wm/wm_types.h" |
| 12 #include "ash/common/wm_display_observer.h" | 12 #include "ash/common/wm_display_observer.h" |
| 13 #include "base/callback.h" | 13 #include "base/callback.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "ui/gfx/geometry/rect.h" | 15 #include "ui/gfx/geometry/rect.h" |
| 16 #include "ui/wm/public/window_move_client.h" | 16 #include "ui/wm/public/window_move_client.h" |
| 17 | 17 |
| 18 namespace ui { | 18 namespace ui { |
| 19 class KeyEvent; | 19 class KeyEvent; |
| 20 class LocatedEvent; | 20 class LocatedEvent; |
| 21 class MouseEvent; | 21 class MouseEvent; |
| 22 class GestureEvent; | 22 class GestureEvent; |
| 23 } | 23 } |
| 24 | 24 |
| 25 namespace ash { | 25 namespace ash { |
| 26 | 26 |
| 27 class WindowResizer; | |
| 28 class WmShell; | 27 class WmShell; |
| 29 class WmWindow; | 28 class WmWindow; |
| 30 | 29 |
| 31 namespace wm { | 30 namespace wm { |
| 32 | 31 |
| 33 // WmToplevelWindowEventHandler handles dragging and resizing of top level | 32 // WmToplevelWindowEventHandler handles dragging and resizing of top level |
| 34 // windows. WmToplevelWindowEventHandler is forwarded events, such as from an | 33 // windows. WmToplevelWindowEventHandler is forwarded events, such as from an |
| 35 // EventHandler. | 34 // EventHandler. |
| 36 class ASH_EXPORT WmToplevelWindowEventHandler : public WmDisplayObserver { | 35 class ASH_EXPORT WmToplevelWindowEventHandler : public WmDisplayObserver { |
| 37 public: | 36 public: |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 | 119 |
| 121 EndClosure end_closure_; | 120 EndClosure end_closure_; |
| 122 | 121 |
| 123 DISALLOW_COPY_AND_ASSIGN(WmToplevelWindowEventHandler); | 122 DISALLOW_COPY_AND_ASSIGN(WmToplevelWindowEventHandler); |
| 124 }; | 123 }; |
| 125 | 124 |
| 126 } // namespace wm | 125 } // namespace wm |
| 127 } // namespace ash | 126 } // namespace ash |
| 128 | 127 |
| 129 #endif // ASH_COMMON_WM_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ | 128 #endif // ASH_COMMON_WM_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ |
| OLD | NEW |