OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 UI_COMPOSITOR_REFLECTOR_H_ | 5 #ifndef UI_COMPOSITOR_REFLECTOR_H_ |
6 #define UI_COMPOSITOR_REFLECTOR_H_ | 6 #define UI_COMPOSITOR_REFLECTOR_H_ |
7 | 7 |
8 #include "ui/compositor/compositor_export.h" | 8 #include "ui/compositor/compositor_export.h" |
9 | 9 |
10 namespace ui { | 10 namespace ui { |
| 11 class Layer; |
11 | 12 |
12 class COMPOSITOR_EXPORT Reflector { | 13 class COMPOSITOR_EXPORT Reflector { |
13 public: | 14 public: |
14 virtual ~Reflector(); | 15 virtual ~Reflector(); |
15 virtual void OnMirroringCompositorResized() = 0; | 16 virtual void OnMirroringCompositorResized() = 0; |
| 17 virtual void AddMirroringLayer(Layer* layer) = 0; |
| 18 virtual void RemoveMirroringLayer(Layer* layer) = 0; |
16 }; | 19 }; |
17 | 20 |
18 } // namespace ui | 21 } // namespace ui |
19 | 22 |
20 #endif // UI_COMPOSITOR_REFLECTOR_H_ | 23 #endif // UI_COMPOSITOR_REFLECTOR_H_ |
OLD | NEW |