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

Unified Diff: Source/core/html/HTMLOptGroupElement.h

Issue 1219013005: Fix virtual/override/final usage in Source/core/html/. (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/html/HTMLObjectElement.h ('k') | Source/core/html/HTMLOptionElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLOptGroupElement.h
diff --git a/Source/core/html/HTMLOptGroupElement.h b/Source/core/html/HTMLOptGroupElement.h
index 6de272350dc4eee9458e734f6287261297e20dd4..6c7de684d7a57fac8769b34fd0b3bc2caccd084f 100644
--- a/Source/core/html/HTMLOptGroupElement.h
+++ b/Source/core/html/HTMLOptGroupElement.h
@@ -38,7 +38,7 @@ class CORE_EXPORT HTMLOptGroupElement final : public HTMLElement {
public:
static PassRefPtrWillBeRawPtr<HTMLOptGroupElement> create(Document&);
- virtual bool isDisabledFormControl() const override;
+ bool isDisabledFormControl() const override;
HTMLSelectElement* ownerSelectElement() const;
String groupLabelText() const;
@@ -47,18 +47,18 @@ public:
private:
explicit HTMLOptGroupElement(Document&);
- virtual bool supportsFocus() const override;
- virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
- virtual void childrenChanged(const ChildrenChange&) override;
- virtual void accessKeyAction(bool sendMouseEvents) override;
- virtual void didAddUserAgentShadowRoot(ShadowRoot&) override;
- virtual void attach(const AttachContext& = AttachContext()) override;
- virtual void detach(const AttachContext& = AttachContext()) override;
+ bool supportsFocus() const override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ void childrenChanged(const ChildrenChange&) override;
+ void accessKeyAction(bool sendMouseEvents) override;
+ void didAddUserAgentShadowRoot(ShadowRoot&) override;
+ void attach(const AttachContext& = AttachContext()) override;
+ void detach(const AttachContext& = AttachContext()) override;
// <optgroup> might not have a layoutObject so we manually manage a cached style.
void updateNonComputedStyle();
- virtual ComputedStyle* nonLayoutObjectComputedStyle() const override;
- virtual PassRefPtr<ComputedStyle> customStyleForLayoutObject() override;
+ ComputedStyle* nonLayoutObjectComputedStyle() const override;
+ PassRefPtr<ComputedStyle> customStyleForLayoutObject() override;
void updateGroupLabel();
void recalcSelectOptions();
« no previous file with comments | « Source/core/html/HTMLObjectElement.h ('k') | Source/core/html/HTMLOptionElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698