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

Unified Diff: Source/core/layout/LayoutScrollbar.h

Issue 1231363003: Fix virtual/override/final usage in Source/core/layout/. (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
« no previous file with comments | « Source/core/layout/LayoutRubyText.h ('k') | Source/core/layout/LayoutScrollbarPart.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutScrollbar.h
diff --git a/Source/core/layout/LayoutScrollbar.h b/Source/core/layout/LayoutScrollbar.h
index f60e790e2527b436660dcb8098d76665cec80ba7..c23d0278093424ab9927013d13445bc35b25d5ee 100644
--- a/Source/core/layout/LayoutScrollbar.h
+++ b/Source/core/layout/LayoutScrollbar.h
@@ -42,7 +42,7 @@ class ComputedStyle;
class LayoutScrollbar final : public Scrollbar {
public:
static PassRefPtrWillBeRawPtr<Scrollbar> createCustomScrollbar(ScrollableArea*, ScrollbarOrientation, Node*, LocalFrame* owningFrame = nullptr);
- virtual ~LayoutScrollbar();
+ ~LayoutScrollbar() override;
LayoutBox* owningLayoutObject() const;
@@ -52,11 +52,11 @@ public:
int minimumThumbLength();
- virtual bool isOverlayScrollbar() const override { return false; }
+ bool isOverlayScrollbar() const override { return false; }
LayoutScrollbarPart* getPart(ScrollbarPart partType) { return m_parts.get(partType); }
- virtual void invalidateRect(const IntRect&) override;
+ void invalidateRect(const IntRect&) override;
DECLARE_VIRTUAL_TRACE();
@@ -66,15 +66,15 @@ protected:
private:
friend class Scrollbar;
- virtual void setParent(Widget*) override;
- virtual void setEnabled(bool) override;
+ void setParent(Widget*) override;
+ void setEnabled(bool) override;
- virtual void setHoveredPart(ScrollbarPart) override;
- virtual void setPressedPart(ScrollbarPart) override;
+ void setHoveredPart(ScrollbarPart) override;
+ void setPressedPart(ScrollbarPart) override;
- virtual void styleChanged() override;
+ void styleChanged() override;
- virtual bool isCustomScrollbar() const override { return true; }
+ bool isCustomScrollbar() const override { return true; }
void updateScrollbarParts(bool destroy = false);
« no previous file with comments | « Source/core/layout/LayoutRubyText.h ('k') | Source/core/layout/LayoutScrollbarPart.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698