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

Unified Diff: Source/modules/accessibility/AXMenuListOption.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/AXMenuList.h ('k') | Source/modules/accessibility/AXMenuListPopup.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXMenuListOption.h
diff --git a/Source/modules/accessibility/AXMenuListOption.h b/Source/modules/accessibility/AXMenuListOption.h
index eee7a20a4eba417ad324353301670f015fb741ac..07f9678058d09724b227f3784b63926dcf940d90 100644
--- a/Source/modules/accessibility/AXMenuListOption.h
+++ b/Source/modules/accessibility/AXMenuListOption.h
@@ -36,30 +36,30 @@ class AXObjectCacheImpl;
class AXMenuListOption final : public AXMockObject {
public:
static PassRefPtrWillBeRawPtr<AXMenuListOption> create(HTMLOptionElement* element, AXObjectCacheImpl& axObjectCache) { return adoptRefWillBeNoop(new AXMenuListOption(element, axObjectCache)); }
- virtual ~AXMenuListOption();
+ ~AXMenuListOption() override;
private:
AXMenuListOption(HTMLOptionElement*, AXObjectCacheImpl&);
DECLARE_VIRTUAL_TRACE();
- virtual bool isMenuListOption() const override { return true; }
+ bool isMenuListOption() const override { return true; }
- virtual Node* node() const override { return m_element; }
- virtual void detach() override;
- virtual bool isDetached() const override { return !m_element; }
- virtual AccessibilityRole roleValue() const override { return MenuListOptionRole; }
- virtual bool canHaveChildren() const override { return false; }
+ Node* node() const override { return m_element; }
+ void detach() override;
+ bool isDetached() const override { return !m_element; }
+ AccessibilityRole roleValue() const override { return MenuListOptionRole; }
+ bool canHaveChildren() const override { return false; }
- virtual Element* actionElement() const override;
- virtual bool isEnabled() const override;
- virtual bool isVisible() const override;
- virtual bool isOffScreen() const override;
- virtual bool isSelected() const override;
- virtual void setSelected(bool) override;
- virtual bool canSetSelectedAttribute() const override;
- virtual LayoutRect elementRect() const override;
- virtual String stringValue() const override;
- virtual bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override;
+ Element* actionElement() const override;
+ bool isEnabled() const override;
+ bool isVisible() const override;
+ bool isOffScreen() const override;
+ bool isSelected() const override;
+ void setSelected(bool) override;
+ bool canSetSelectedAttribute() const override;
+ LayoutRect elementRect() const override;
+ String stringValue() const override;
+ bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override;
RawPtrWillBeMember<HTMLOptionElement> m_element;
};
« no previous file with comments | « Source/modules/accessibility/AXMenuList.h ('k') | Source/modules/accessibility/AXMenuListPopup.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698