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

Unified Diff: ppapi/shared_impl/ppb_view_shared.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
Index: ppapi/shared_impl/ppb_view_shared.h
diff --git a/ppapi/shared_impl/ppb_view_shared.h b/ppapi/shared_impl/ppb_view_shared.h
index 32bfb35825218caf2f5acdb06b0b0e8b759fcd59..a0e37945f448a7a93fdf81c11ecae9ad0150bb52 100644
--- a/ppapi/shared_impl/ppb_view_shared.h
+++ b/ppapi/shared_impl/ppb_view_shared.h
@@ -36,21 +36,21 @@ class PPAPI_SHARED_EXPORT PPB_View_Shared : public Resource,
PPB_View_Shared(ResourceObjectType type,
PP_Instance instance,
const ViewData& data);
- virtual ~PPB_View_Shared();
+ ~PPB_View_Shared() override;
// Resource overrides.
- virtual thunk::PPB_View_API* AsPPB_View_API() override;
+ thunk::PPB_View_API* AsPPB_View_API() override;
// PPB_View_API implementation.
- virtual const ViewData& GetData() const override;
- virtual PP_Bool GetRect(PP_Rect* viewport) const override;
- virtual PP_Bool IsFullscreen() const override;
- virtual PP_Bool IsVisible() const override;
- virtual PP_Bool IsPageVisible() const override;
- virtual PP_Bool GetClipRect(PP_Rect* clip) const override;
- virtual float GetDeviceScale() const override;
- virtual float GetCSSScale() const override;
- virtual PP_Bool GetScrollOffset(PP_Point* scroll_offset) const override;
+ const ViewData& GetData() const override;
+ PP_Bool GetRect(PP_Rect* viewport) const override;
+ PP_Bool IsFullscreen() const override;
+ PP_Bool IsVisible() const override;
+ PP_Bool IsPageVisible() const override;
+ PP_Bool GetClipRect(PP_Rect* clip) const override;
+ float GetDeviceScale() const override;
+ float GetCSSScale() const override;
+ PP_Bool GetScrollOffset(PP_Point* scroll_offset) const override;
private:
ViewData data_;
« no previous file with comments | « ppapi/shared_impl/ppb_video_decoder_shared.h ('k') | ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698