OLD | NEW |
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 EXAMPLES_WM_FLOW_WM_FRAME_CONTROLLER_H_ | 5 #ifndef EXAMPLES_WM_FLOW_WM_FRAME_CONTROLLER_H_ |
6 #define EXAMPLES_WM_FLOW_WM_FRAME_CONTROLLER_H_ | 6 #define EXAMPLES_WM_FLOW_WM_FRAME_CONTROLLER_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "mojo/services/public/cpp/view_manager/view_observer.h" | 9 #include "mojo/services/view_manager/public/cpp/view_observer.h" |
10 #include "services/window_manager/focus_controller.h" | 10 #include "services/window_manager/focus_controller.h" |
11 #include "ui/gfx/geometry/rect.h" | 11 #include "ui/gfx/geometry/rect.h" |
12 | 12 |
13 namespace mojo { | 13 namespace mojo { |
14 class NativeWidgetViewManager; | 14 class NativeWidgetViewManager; |
15 class Shell; | 15 class Shell; |
16 class View; | 16 class View; |
17 } | 17 } |
18 | 18 |
19 namespace views { | 19 namespace views { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 views::Widget* widget_; | 55 views::Widget* widget_; |
56 bool maximized_; | 56 bool maximized_; |
57 gfx::Rect restored_bounds_; | 57 gfx::Rect restored_bounds_; |
58 window_manager::WindowManagerApp* window_manager_app_; | 58 window_manager::WindowManagerApp* window_manager_app_; |
59 scoped_ptr<FrameEventHandler> frame_event_handler_; | 59 scoped_ptr<FrameEventHandler> frame_event_handler_; |
60 | 60 |
61 DISALLOW_COPY_AND_ASSIGN(FrameController); | 61 DISALLOW_COPY_AND_ASSIGN(FrameController); |
62 }; | 62 }; |
63 | 63 |
64 #endif // EXAMPLES_WM_FLOW_WM_FRAME_CONTROLLER_H_ | 64 #endif // EXAMPLES_WM_FLOW_WM_FRAME_CONTROLLER_H_ |
OLD | NEW |