diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-17 20:07:38 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-17 20:07:38 +0000 |
commit | edc64de774e1af065b16996295053f0b92d22cb0 (patch) | |
tree | 9370bffca9da7615718c67448bcb5631016a8ad1 /content/renderer/render_widget_fullscreen_pepper.h | |
parent | c193faf261d5542429d6363a9f5f295ee7c1d70f (diff) | |
download | chromium_src-edc64de774e1af065b16996295053f0b92d22cb0.zip chromium_src-edc64de774e1af065b16996295053f0b92d22cb0.tar.gz chromium_src-edc64de774e1af065b16996295053f0b92d22cb0.tar.bz2 |
Add OVERRIDE to content/.
BUG=104314
TEST=no change
Review URL: http://codereview.chromium.org/8587009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110544 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/render_widget_fullscreen_pepper.h')
-rw-r--r-- | content/renderer/render_widget_fullscreen_pepper.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/content/renderer/render_widget_fullscreen_pepper.h b/content/renderer/render_widget_fullscreen_pepper.h index 5d47ec9..75e1fea 100644 --- a/content/renderer/render_widget_fullscreen_pepper.h +++ b/content/renderer/render_widget_fullscreen_pepper.h @@ -33,12 +33,13 @@ class RenderWidgetFullscreenPepper : public RenderWidgetFullscreen, const GURL& active_url); // pepper::FullscreenContainer API. - virtual void Invalidate(); - virtual void InvalidateRect(const WebKit::WebRect& rect); - virtual void ScrollRect(int dx, int dy, const WebKit::WebRect& rect); - virtual void Destroy(); - virtual void DidChangeCursor(const WebKit::WebCursorInfo& cursor); - virtual webkit::ppapi::PluginDelegate::PlatformContext3D* CreateContext3D(); + virtual void Invalidate() OVERRIDE; + virtual void InvalidateRect(const WebKit::WebRect& rect) OVERRIDE; + virtual void ScrollRect(int dx, int dy, const WebKit::WebRect& rect) OVERRIDE; + virtual void Destroy() OVERRIDE; + virtual void DidChangeCursor(const WebKit::WebCursorInfo& cursor) OVERRIDE; + virtual webkit::ppapi::PluginDelegate::PlatformContext3D* + CreateContext3D() OVERRIDE; RendererGLContext* context() const { return context_; } void SwapBuffers(); @@ -52,20 +53,20 @@ class RenderWidgetFullscreenPepper : public RenderWidgetFullscreen, virtual ~RenderWidgetFullscreenPepper(); // RenderWidget API. - virtual void DidInitiatePaint(); - virtual void DidFlushPaint(); - virtual void Close(); + virtual void DidInitiatePaint() OVERRIDE; + virtual void DidFlushPaint() OVERRIDE; + virtual void Close() OVERRIDE; virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint( const gfx::Rect& paint_bounds, TransportDIB** dib, gfx::Rect* location, - gfx::Rect* clip); + gfx::Rect* clip) OVERRIDE; virtual void OnResize(const gfx::Size& new_size, const gfx::Rect& resizer_rect, - bool is_fullscreen); + bool is_fullscreen) OVERRIDE; // RenderWidgetFullscreen API. - virtual WebKit::WebWidget* CreateWebWidget(); + virtual WebKit::WebWidget* CreateWebWidget() OVERRIDE; // RenderWidget overrides. virtual bool SupportsAsynchronousSwapBuffers() OVERRIDE; @@ -89,7 +90,7 @@ class RenderWidgetFullscreenPepper : public RenderWidgetFullscreen, void OnSwapBuffersCompleteByRendererGLContext(); // Implementation of PepperParentContextProvider. - virtual RendererGLContext* GetParentContextForPlatformContext3D(); + virtual RendererGLContext* GetParentContextForPlatformContext3D() OVERRIDE; // URL that is responsible for this widget, passed to ggl::CreateViewContext. GURL active_url_; |