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

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

Issue 846063002: compositor: Fix texture flipping for SW mirroring with surfaceless (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: replace with custom task runner that does nothing. maybe this will work Created 5 years, 11 months 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
« no previous file with comments | « ui/compositor/layer.cc ('k') | ui/compositor/reflector.cc » ('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 "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "ui/compositor/compositor_export.h"
9 10
10 namespace ui { 11 namespace ui {
11 12
12 class Reflector : public base::RefCountedThreadSafe<Reflector> { 13 class COMPOSITOR_EXPORT Reflector
14 : public base::RefCountedThreadSafe<Reflector> {
13 public: 15 public:
14 Reflector() {} 16 Reflector();
15 17
16 virtual void OnMirroringCompositorResized() {} 18 virtual void OnMirroringCompositorResized();
17 19
18 protected: 20 protected:
19 friend class base::RefCountedThreadSafe<Reflector>; 21 friend class base::RefCountedThreadSafe<Reflector>;
20 virtual ~Reflector() {} 22 virtual ~Reflector();
21 23
22 DISALLOW_COPY_AND_ASSIGN(Reflector); 24 DISALLOW_COPY_AND_ASSIGN(Reflector);
23 }; 25 };
24 26
25 } // namespace ui 27 } // namespace ui
26 28
27 #endif // UI_COMPOSITOR_REFLECTOR_H_ 29 #endif // UI_COMPOSITOR_REFLECTOR_H_
OLDNEW
« no previous file with comments | « ui/compositor/layer.cc ('k') | ui/compositor/reflector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698