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

Unified Diff: Source/modules/accessibility/AXScrollView.h

Issue 1227783004: Fix virtual/override/final usage in Source/modules/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase 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/modules/accessibility/AXSVGRoot.h ('k') | Source/modules/accessibility/AXScrollbar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXScrollView.h
diff --git a/Source/modules/accessibility/AXScrollView.h b/Source/modules/accessibility/AXScrollView.h
index 96c6192d20d373fa776819221115cb7979a35491..7ac09dc97ec75dbbb27577abe9d4efa805c33f7e 100644
--- a/Source/modules/accessibility/AXScrollView.h
+++ b/Source/modules/accessibility/AXScrollView.h
@@ -38,41 +38,41 @@ class FrameView;
class AXScrollView final : public AXObject {
public:
static PassRefPtrWillBeRawPtr<AXScrollView> create(FrameView*, AXObjectCacheImpl&);
- virtual AccessibilityRole roleValue() const override { return ScrollAreaRole; }
+ AccessibilityRole roleValue() const override { return ScrollAreaRole; }
FrameView* scrollView() const { return m_scrollView; }
- virtual ~AXScrollView();
+ ~AXScrollView() override;
DECLARE_VIRTUAL_TRACE();
- virtual void detach() override;
+ void detach() override;
protected:
- virtual ScrollableArea* getScrollableAreaIfScrollable() const override;
+ ScrollableArea* getScrollableAreaIfScrollable() const override;
private:
AXScrollView(FrameView*, AXObjectCacheImpl&);
- virtual bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override;
- virtual bool isAXScrollView() const override { return true; }
- virtual bool isEnabled() const override { return true; }
+ bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override;
+ bool isAXScrollView() const override { return true; }
+ bool isEnabled() const override { return true; }
- virtual bool isAttachment() const override;
- virtual Widget* widgetForAttachmentView() const override;
+ bool isAttachment() const override;
+ Widget* widgetForAttachmentView() const override;
- virtual AXObject* scrollBar(AccessibilityOrientation) override;
- virtual void addChildren() override;
- virtual void clearChildren() override;
- virtual AXObject* accessibilityHitTest(const IntPoint&) const override;
- virtual void updateChildrenIfNecessary() override;
- virtual void setNeedsToUpdateChildren() override { m_childrenDirty = true; }
+ AXObject* scrollBar(AccessibilityOrientation) override;
+ void addChildren() override;
+ void clearChildren() override;
+ AXObject* accessibilityHitTest(const IntPoint&) const override;
+ void updateChildrenIfNecessary() override;
+ void setNeedsToUpdateChildren() override { m_childrenDirty = true; }
void updateScrollbars();
- virtual FrameView* documentFrameView() const override;
- virtual LayoutRect elementRect() const override;
- virtual AXObject* computeParent() const override;
- virtual AXObject* computeParentIfExists() const override;
+ FrameView* documentFrameView() const override;
+ LayoutRect elementRect() const override;
+ AXObject* computeParent() const override;
+ AXObject* computeParentIfExists() const override;
AXObject* webAreaObject() const;
- virtual AXObject* firstChild() const override { return webAreaObject(); }
+ AXObject* firstChild() const override { return webAreaObject(); }
AXScrollbar* addChildScrollbar(Scrollbar*);
void removeChildScrollbar(AXObject*);
« no previous file with comments | « Source/modules/accessibility/AXSVGRoot.h ('k') | Source/modules/accessibility/AXScrollbar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698