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

Unified Diff: ui/gl/gl_surface.h

Issue 667923002: Standardize usage of virtual/override/final in ui/ (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
« no previous file with comments | « ui/gl/gl_osmesa_api_implementation.h ('k') | ui/gl/gl_surface_egl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface.h
diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h
index 7c7a5cec712e971e629e2ae7b78bd6205e209635..54bcc37174c32fdb52726d2f7a4a4c7d06e17e1c 100644
--- a/ui/gl/gl_surface.h
+++ b/ui/gl/gl_surface.h
@@ -158,37 +158,37 @@ class GL_EXPORT GLSurfaceAdapter : public GLSurface {
public:
explicit GLSurfaceAdapter(GLSurface* surface);
- virtual bool Initialize() override;
- virtual void Destroy() override;
- virtual bool Resize(const gfx::Size& size) override;
- virtual bool Recreate() 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 unsigned int GetBackingFrameBufferObject() override;
- virtual bool OnMakeCurrent(GLContext* context) override;
- virtual bool SetBackbufferAllocation(bool allocated) override;
- virtual void SetFrontbufferAllocation(bool allocated) override;
- virtual void* GetShareHandle() override;
- virtual void* GetDisplay() override;
- virtual void* GetConfig() override;
- virtual unsigned GetFormat() override;
- virtual VSyncProvider* GetVSyncProvider() override;
- virtual bool ScheduleOverlayPlane(int z_order,
- OverlayTransform transform,
- GLImage* image,
- const Rect& bounds_rect,
- const RectF& crop_rect) override;
- virtual bool IsSurfaceless() const override;
+ bool Initialize() override;
+ void Destroy() override;
+ bool Resize(const gfx::Size& size) override;
+ bool Recreate() 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;
+ unsigned int GetBackingFrameBufferObject() override;
+ bool OnMakeCurrent(GLContext* context) override;
+ bool SetBackbufferAllocation(bool allocated) override;
+ void SetFrontbufferAllocation(bool allocated) override;
+ void* GetShareHandle() override;
+ void* GetDisplay() override;
+ void* GetConfig() override;
+ unsigned GetFormat() override;
+ VSyncProvider* GetVSyncProvider() override;
+ bool ScheduleOverlayPlane(int z_order,
+ OverlayTransform transform,
+ GLImage* image,
+ const Rect& bounds_rect,
+ const RectF& crop_rect) override;
+ bool IsSurfaceless() const override;
GLSurface* surface() const { return surface_.get(); }
protected:
- virtual ~GLSurfaceAdapter();
+ ~GLSurfaceAdapter() override;
private:
scoped_refptr<GLSurface> surface_;
« no previous file with comments | « ui/gl/gl_osmesa_api_implementation.h ('k') | ui/gl/gl_surface_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698