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

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

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 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
« no previous file with comments | « ui/compositor/clip_recorder.h ('k') | ui/compositor/layer.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_COMPOSITOR_H_ 5 #ifndef UI_COMPOSITOR_COMPOSITOR_H_
6 #define UI_COMPOSITOR_COMPOSITOR_H_ 6 #define UI_COMPOSITOR_COMPOSITOR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 15 matching lines...) Expand all
26 #include "ui/compositor/compositor_export.h" 26 #include "ui/compositor/compositor_export.h"
27 #include "ui/compositor/compositor_observer.h" 27 #include "ui/compositor/compositor_observer.h"
28 #include "ui/compositor/layer_animator_collection.h" 28 #include "ui/compositor/layer_animator_collection.h"
29 #include "ui/gfx/color_space.h" 29 #include "ui/gfx/color_space.h"
30 #include "ui/gfx/geometry/size.h" 30 #include "ui/gfx/geometry/size.h"
31 #include "ui/gfx/geometry/vector2d.h" 31 #include "ui/gfx/geometry/vector2d.h"
32 #include "ui/gfx/gpu_memory_buffer.h" 32 #include "ui/gfx/gpu_memory_buffer.h"
33 #include "ui/gfx/native_widget_types.h" 33 #include "ui/gfx/native_widget_types.h"
34 34
35 namespace base { 35 namespace base {
36 class RunLoop;
37 class SingleThreadTaskRunner; 36 class SingleThreadTaskRunner;
38 } 37 }
39 38
40 namespace cc { 39 namespace cc {
41 class AnimationHost; 40 class AnimationHost;
42 class AnimationTimeline; 41 class AnimationTimeline;
43 class ContextProvider; 42 class ContextProvider;
44 class Layer; 43 class Layer;
45 class LayerTreeDebugState; 44 class LayerTreeDebugState;
46 class LayerTreeHost; 45 class LayerTreeHost;
47 class RendererSettings; 46 class RendererSettings;
48 class SurfaceIdAllocator;
49 class SurfaceManager; 47 class SurfaceManager;
50 class TaskGraphRunner; 48 class TaskGraphRunner;
51 } 49 }
52 50
53 namespace gfx { 51 namespace gfx {
54 class Rect; 52 class Rect;
55 class ScrollOffset; 53 class ScrollOffset;
56 class Size; 54 class Size;
57 } 55 }
58 56
59 namespace gpu { 57 namespace gpu {
60 class GpuMemoryBufferManager; 58 class GpuMemoryBufferManager;
61 } 59 }
62 60
63 namespace ui { 61 namespace ui {
64 62
65 class Compositor; 63 class Compositor;
66 class CompositorVSyncManager; 64 class CompositorVSyncManager;
67 class LatencyInfo; 65 class LatencyInfo;
68 class Layer; 66 class Layer;
69 class Reflector; 67 class Reflector;
70 class Texture;
71 68
72 #if defined(USE_AURA) 69 #if defined(USE_AURA)
73 class Window; 70 class Window;
74 #endif 71 #endif
75 72
76 const int kCompositorLockTimeoutMs = 67; 73 const int kCompositorLockTimeoutMs = 67;
77 74
78 class COMPOSITOR_EXPORT ContextFactoryObserver { 75 class COMPOSITOR_EXPORT ContextFactoryObserver {
79 public: 76 public:
80 virtual ~ContextFactoryObserver() {} 77 virtual ~ContextFactoryObserver() {}
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 gfx::ColorSpace color_space_; 429 gfx::ColorSpace color_space_;
433 430
434 base::WeakPtrFactory<Compositor> weak_ptr_factory_; 431 base::WeakPtrFactory<Compositor> weak_ptr_factory_;
435 432
436 DISALLOW_COPY_AND_ASSIGN(Compositor); 433 DISALLOW_COPY_AND_ASSIGN(Compositor);
437 }; 434 };
438 435
439 } // namespace ui 436 } // namespace ui
440 437
441 #endif // UI_COMPOSITOR_COMPOSITOR_H_ 438 #endif // UI_COMPOSITOR_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « ui/compositor/clip_recorder.h ('k') | ui/compositor/layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698