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

Unified Diff: content/common/gpu/image_transport_surface_fbo_mac.h

Issue 671663002: Standardize usage of virtual/override/final in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/image_transport_surface_fbo_mac.h
diff --git a/content/common/gpu/image_transport_surface_fbo_mac.h b/content/common/gpu/image_transport_surface_fbo_mac.h
index 7294bcf0db044753b1fbba839fbceb0352313283..c8002753d948cc91e8c5337e4d9ef3453244921c 100644
--- a/content/common/gpu/image_transport_surface_fbo_mac.h
+++ b/content/common/gpu/image_transport_surface_fbo_mac.h
@@ -63,20 +63,20 @@ class ImageTransportSurfaceFBO
gfx::PluginWindowHandle handle);
// GLSurface implementation
- virtual bool Initialize() override;
- virtual void Destroy() override;
- virtual bool DeferDraws() override;
- virtual bool IsOffscreen() override;
- virtual bool SwapBuffers() override;
- virtual bool PostSubBuffer(int x, int y, int width, int height) override;
- virtual bool SupportsPostSubBuffer() override;
- virtual gfx::Size GetSize() override;
- virtual void* GetHandle() override;
- virtual void* GetDisplay() override;
- virtual bool OnMakeCurrent(gfx::GLContext* context) override;
- virtual unsigned int GetBackingFrameBufferObject() override;
- virtual bool SetBackbufferAllocation(bool allocated) override;
- virtual void SetFrontbufferAllocation(bool allocated) override;
+ bool Initialize() override;
+ void Destroy() override;
+ bool DeferDraws() override;
+ bool IsOffscreen() override;
+ bool SwapBuffers() override;
+ bool PostSubBuffer(int x, int y, int width, int height) override;
+ bool SupportsPostSubBuffer() override;
+ gfx::Size GetSize() override;
+ void* GetHandle() override;
+ void* GetDisplay() override;
+ bool OnMakeCurrent(gfx::GLContext* context) override;
+ unsigned int GetBackingFrameBufferObject() override;
+ bool SetBackbufferAllocation(bool allocated) override;
+ void SetFrontbufferAllocation(bool allocated) override;
// Called when the context may continue to make forward progress after a swap.
void SendSwapBuffers(uint64 surface_handle,
@@ -86,18 +86,17 @@ class ImageTransportSurfaceFBO
protected:
// ImageTransportSurface implementation
- virtual void OnBufferPresented(
+ void OnBufferPresented(
const AcceleratedSurfaceMsg_BufferPresented_Params& params) override;
- virtual void OnResize(gfx::Size size, float scale_factor) override;
- virtual void SetLatencyInfo(
- const std::vector<ui::LatencyInfo>&) override;
- virtual void WakeUpGpu() override;
+ void OnResize(gfx::Size size, float scale_factor) override;
+ void SetLatencyInfo(const std::vector<ui::LatencyInfo>&) override;
+ void WakeUpGpu() override;
// GpuCommandBufferStub::DestructionObserver implementation.
- virtual void OnWillDestroyStub() override;
+ void OnWillDestroyStub() override;
private:
- virtual ~ImageTransportSurfaceFBO() override;
+ ~ImageTransportSurfaceFBO() override;
void AdjustBufferAllocation();
void DestroyFramebuffer();
« no previous file with comments | « content/common/gpu/image_transport_surface_calayer_mac.h ('k') | content/common/gpu/image_transport_surface_iosurface_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698