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

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

Issue 2926553004: Remove trailing semicolon at the end of a method definition (Closed)
Patch Set: rebase Created 3 years, 6 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_OFFSCREEN_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H _ 5 #ifndef CONTENT_BROWSER_COMPOSITOR_OFFSCREEN_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H _
6 #define CONTENT_BROWSER_COMPOSITOR_OFFSCREEN_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H _ 6 #define CONTENT_BROWSER_COMPOSITOR_OFFSCREEN_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H _
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 void BindFramebuffer() override; 48 void BindFramebuffer() override;
49 void SwapBuffers(cc::OutputSurfaceFrame frame) override; 49 void SwapBuffers(cc::OutputSurfaceFrame frame) override;
50 bool IsDisplayedAsOverlayPlane() const override; 50 bool IsDisplayedAsOverlayPlane() const override;
51 unsigned GetOverlayTextureId() const override; 51 unsigned GetOverlayTextureId() const override;
52 bool SurfaceIsSuspendForRecycle() const override; 52 bool SurfaceIsSuspendForRecycle() const override;
53 uint32_t GetFramebufferCopyTextureFormat() override; 53 uint32_t GetFramebufferCopyTextureFormat() override;
54 54
55 // BrowserCompositorOutputSurface implementation. 55 // BrowserCompositorOutputSurface implementation.
56 void OnReflectorChanged() override; 56 void OnReflectorChanged() override;
57 #if defined(OS_MACOSX) 57 #if defined(OS_MACOSX)
58 void SetSurfaceSuspendedForRecycle(bool suspended) override {}; 58 void SetSurfaceSuspendedForRecycle(bool suspended) override {}
59 #endif 59 #endif
60 60
61 void OnSwapBuffersComplete(const std::vector<ui::LatencyInfo>& latency_info); 61 void OnSwapBuffersComplete(const std::vector<ui::LatencyInfo>& latency_info);
62 62
63 cc::OutputSurfaceClient* client_ = nullptr; 63 cc::OutputSurfaceClient* client_ = nullptr;
64 gfx::Size reshape_size_; 64 gfx::Size reshape_size_;
65 uint32_t fbo_ = 0; 65 uint32_t fbo_ = 0;
66 bool reflector_changed_ = false; 66 bool reflector_changed_ = false;
67 std::unique_ptr<ReflectorTexture> reflector_texture_; 67 std::unique_ptr<ReflectorTexture> reflector_texture_;
68 base::WeakPtrFactory<OffscreenBrowserCompositorOutputSurface> 68 base::WeakPtrFactory<OffscreenBrowserCompositorOutputSurface>
69 weak_ptr_factory_; 69 weak_ptr_factory_;
70 70
71 DISALLOW_COPY_AND_ASSIGN(OffscreenBrowserCompositorOutputSurface); 71 DISALLOW_COPY_AND_ASSIGN(OffscreenBrowserCompositorOutputSurface);
72 }; 72 };
73 73
74 } // namespace content 74 } // namespace content
75 75
76 #endif // CONTENT_BROWSER_COMPOSITOR_OFFSCREEN_BROWSER_COMPOSITOR_OUTPUT_SURFAC E_H_ 76 #endif // CONTENT_BROWSER_COMPOSITOR_OFFSCREEN_BROWSER_COMPOSITOR_OUTPUT_SURFAC E_H_
OLDNEW
« no previous file with comments | « content/browser/compositor/gpu_vsync_begin_frame_source_unittest.cc ('k') | content/browser/download/download_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698