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_DELEGATE_H_ | 5 #ifndef SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_DELEGATE_H_ |
6 #define SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_DELEGATE_H_ | 6 #define SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_DELEGATE_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "mojo/public/cpp/bindings/string.h" | 9 #include "mojo/public/cpp/bindings/string.h" |
10 #include "mojo/public/interfaces/application/service_provider.mojom.h" | 10 #include "mojo/public/interfaces/application/service_provider.mojom.h" |
11 #include "mojo/services/view_manager/public/cpp/view_manager_delegate.h" | 11 #include "mojo/services/view_manager/cpp/view_manager_delegate.h" |
12 | 12 |
13 namespace mojo { | 13 namespace mojo { |
14 class ApplicationConnection; | 14 class ApplicationConnection; |
15 } | 15 } |
16 | 16 |
17 namespace window_manager { | 17 namespace window_manager { |
18 | 18 |
19 class WindowManagerRoot; | 19 class WindowManagerRoot; |
20 | 20 |
21 class WindowManagerDelegate { | 21 class WindowManagerDelegate { |
(...skipping 23 matching lines...) Loading... |
45 // to remain valid for the entire lifetime of the created | 45 // to remain valid for the entire lifetime of the created |
46 // WindowManagerController. | 46 // WindowManagerController. |
47 virtual scoped_ptr<WindowManagerController> CreateWindowManagerController( | 47 virtual scoped_ptr<WindowManagerController> CreateWindowManagerController( |
48 mojo::ApplicationConnection* connection, | 48 mojo::ApplicationConnection* connection, |
49 WindowManagerRoot* wm_root_) = 0; | 49 WindowManagerRoot* wm_root_) = 0; |
50 }; | 50 }; |
51 | 51 |
52 } // namespace mojo | 52 } // namespace mojo |
53 | 53 |
54 #endif // SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_DELEGATE_H_ | 54 #endif // SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_DELEGATE_H_ |
OLD | NEW |