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 "examples/wm_flow/wm/window_frame_host.mojom.h" | 9 #include "examples/wm_flow/wm/window_frame_host.mojom.h" |
10 #include "mojo/public/cpp/application/interface_factory.h" | 10 #include "mojo/public/cpp/application/interface_factory.h" |
11 #include "mojo/public/cpp/application/service_provider_impl.h" | 11 #include "mojo/public/cpp/application/service_provider_impl.h" |
12 #include "mojo/services/view_manager/public/cpp/view_observer.h" | 12 #include "mojo/services/view_manager/cpp/view_observer.h" |
13 #include "services/window_manager/focus_controller.h" | 13 #include "services/window_manager/focus_controller.h" |
14 #include "ui/gfx/geometry/rect.h" | 14 #include "ui/gfx/geometry/rect.h" |
15 | 15 |
16 class GURL; | 16 class GURL; |
17 | 17 |
18 namespace mojo { | 18 namespace mojo { |
19 class NativeWidgetViewManager; | 19 class NativeWidgetViewManager; |
20 class View; | 20 class View; |
21 } | 21 } |
22 | 22 |
(...skipping 38 matching lines...) Loading... |
61 gfx::Rect restored_bounds_; | 61 gfx::Rect restored_bounds_; |
62 window_manager::WindowManagerRoot* window_manager_root_; | 62 window_manager::WindowManagerRoot* window_manager_root_; |
63 mojo::ServiceProviderImpl viewer_services_impl_; | 63 mojo::ServiceProviderImpl viewer_services_impl_; |
64 | 64 |
65 mojo::Binding<examples::WindowFrameHost> binding_; | 65 mojo::Binding<examples::WindowFrameHost> binding_; |
66 | 66 |
67 DISALLOW_COPY_AND_ASSIGN(FrameController); | 67 DISALLOW_COPY_AND_ASSIGN(FrameController); |
68 }; | 68 }; |
69 | 69 |
70 #endif // EXAMPLES_WM_FLOW_WM_FRAME_CONTROLLER_H_ | 70 #endif // EXAMPLES_WM_FLOW_WM_FRAME_CONTROLLER_H_ |
OLD | NEW |