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_ROOT_VIEW_MANAGER_DELEGATE_H_ |
6 #define MOJO_SERVICES_VIEW_MANAGER_ROOT_VIEW_MANAGER_DELEGATE_H_ | 6 #define MOJO_SERVICES_VIEW_MANAGER_ROOT_VIEW_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 view_manager { | |
12 namespace service { | 11 namespace service { |
13 | 12 |
14 class MOJO_VIEW_MANAGER_EXPORT RootViewManagerDelegate { | 13 class MOJO_VIEW_MANAGER_EXPORT RootViewManagerDelegate { |
15 public: | 14 public: |
16 // Invoked when the WindowTreeHost is ready. | 15 // Invoked when the WindowTreeHost is ready. |
17 virtual void OnRootViewManagerWindowTreeHostCreated() = 0; | 16 virtual void OnRootViewManagerWindowTreeHostCreated() = 0; |
18 | 17 |
19 protected: | 18 protected: |
20 virtual ~RootViewManagerDelegate() {} | 19 virtual ~RootViewManagerDelegate() {} |
21 }; | 20 }; |
22 | 21 |
23 } // namespace service | 22 } // namespace service |
24 } // namespace view_manager | |
25 } // namespace mojo | 23 } // namespace mojo |
26 | 24 |
27 #endif // MOJO_SERVICES_VIEW_MANAGER_ROOT_VIEW_MANAGER_H_ | 25 #endif // MOJO_SERVICES_VIEW_MANAGER_ROOT_VIEW_MANAGER_H_ |
OLD | NEW |