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

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

Issue 1226293002: Fix virtual/override/final usage in Source/core/{animation,css,style}/. (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/css/CSSCanvasValue.h ('k') | Source/core/css/CSSCrossfadeValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSComputedStyleDeclaration.h
diff --git a/Source/core/css/CSSComputedStyleDeclaration.h b/Source/core/css/CSSComputedStyleDeclaration.h
index 201c04ad56df1081212502870a32d590adfd3f8a..92ffc5d943ffc7dc57fad1492a9a1b209f77eb85 100644
--- a/Source/core/css/CSSComputedStyleDeclaration.h
+++ b/Source/core/css/CSSComputedStyleDeclaration.h
@@ -50,11 +50,11 @@ public:
{
return adoptRefWillBeNoop(new CSSComputedStyleDeclaration(node, allowVisitedStyle, pseudoElementName));
}
- virtual ~CSSComputedStyleDeclaration();
+ ~CSSComputedStyleDeclaration() override;
#if !ENABLE(OILPAN)
- virtual void ref() override;
- virtual void deref() override;
+ void ref() override;
+ void deref() override;
#endif
String getPropertyValue(CSSPropertyID) const;
@@ -81,23 +81,23 @@ private:
Node* styledNode() const;
// CSSOM functions. Don't make these public.
- virtual CSSRule* parentRule() const override;
- virtual unsigned length() const override;
- virtual String item(unsigned index) const override;
+ CSSRule* parentRule() const override;
+ unsigned length() const override;
+ String item(unsigned index) const override;
const ComputedStyle* computeComputedStyle() const;
- 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 PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) override;
- virtual String getPropertyValueInternal(CSSPropertyID) override;
- virtual void setPropertyInternal(CSSPropertyID, const String& value, bool important, ExceptionState&) override;
-
- virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const override;
+ String getPropertyValue(const String& propertyName) override;
+ String getPropertyPriority(const String& propertyName) override;
+ String getPropertyShorthand(const String& propertyName) override;
+ bool isPropertyImplicit(const String& propertyName) override;
+ void setProperty(const String& propertyName, const String& value, const String& priority, ExceptionState&) override;
+ String removeProperty(const String& propertyName, ExceptionState&) override;
+ String cssText() const override;
+ void setCSSText(const String&, ExceptionState&) override;
+ PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) override;
+ String getPropertyValueInternal(CSSPropertyID) override;
+ void setPropertyInternal(CSSPropertyID, const String& value, bool important, ExceptionState&) override;
+
+ bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const override;
RefPtrWillBeMember<Node> m_node;
PseudoId m_pseudoElementSpecifier;
« no previous file with comments | « Source/core/css/CSSCanvasValue.h ('k') | Source/core/css/CSSCrossfadeValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698