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

Unified Diff: Source/web/WebFontImpl.h

Issue 135753002: Update web classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 11 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 | « Source/web/WebFileChooserCompletionImpl.h ('k') | Source/web/WebFrameImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebFontImpl.h
diff --git a/Source/web/WebFontImpl.h b/Source/web/WebFontImpl.h
index 1c190cd01d8e4bbc4f42f85a4db2ab2d4fbcf866..ef6291c5102991eee4f8ea6a4eefaf41c45ac4ae 100644
--- a/Source/web/WebFontImpl.h
+++ b/Source/web/WebFontImpl.h
@@ -38,24 +38,24 @@ namespace WebCore { class FontDescription; }
namespace blink {
-class WebFontImpl : public WebFont {
+class WebFontImpl FINAL : public WebFont {
public:
WebFontImpl(const WebCore::FontDescription&, float letterSpacing, float wordSpacing);
- virtual WebFontDescription fontDescription() const;
+ virtual WebFontDescription fontDescription() const OVERRIDE;
- virtual int ascent() const;
- virtual int descent() const;
- virtual int height() const;
- virtual int lineSpacing() const;
- virtual float xHeight() const;
+ virtual int ascent() const OVERRIDE;
+ virtual int descent() const OVERRIDE;
+ virtual int height() const OVERRIDE;
+ virtual int lineSpacing() const OVERRIDE;
+ virtual float xHeight() const OVERRIDE;
virtual void drawText(WebCanvas*, const WebTextRun&, const WebFloatPoint& leftBaseline, WebColor,
- const WebRect& clip, bool canvasIsOpaque, int from = 0, int to = -1) const;
- virtual int calculateWidth(const WebTextRun&) const;
- virtual int offsetForPosition(const WebTextRun&, float position) const;
+ const WebRect& clip, bool canvasIsOpaque, int from = 0, int to = -1) const OVERRIDE;
+ virtual int calculateWidth(const WebTextRun&) const OVERRIDE;
+ virtual int offsetForPosition(const WebTextRun&, float position) const OVERRIDE;
virtual WebFloatRect selectionRectForText(const WebTextRun&, const WebFloatPoint& leftBaseline,
- int height, int from = 0, int to = -1) const;
+ int height, int from = 0, int to = -1) const OVERRIDE;
private:
WebCore::Font m_font;
« no previous file with comments | « Source/web/WebFileChooserCompletionImpl.h ('k') | Source/web/WebFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698