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

Unified Diff: Source/core/css/PropertySetCSSStyleDeclaration.h

Issue 129063002: Update CSS classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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/css/InlineVariablesIterator.h ('k') | Source/core/css/StyleRuleImport.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/PropertySetCSSStyleDeclaration.h
diff --git a/Source/core/css/PropertySetCSSStyleDeclaration.h b/Source/core/css/PropertySetCSSStyleDeclaration.h
index e17ca979942b5fcfe10e183d0ac8d84c7b0b00bd..9452265aafa90898edfc1a7dfaced4d9527e6f6c 100644
--- a/Source/core/css/PropertySetCSSStyleDeclaration.h
+++ b/Source/core/css/PropertySetCSSStyleDeclaration.h
@@ -50,30 +50,30 @@ protected:
virtual PassRefPtr<CSSVariablesIterator> variablesIterator() const OVERRIDE;
private:
- virtual CSSRule* parentRule() const OVERRIDE { return 0; };
- virtual unsigned length() const OVERRIDE;
- virtual String item(unsigned index) const OVERRIDE;
- virtual PassRefPtr<CSSValue> getPropertyCSSValue(const String& propertyName) OVERRIDE;
- virtual String getPropertyValue(const String& propertyName) OVERRIDE;
- virtual String getPropertyPriority(const String& propertyName) OVERRIDE;
- virtual String getPropertyShorthand(const String& propertyName) OVERRIDE;
- virtual bool isPropertyImplicit(const String& propertyName) OVERRIDE;
- virtual void setProperty(const String& propertyName, const String& value, const String& priority, ExceptionState&) OVERRIDE;
- virtual String removeProperty(const String& propertyName, ExceptionState&) OVERRIDE;
- virtual String cssText() const OVERRIDE;
- virtual void setCSSText(const String&, ExceptionState&) OVERRIDE;
- virtual PassRefPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) OVERRIDE;
- virtual String getPropertyValueInternal(CSSPropertyID) OVERRIDE;
- virtual void setPropertyInternal(CSSPropertyID, const String& value, bool important, ExceptionState&) OVERRIDE;
-
- virtual unsigned variableCount() const OVERRIDE;
- virtual String variableValue(const AtomicString& name) const OVERRIDE;
- virtual bool setVariableValue(const AtomicString& name, const String& value, ExceptionState&) OVERRIDE;
- virtual bool removeVariable(const AtomicString& name) OVERRIDE;
- virtual bool clearVariables(ExceptionState&) OVERRIDE;
-
- virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const OVERRIDE;
- virtual PassRefPtr<MutableStylePropertySet> copyProperties() const OVERRIDE;
+ virtual CSSRule* parentRule() const OVERRIDE { return 0; }
+ virtual unsigned length() const OVERRIDE FINAL;
+ virtual String item(unsigned index) const OVERRIDE FINAL;
+ virtual PassRefPtr<CSSValue> getPropertyCSSValue(const String& propertyName) OVERRIDE FINAL;
+ virtual String getPropertyValue(const String& propertyName) OVERRIDE FINAL;
+ virtual String getPropertyPriority(const String& propertyName) OVERRIDE FINAL;
+ virtual String getPropertyShorthand(const String& propertyName) OVERRIDE FINAL;
+ virtual bool isPropertyImplicit(const String& propertyName) OVERRIDE FINAL;
+ virtual void setProperty(const String& propertyName, const String& value, const String& priority, ExceptionState&) OVERRIDE FINAL;
+ virtual String removeProperty(const String& propertyName, ExceptionState&) OVERRIDE FINAL;
+ virtual String cssText() const OVERRIDE FINAL;
+ virtual void setCSSText(const String&, ExceptionState&) OVERRIDE FINAL;
+ virtual PassRefPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) OVERRIDE FINAL;
+ virtual String getPropertyValueInternal(CSSPropertyID) OVERRIDE FINAL;
+ virtual void setPropertyInternal(CSSPropertyID, const String& value, bool important, ExceptionState&) OVERRIDE FINAL;
+
+ virtual unsigned variableCount() const OVERRIDE FINAL;
+ virtual String variableValue(const AtomicString& name) const OVERRIDE FINAL;
+ virtual bool setVariableValue(const AtomicString& name, const String& value, ExceptionState&) OVERRIDE FINAL;
+ virtual bool removeVariable(const AtomicString& name) OVERRIDE FINAL;
+ virtual bool clearVariables(ExceptionState&) OVERRIDE FINAL;
+
+ virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const OVERRIDE FINAL;
+ virtual PassRefPtr<MutableStylePropertySet> copyProperties() const OVERRIDE FINAL;
CSSValue* cloneAndCacheForCSSOM(CSSValue*);
@@ -94,12 +94,12 @@ public:
virtual void deref() OVERRIDE;
protected:
- virtual MutableStylePropertySet* propertySet() const { return m_propertySet; };
+ virtual MutableStylePropertySet* propertySet() const OVERRIDE FINAL { return m_propertySet; }
MutableStylePropertySet* m_propertySet;
};
-class StyleRuleCSSStyleDeclaration : public PropertySetCSSStyleDeclaration
+class StyleRuleCSSStyleDeclaration FINAL : public PropertySetCSSStyleDeclaration
{
public:
static PassRefPtr<StyleRuleCSSStyleDeclaration> create(MutableStylePropertySet* propertySet, CSSRule* parentRule)
@@ -129,7 +129,7 @@ private:
CSSRule* m_parentRule;
};
-class InlineCSSStyleDeclaration : public AbstractPropertySetCSSStyleDeclaration
+class InlineCSSStyleDeclaration FINAL : public AbstractPropertySetCSSStyleDeclaration
{
public:
explicit InlineCSSStyleDeclaration(Element* parentElement)
« no previous file with comments | « Source/core/css/InlineVariablesIterator.h ('k') | Source/core/css/StyleRuleImport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698