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 "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "ui/compositor/compositor_export.h" | |
10 | 9 |
11 namespace ui { | 10 namespace ui { |
12 | 11 |
13 class COMPOSITOR_EXPORT Reflector | 12 class Reflector : public base::RefCountedThreadSafe<Reflector> { |
14 : public base::RefCountedThreadSafe<Reflector> { | |
15 public: | 13 public: |
16 Reflector(); | 14 Reflector() {} |
17 | 15 |
18 virtual void OnMirroringCompositorResized(); | 16 virtual void OnMirroringCompositorResized() {} |
19 | 17 |
20 protected: | 18 protected: |
21 friend class base::RefCountedThreadSafe<Reflector>; | 19 friend class base::RefCountedThreadSafe<Reflector>; |
22 virtual ~Reflector(); | 20 virtual ~Reflector() {} |
23 | 21 |
24 DISALLOW_COPY_AND_ASSIGN(Reflector); | 22 DISALLOW_COPY_AND_ASSIGN(Reflector); |
25 }; | 23 }; |
26 | 24 |
27 } // namespace ui | 25 } // namespace ui |
28 | 26 |
29 #endif // UI_COMPOSITOR_REFLECTOR_H_ | 27 #endif // UI_COMPOSITOR_REFLECTOR_H_ |
OLD | NEW |