[email protected] | bc90af6b | 2013-07-29 20:32:39 | [diff] [blame] | 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 | ||||
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #ifndef UI_COMPOSITOR_REFLECTOR_H_ | ||||
6 | #define UI_COMPOSITOR_REFLECTOR_H_ | ||||
7 | |||||
achaulk | 01137b8 | 2015-01-30 01:03:05 | [diff] [blame] | 8 | #include "ui/compositor/compositor_export.h" |
[email protected] | bc90af6b | 2013-07-29 20:32:39 | [diff] [blame] | 9 | |
10 | namespace ui { | ||||
oshima | 6ef5787 | 2015-04-28 23:09:48 | [diff] [blame] | 11 | class Layer; |
[email protected] | bc90af6b | 2013-07-29 20:32:39 | [diff] [blame] | 12 | |
danakj | b581429 | 2015-02-26 21:58:39 | [diff] [blame] | 13 | class COMPOSITOR_EXPORT Reflector { |
[email protected] | bc90af6b | 2013-07-29 20:32:39 | [diff] [blame] | 14 | public: |
achaulk | 01137b8 | 2015-01-30 01:03:05 | [diff] [blame] | 15 | virtual ~Reflector(); |
danakj | b581429 | 2015-02-26 21:58:39 | [diff] [blame] | 16 | virtual void OnMirroringCompositorResized() = 0; |
oshima | 6ef5787 | 2015-04-28 23:09:48 | [diff] [blame] | 17 | virtual void AddMirroringLayer(Layer* layer) = 0; |
18 | virtual void RemoveMirroringLayer(Layer* layer) = 0; | ||||
[email protected] | bc90af6b | 2013-07-29 20:32:39 | [diff] [blame] | 19 | }; |
20 | |||||
21 | } // namespace ui | ||||
22 | |||||
23 | #endif // UI_COMPOSITOR_REFLECTOR_H_ |