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

Unified Diff: content/common/gpu/image_transport_surface.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.h
diff --git a/content/common/gpu/image_transport_surface.h b/content/common/gpu/image_transport_surface.h
index 6016c84d0422d8e045e550b7af1b5c815de25754..fea2d4f0980fa62df442a63ef31321247a03835a 100644
--- a/content/common/gpu/image_transport_surface.h
+++ b/content/common/gpu/image_transport_surface.h
@@ -113,12 +113,12 @@ class ImageTransportHelper
GpuChannelManager* manager,
GpuCommandBufferStub* stub,
gfx::PluginWindowHandle handle);
- virtual ~ImageTransportHelper();
+ ~ImageTransportHelper() override;
bool Initialize();
// IPC::Listener implementation:
- virtual bool OnMessageReceived(const IPC::Message& message) override;
+ bool OnMessageReceived(const IPC::Message& message) override;
// Helper send functions. Caller fills in the surface specific params
// like size and surface id. The helper fills in the rest.
@@ -184,25 +184,25 @@ class PassThroughImageTransportSurface
gfx::GLSurface* surface);
// GLSurface implementation.
- virtual bool Initialize() override;
- virtual void Destroy() override;
- virtual bool SwapBuffers() override;
- virtual bool PostSubBuffer(int x, int y, int width, int height) override;
- virtual bool OnMakeCurrent(gfx::GLContext* context) override;
+ bool Initialize() override;
+ void Destroy() override;
+ bool SwapBuffers() override;
+ bool PostSubBuffer(int x, int y, int width, int height) override;
+ bool OnMakeCurrent(gfx::GLContext* context) override;
// ImageTransportSurface implementation.
#if defined(OS_MACOSX)
- virtual void OnBufferPresented(
+ void OnBufferPresented(
const AcceleratedSurfaceMsg_BufferPresented_Params& params) override;
#endif
- virtual void OnResize(gfx::Size size, float scale_factor) override;
- virtual gfx::Size GetSize() override;
- virtual void SetLatencyInfo(
+ void OnResize(gfx::Size size, float scale_factor) override;
+ gfx::Size GetSize() override;
+ void SetLatencyInfo(
const std::vector<ui::LatencyInfo>& latency_info) override;
- virtual void WakeUpGpu() override;
+ void WakeUpGpu() override;
protected:
- virtual ~PassThroughImageTransportSurface();
+ ~PassThroughImageTransportSurface() override;
// If updated vsync parameters can be determined, send this information to
// the browser.
« no previous file with comments | « content/common/gpu/gpu_memory_manager_unittest.cc ('k') | content/common/gpu/image_transport_surface_calayer_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698