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 SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_APP_H_ | 5 #ifndef SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_APP_H_ |
6 #define SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_APP_H_ | 6 #define SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_APP_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "mojo/public/cpp/application/application_connection.h" | 9 #include "mojo/public/cpp/application/application_connection.h" |
10 #include "mojo/public/cpp/application/application_delegate.h" | 10 #include "mojo/public/cpp/application/application_delegate.h" |
11 #include "mojo/public/cpp/application/application_impl.h" | 11 #include "mojo/public/cpp/application/application_impl.h" |
12 #include "mojo/services/window_manager/public/interfaces/window_manager.mojom.h" | 12 #include "mojo/services/window_manager/interfaces/window_manager.mojom.h" |
13 #include "services/window_manager/window_manager_delegate.h" | 13 #include "services/window_manager/window_manager_delegate.h" |
14 | 14 |
15 namespace window_manager { | 15 namespace window_manager { |
16 | 16 |
17 // Implements core window manager functionality that could conceivably be shared | 17 // Implements core window manager functionality that could conceivably be shared |
18 // across multiple window managers implementing superficially different user | 18 // across multiple window managers implementing superficially different user |
19 // experiences. | 19 // experiences. |
20 // A window manager wishing to use this core should create and own an instance | 20 // A window manager wishing to use this core should create and own an instance |
21 // of this object. They may implement the associated ViewManager/WindowManager | 21 // of this object. They may implement the associated ViewManager/WindowManager |
22 // delegate interfaces exposed by the view manager, this object provides the | 22 // delegate interfaces exposed by the view manager, this object provides the |
(...skipping 19 matching lines...) Expand all Loading... |
42 | 42 |
43 mojo::ApplicationImpl* app_impl_; | 43 mojo::ApplicationImpl* app_impl_; |
44 WindowManagerControllerFactory* controller_factory_; | 44 WindowManagerControllerFactory* controller_factory_; |
45 | 45 |
46 DISALLOW_COPY_AND_ASSIGN(WindowManagerApp); | 46 DISALLOW_COPY_AND_ASSIGN(WindowManagerApp); |
47 }; | 47 }; |
48 | 48 |
49 } // namespace window_manager | 49 } // namespace window_manager |
50 | 50 |
51 #endif // SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_APP_H_ | 51 #endif // SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_APP_H_ |
OLD | NEW |