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

Unified Diff: ppapi/proxy/graphics_2d_resource.h

Issue 1097393007: Update {virtual,override} to follow C++11 style in ppapi. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split off one file into separate review. Created 5 years, 8 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 | « ppapi/proxy/gamepad_resource.h ('k') | ppapi/proxy/host_resolver_private_resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/graphics_2d_resource.h
diff --git a/ppapi/proxy/graphics_2d_resource.h b/ppapi/proxy/graphics_2d_resource.h
index e8f4e993e71da6513800957bf5d4eedeef3eb82c..efd7d760877b4894bb7c4ef792cc902fa2a8adbe 100644
--- a/ppapi/proxy/graphics_2d_resource.h
+++ b/ppapi/proxy/graphics_2d_resource.h
@@ -25,24 +25,22 @@ class PPAPI_PROXY_EXPORT Graphics2DResource
const PP_Size& size,
PP_Bool is_always_opaque);
- virtual ~Graphics2DResource();
+ ~Graphics2DResource() override;
// Resource overrides.
- virtual thunk::PPB_Graphics2D_API* AsPPB_Graphics2D_API() override;
+ thunk::PPB_Graphics2D_API* AsPPB_Graphics2D_API() override;
// PPB_Graphics2D_API overrides.
- virtual PP_Bool Describe(PP_Size* size, PP_Bool* is_always_opaque) override;
- virtual void PaintImageData(PP_Resource image_data,
- const PP_Point* top_left,
- const PP_Rect* src_rect) override;
- virtual void Scroll(const PP_Rect* clip_rect,
- const PP_Point* amount) override;
- virtual void ReplaceContents(PP_Resource image_data) override;
- virtual PP_Bool SetScale(float scale) override;
- virtual float GetScale() override;
- virtual int32_t Flush(scoped_refptr<TrackedCallback> callback) override;
- virtual bool ReadImageData(PP_Resource image,
- const PP_Point* top_left) override;
+ PP_Bool Describe(PP_Size* size, PP_Bool* is_always_opaque) override;
+ void PaintImageData(PP_Resource image_data,
+ const PP_Point* top_left,
+ const PP_Rect* src_rect) override;
+ void Scroll(const PP_Rect* clip_rect, const PP_Point* amount) override;
+ void ReplaceContents(PP_Resource image_data) override;
+ PP_Bool SetScale(float scale) override;
+ float GetScale() override;
+ int32_t Flush(scoped_refptr<TrackedCallback> callback) override;
+ bool ReadImageData(PP_Resource image, const PP_Point* top_left) override;
private:
void OnPluginMsgFlushACK(const ResourceMessageReplyParams& params);
« no previous file with comments | « ppapi/proxy/gamepad_resource.h ('k') | ppapi/proxy/host_resolver_private_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698