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

Side by Side Diff: content/browser/compositor/browser_compositor_output_surface.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CONTENT_BROWSER_COMPOSITOR_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_ 5 #ifndef CONTENT_BROWSER_COMPOSITOR_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_
6 #define CONTENT_BROWSER_COMPOSITOR_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_ 6 #define CONTENT_BROWSER_COMPOSITOR_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/threading/non_thread_safe.h" 9 #include "base/threading/non_thread_safe.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 #include "cc/output/output_surface.h" 11 #include "cc/output/output_surface.h"
12 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 #include "ui/compositor/compositor_vsync_manager.h" 13 #include "ui/compositor/compositor_vsync_manager.h"
14 14
15 namespace cc { 15 namespace cc {
16 class SoftwareOutputDevice; 16 class SoftwareOutputDevice;
17 class SyntheticBeginFrameSource; 17 class SyntheticBeginFrameSource;
18 } 18 }
19 19
20 namespace display_compositor { 20 namespace display_compositor {
21 class CompositorOverlayCandidateValidator; 21 class CompositorOverlayCandidateValidator;
22 } 22 }
23 23
24 namespace gfx { 24 namespace gfx {
25 enum class SwapResult; 25 enum class SwapResult;
26 } 26 }
27 27
28 namespace gpu {
29 struct GpuProcessHostedCALayerTreeParamsMac;
30 }
31
32 namespace content { 28 namespace content {
33 class ContextProviderCommandBuffer;
34 class ReflectorImpl; 29 class ReflectorImpl;
35 class WebGraphicsContext3DCommandBufferImpl;
36 30
37 class CONTENT_EXPORT BrowserCompositorOutputSurface 31 class CONTENT_EXPORT BrowserCompositorOutputSurface
38 : public cc::OutputSurface { 32 : public cc::OutputSurface {
39 public: 33 public:
40 ~BrowserCompositorOutputSurface() override; 34 ~BrowserCompositorOutputSurface() override;
41 35
42 // cc::OutputSurface implementation. 36 // cc::OutputSurface implementation.
43 cc::OverlayCandidateValidator* GetOverlayCandidateValidator() const override; 37 cc::OverlayCandidateValidator* GetOverlayCandidateValidator() const override;
44 bool HasExternalStencilTest() const override; 38 bool HasExternalStencilTest() const override;
45 void ApplyExternalStencil() override; 39 void ApplyExternalStencil() override;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 private: 78 private:
85 std::unique_ptr<display_compositor::CompositorOverlayCandidateValidator> 79 std::unique_ptr<display_compositor::CompositorOverlayCandidateValidator>
86 overlay_candidate_validator_; 80 overlay_candidate_validator_;
87 81
88 DISALLOW_COPY_AND_ASSIGN(BrowserCompositorOutputSurface); 82 DISALLOW_COPY_AND_ASSIGN(BrowserCompositorOutputSurface);
89 }; 83 };
90 84
91 } // namespace content 85 } // namespace content
92 86
93 #endif // CONTENT_BROWSER_COMPOSITOR_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_ 87 #endif // CONTENT_BROWSER_COMPOSITOR_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698