OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_MUS_WS_DISPLAY_MANAGER_DELEGATE_H_ | 5 #ifndef COMPONENTS_MUS_WS_DISPLAY_MANAGER_DELEGATE_H_ |
6 #define COMPONENTS_MUS_WS_DISPLAY_MANAGER_DELEGATE_H_ | 6 #define COMPONENTS_MUS_WS_DISPLAY_MANAGER_DELEGATE_H_ |
7 | 7 |
| 8 #include "cc/surfaces/surface_id.h" |
8 #include "components/mus/public/interfaces/window_tree.mojom.h" | 9 #include "components/mus/public/interfaces/window_tree.mojom.h" |
9 #include "components/mus/ws/ids.h" | 10 #include "components/mus/ws/ids.h" |
10 | 11 |
11 namespace cc { | |
12 struct SurfaceId; | |
13 } | |
14 | |
15 namespace mus { | 12 namespace mus { |
16 | 13 |
17 namespace ws { | 14 namespace ws { |
18 | 15 |
19 class ServerWindow; | 16 class ServerWindow; |
20 | 17 |
21 // A DisplayManagerDelegate an interface to be implemented by an object that | 18 // A DisplayManagerDelegate an interface to be implemented by an object that |
22 // manages the lifetime of a DisplayManager, forwards events to the appropriate | 19 // manages the lifetime of a DisplayManager, forwards events to the appropriate |
23 // windows, and responses to changes in viewport size. | 20 // windows, and responses to changes in viewport size. |
24 class DisplayManagerDelegate { | 21 class DisplayManagerDelegate { |
(...skipping 19 matching lines...) Expand all Loading... |
44 | 41 |
45 protected: | 42 protected: |
46 virtual ~DisplayManagerDelegate() {} | 43 virtual ~DisplayManagerDelegate() {} |
47 }; | 44 }; |
48 | 45 |
49 } // namespace ws | 46 } // namespace ws |
50 | 47 |
51 } // namespace mus | 48 } // namespace mus |
52 | 49 |
53 #endif // COMPONENTS_MUS_WS_DISPLAY_MANAGER_DELEGATE_H_ | 50 #endif // COMPONENTS_MUS_WS_DISPLAY_MANAGER_DELEGATE_H_ |
OLD | NEW |