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

Unified Diff: Source/platform/scroll/ScrollbarThemeOverlay.h

Issue 1213003004: Fix virtual/override/final usage in Source/platform/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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: Source/platform/scroll/ScrollbarThemeOverlay.h
diff --git a/Source/platform/scroll/ScrollbarThemeOverlay.h b/Source/platform/scroll/ScrollbarThemeOverlay.h
index a05ebf86a1a24656bd4ffb9c781a30dfee6ae833..8df7944508ff3be0fe24d6a40032eb28d173b20c 100644
--- a/Source/platform/scroll/ScrollbarThemeOverlay.h
+++ b/Source/platform/scroll/ScrollbarThemeOverlay.h
@@ -39,25 +39,25 @@ public:
ScrollbarThemeOverlay(int thumbThickness, int scrollbarMargin, HitTestBehavior);
ScrollbarThemeOverlay(int thumbThickness, int scrollbarMargin, HitTestBehavior, Color);
- virtual ~ScrollbarThemeOverlay() { }
+ ~ScrollbarThemeOverlay() override {}
- virtual int scrollbarThickness(ScrollbarControlSize) override;
- virtual int scrollbarMargin() const override;
- virtual bool usesOverlayScrollbars() const override;
+ int scrollbarThickness(ScrollbarControlSize) override;
+ int scrollbarMargin() const override;
+ bool usesOverlayScrollbars() const override;
- virtual int thumbPosition(ScrollbarThemeClient*) override;
- virtual int thumbLength(ScrollbarThemeClient*) override;
+ int thumbPosition(ScrollbarThemeClient*) override;
+ int thumbLength(ScrollbarThemeClient*) override;
- virtual bool hasButtons(ScrollbarThemeClient*) override { return false; };
- virtual bool hasThumb(ScrollbarThemeClient*) override;
+ bool hasButtons(ScrollbarThemeClient*) override { return false; };
+ bool hasThumb(ScrollbarThemeClient*) override;
- virtual IntRect backButtonRect(ScrollbarThemeClient*, ScrollbarPart, bool painting = false) override;
- virtual IntRect forwardButtonRect(ScrollbarThemeClient*, ScrollbarPart, bool painting = false) override;
- virtual IntRect trackRect(ScrollbarThemeClient*, bool painting = false) override;
- virtual int thumbThickness(ScrollbarThemeClient*) override;
+ IntRect backButtonRect(ScrollbarThemeClient*, ScrollbarPart, bool painting = false) override;
+ IntRect forwardButtonRect(ScrollbarThemeClient*, ScrollbarPart, bool painting = false) override;
+ IntRect trackRect(ScrollbarThemeClient*, bool painting = false) override;
+ int thumbThickness(ScrollbarThemeClient*) override;
- virtual void paintThumb(GraphicsContext*, ScrollbarThemeClient*, const IntRect&) override;
- virtual ScrollbarPart hitTest(ScrollbarThemeClient*, const IntPoint&) override;
+ void paintThumb(GraphicsContext*, ScrollbarThemeClient*, const IntRect&) override;
+ ScrollbarPart hitTest(ScrollbarThemeClient*, const IntPoint&) override;
private:
int m_thumbThickness;
« no previous file with comments | « Source/platform/scroll/ScrollbarThemeNonMacCommon.h ('k') | Source/platform/scroll/ScrollbarThemeOverlayMock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698