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

Unified Diff: cc/test/fake_scrollbar.h

Issue 645853008: Standardize usage of virtual/override/final in cc/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatted 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 | « cc/test/fake_scoped_ui_resource.h ('k') | cc/test/fake_tile_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_scrollbar.h
diff --git a/cc/test/fake_scrollbar.h b/cc/test/fake_scrollbar.h
index 638735d7c5c2a31e91bb0504d2f1185b553012e7..2d14660e975bc712ad84e0e240448010c5d5f92d 100644
--- a/cc/test/fake_scrollbar.h
+++ b/cc/test/fake_scrollbar.h
@@ -15,20 +15,20 @@ class FakeScrollbar : public Scrollbar {
public:
FakeScrollbar();
FakeScrollbar(bool paint, bool has_thumb, bool is_overlay);
- virtual ~FakeScrollbar();
+ ~FakeScrollbar() override;
// Scrollbar implementation.
- virtual ScrollbarOrientation Orientation() const override;
- virtual bool IsLeftSideVerticalScrollbar() const override;
- virtual gfx::Point Location() const override;
- virtual bool IsOverlay() const override;
- virtual bool HasThumb() const override;
- virtual int ThumbThickness() const override;
- virtual int ThumbLength() const override;
- virtual gfx::Rect TrackRect() const override;
- virtual void PaintPart(SkCanvas* canvas,
- ScrollbarPart part,
- const gfx::Rect& content_rect) override;
+ ScrollbarOrientation Orientation() const override;
+ bool IsLeftSideVerticalScrollbar() const override;
+ gfx::Point Location() const override;
+ bool IsOverlay() const override;
+ bool HasThumb() const override;
+ int ThumbThickness() const override;
+ int ThumbLength() const override;
+ gfx::Rect TrackRect() const override;
+ void PaintPart(SkCanvas* canvas,
+ ScrollbarPart part,
+ const gfx::Rect& content_rect) override;
void set_location(const gfx::Point& location) { location_ = location; }
void set_track_rect(const gfx::Rect& track_rect) { track_rect_ = track_rect; }
« no previous file with comments | « cc/test/fake_scoped_ui_resource.h ('k') | cc/test/fake_tile_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698