Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1208)

Side by Side Diff: ui/compositor/reflector.h

Issue 45963003: Move test-only ContextFactory implementations out of production targets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert bad ui/base changes Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/compositor/layer_unittest.cc ('k') | ui/compositor/test/context_factories_for_test.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/memory/ref_counted.h"
9 9
10 namespace ui { 10 namespace ui {
11 11
12 class COMPOSITOR_EXPORT Reflector 12 class Reflector : public base::RefCountedThreadSafe<Reflector> {
piman 2013/10/30 04:47:10 Really? It's used outside of compositor/ (in parti
13 : public base::RefCountedThreadSafe<Reflector> {
14 public: 13 public:
15 Reflector() {} 14 Reflector() {}
16 15
17 virtual void OnMirroringCompositorResized() {} 16 virtual void OnMirroringCompositorResized() {}
18 17
19 protected: 18 protected:
20 friend class base::RefCountedThreadSafe<Reflector>; 19 friend class base::RefCountedThreadSafe<Reflector>;
21 virtual ~Reflector() {} 20 virtual ~Reflector() {}
22 21
23 DISALLOW_COPY_AND_ASSIGN(Reflector); 22 DISALLOW_COPY_AND_ASSIGN(Reflector);
24 }; 23 };
25 24
26 } // namespace ui 25 } // namespace ui
27 26
28 #endif // UI_COMPOSITOR_REFLECTOR_H_ 27 #endif // UI_COMPOSITOR_REFLECTOR_H_
OLDNEW
« no previous file with comments | « ui/compositor/layer_unittest.cc ('k') | ui/compositor/test/context_factories_for_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698