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

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

Issue 630853002: Replacing the OVERRIDE with override in third_party/WebKit/Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase build fix 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
Index: Source/platform/scroll/ScrollbarThemeMock.h
diff --git a/Source/platform/scroll/ScrollbarThemeMock.h b/Source/platform/scroll/ScrollbarThemeMock.h
index 16d0348a26cb2bd1e30a0094892cab57eafa2d68..43e8ebe2df6582f08e7b9b18f9e4d2ed4ba25f48 100644
--- a/Source/platform/scroll/ScrollbarThemeMock.h
+++ b/Source/platform/scroll/ScrollbarThemeMock.h
@@ -33,22 +33,22 @@ namespace blink {
// Scrollbar theme used in image snapshots, to eliminate appearance differences between platforms.
class PLATFORM_EXPORT ScrollbarThemeMock : public ScrollbarTheme {
public:
- virtual int scrollbarThickness(ScrollbarControlSize = RegularScrollbar) OVERRIDE;
- virtual bool usesOverlayScrollbars() const OVERRIDE;
+ virtual int scrollbarThickness(ScrollbarControlSize = RegularScrollbar) override;
+ virtual bool usesOverlayScrollbars() const override;
protected:
- virtual bool hasButtons(ScrollbarThemeClient*) OVERRIDE { return false; }
- virtual bool hasThumb(ScrollbarThemeClient*) OVERRIDE { return true; }
+ virtual bool hasButtons(ScrollbarThemeClient*) override { return false; }
+ virtual bool hasThumb(ScrollbarThemeClient*) override { return true; }
- virtual IntRect backButtonRect(ScrollbarThemeClient*, ScrollbarPart, bool /*painting*/ = false) OVERRIDE { return IntRect(); }
- virtual IntRect forwardButtonRect(ScrollbarThemeClient*, ScrollbarPart, bool /*painting*/ = false) OVERRIDE { return IntRect(); }
- virtual IntRect trackRect(ScrollbarThemeClient*, bool painting = false) OVERRIDE;
+ virtual IntRect backButtonRect(ScrollbarThemeClient*, ScrollbarPart, bool /*painting*/ = false) override { return IntRect(); }
+ virtual IntRect forwardButtonRect(ScrollbarThemeClient*, ScrollbarPart, bool /*painting*/ = false) override { return IntRect(); }
+ virtual IntRect trackRect(ScrollbarThemeClient*, bool painting = false) override;
- virtual void paintTrackBackground(GraphicsContext*, ScrollbarThemeClient*, const IntRect&) OVERRIDE;
- virtual void paintThumb(GraphicsContext*, ScrollbarThemeClient*, const IntRect&) OVERRIDE;
+ virtual void paintTrackBackground(GraphicsContext*, ScrollbarThemeClient*, const IntRect&) override;
+ virtual void paintThumb(GraphicsContext*, ScrollbarThemeClient*, const IntRect&) override;
private:
- virtual bool isMockTheme() const OVERRIDE FINAL { return true; }
+ virtual bool isMockTheme() const override FINAL { return true; }
};
}
« no previous file with comments | « Source/platform/scroll/ScrollbarThemeMacOverlayAPI.h ('k') | Source/platform/scroll/ScrollbarThemeNonMacCommon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698