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

Unified Diff: cc/blink/scrollbar_impl.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/base/latency_info_swap_promise_monitor.h ('k') | cc/blink/web_content_layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/scrollbar_impl.h
diff --git a/cc/blink/scrollbar_impl.h b/cc/blink/scrollbar_impl.h
index 5f0572c88fe8d243c7db153405879960ec1d35a5..fa5f0428973c8973308f385660fa8cb6bbb8ff34 100644
--- a/cc/blink/scrollbar_impl.h
+++ b/cc/blink/scrollbar_impl.h
@@ -22,20 +22,20 @@ class ScrollbarImpl : public cc::Scrollbar {
ScrollbarImpl(scoped_ptr<blink::WebScrollbar> scrollbar,
blink::WebScrollbarThemePainter painter,
scoped_ptr<blink::WebScrollbarThemeGeometry> geometry);
- virtual ~ScrollbarImpl();
+ ~ScrollbarImpl() override;
// cc::Scrollbar implementation.
- virtual cc::ScrollbarOrientation Orientation() const override;
- virtual bool IsLeftSideVerticalScrollbar() const override;
- virtual bool HasThumb() const override;
- virtual bool IsOverlay() const override;
- virtual gfx::Point Location() const override;
- virtual int ThumbThickness() const override;
- virtual int ThumbLength() const override;
- virtual gfx::Rect TrackRect() const override;
- virtual void PaintPart(SkCanvas* canvas,
- cc::ScrollbarPart part,
- const gfx::Rect& content_rect) override;
+ cc::ScrollbarOrientation Orientation() const override;
+ bool IsLeftSideVerticalScrollbar() const override;
+ bool HasThumb() const override;
+ bool IsOverlay() const override;
+ gfx::Point Location() const override;
+ int ThumbThickness() const override;
+ int ThumbLength() const override;
+ gfx::Rect TrackRect() const override;
+ void PaintPart(SkCanvas* canvas,
+ cc::ScrollbarPart part,
+ const gfx::Rect& content_rect) override;
private:
scoped_ptr<blink::WebScrollbar> scrollbar_;
« no previous file with comments | « cc/base/latency_info_swap_promise_monitor.h ('k') | cc/blink/web_content_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698