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 MOJO_SERVICES_VIEW_MANAGER_ROOT_VIEW_MANAGER_DELEGATE_H_ | 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_DISPLAY_MANAGER_DELEGATE_H_ |
6 #define MOJO_SERVICES_VIEW_MANAGER_ROOT_VIEW_MANAGER_DELEGATE_H_ | 6 #define MOJO_SERVICES_VIEW_MANAGER_DISPLAY_MANAGER_DELEGATE_H_ |
7 | 7 |
8 #include "mojo/services/view_manager/view_manager_export.h" | 8 #include "mojo/services/view_manager/view_manager_export.h" |
9 | 9 |
10 namespace mojo { | 10 namespace mojo { |
11 namespace service { | 11 namespace service { |
12 | 12 |
13 class MOJO_VIEW_MANAGER_EXPORT RootViewManagerDelegate { | 13 class MOJO_VIEW_MANAGER_EXPORT DisplayManagerDelegate { |
14 public: | 14 public: |
15 // Invoked when the WindowTreeHost is ready. | 15 // Invoked when the WindowTreeHost is ready. |
16 virtual void OnRootViewManagerWindowTreeHostCreated() = 0; | 16 virtual void OnDisplayManagerWindowTreeHostCreated() = 0; |
17 | 17 |
18 protected: | 18 protected: |
19 virtual ~RootViewManagerDelegate() {} | 19 virtual ~DisplayManagerDelegate() {} |
20 }; | 20 }; |
21 | 21 |
22 } // namespace service | 22 } // namespace service |
23 } // namespace mojo | 23 } // namespace mojo |
24 | 24 |
25 #endif // MOJO_SERVICES_VIEW_MANAGER_ROOT_VIEW_MANAGER_H_ | 25 #endif // MOJO_SERVICES_VIEW_MANAGER_DISPLAY_MANAGER_DELEGATE_H_ |
OLD | NEW |