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

Unified Diff: content/child/browser_font_resource_trusted.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
« no previous file with comments | « content/child/blink_platform_impl_unittest.cc ('k') | content/child/child_gpu_memory_buffer_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/browser_font_resource_trusted.h
diff --git a/content/child/browser_font_resource_trusted.h b/content/child/browser_font_resource_trusted.h
index a31347ce0d846441d6b24e73d088c0022ea28e5b..f29e51fa1a53da71fa631928146a46bdabbfa68c 100644
--- a/content/child/browser_font_resource_trusted.h
+++ b/content/child/browser_font_resource_trusted.h
@@ -39,29 +39,26 @@ class BrowserFontResource_Trusted
const PP_BrowserFont_Trusted_Description& desc);
// Resource override.
- virtual ::ppapi::thunk::PPB_BrowserFont_Trusted_API*
- AsPPB_BrowserFont_Trusted_API() override;
+ ::ppapi::thunk::PPB_BrowserFont_Trusted_API* AsPPB_BrowserFont_Trusted_API()
+ override;
// PPB_BrowserFont_Trusted_API implementation.
- virtual PP_Bool Describe(PP_BrowserFont_Trusted_Description* description,
- PP_BrowserFont_Trusted_Metrics* metrics) override;
- virtual PP_Bool DrawTextAt(PP_Resource image_data,
- const PP_BrowserFont_Trusted_TextRun* text,
- const PP_Point* position,
- uint32_t color,
- const PP_Rect* clip,
- PP_Bool image_data_is_opaque) override;
- virtual int32_t MeasureText(
- const PP_BrowserFont_Trusted_TextRun* text) override;
- virtual uint32_t CharacterOffsetForPixel(
- const PP_BrowserFont_Trusted_TextRun* text,
- int32_t pixel_position) override;
- virtual int32_t PixelOffsetForCharacter(
- const PP_BrowserFont_Trusted_TextRun* text,
- uint32_t char_offset) override;
+ PP_Bool Describe(PP_BrowserFont_Trusted_Description* description,
+ PP_BrowserFont_Trusted_Metrics* metrics) override;
+ PP_Bool DrawTextAt(PP_Resource image_data,
+ const PP_BrowserFont_Trusted_TextRun* text,
+ const PP_Point* position,
+ uint32_t color,
+ const PP_Rect* clip,
+ PP_Bool image_data_is_opaque) override;
+ int32_t MeasureText(const PP_BrowserFont_Trusted_TextRun* text) override;
+ uint32_t CharacterOffsetForPixel(const PP_BrowserFont_Trusted_TextRun* text,
+ int32_t pixel_position) override;
+ int32_t PixelOffsetForCharacter(const PP_BrowserFont_Trusted_TextRun* text,
+ uint32_t char_offset) override;
private:
- virtual ~BrowserFontResource_Trusted();
+ ~BrowserFontResource_Trusted() override;
// Internal version of DrawTextAt that takes a mapped PlatformCanvas.
void DrawTextToCanvas(SkCanvas* destination,
« no previous file with comments | « content/child/blink_platform_impl_unittest.cc ('k') | content/child/child_gpu_memory_buffer_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698