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

Unified Diff: Source/core/css/MediaValuesDynamic.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/MediaValuesCached.h ('k') | Source/core/css/PropertySetCSSStyleDeclaration.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/MediaValuesDynamic.h
diff --git a/Source/core/css/MediaValuesDynamic.h b/Source/core/css/MediaValuesDynamic.h
index 6fbe498159fb9e2a92c32d3faf336a99e6af1ec7..b4e6ec592baebeef20b96d356b771c54baa054f8 100644
--- a/Source/core/css/MediaValuesDynamic.h
+++ b/Source/core/css/MediaValuesDynamic.h
@@ -15,28 +15,28 @@ class MediaValuesDynamic final : public MediaValues {
public:
static PassRefPtr<MediaValues> create(Document&);
static PassRefPtr<MediaValues> create(LocalFrame*);
- virtual PassRefPtr<MediaValues> copy() const override;
- virtual bool isSafeToSendToAnotherThread() const override;
- virtual bool computeLength(double value, CSSPrimitiveValue::UnitType, int& result) const override;
- virtual bool computeLength(double value, CSSPrimitiveValue::UnitType, double& result) const override;
-
- virtual int viewportWidth() const override;
- virtual int viewportHeight() const override;
- virtual int deviceWidth() const override;
- virtual int deviceHeight() const override;
- virtual float devicePixelRatio() const override;
- virtual int colorBitsPerComponent() const override;
- virtual int monochromeBitsPerComponent() const override;
- virtual PointerType primaryPointerType() const override;
- virtual int availablePointerTypes() const override;
- virtual HoverType primaryHoverType() const override;
- virtual int availableHoverTypes() const override;
- virtual bool threeDEnabled() const override;
- virtual bool strictMode() const override;
- virtual const String mediaType() const override;
- virtual WebDisplayMode displayMode() const override;
- virtual Document* document() const override;
- virtual bool hasValues() const override;
+ PassRefPtr<MediaValues> copy() const override;
+ bool isSafeToSendToAnotherThread() const override;
+ bool computeLength(double value, CSSPrimitiveValue::UnitType, int& result) const override;
+ bool computeLength(double value, CSSPrimitiveValue::UnitType, double& result) const override;
+
+ int viewportWidth() const override;
+ int viewportHeight() const override;
+ int deviceWidth() const override;
+ int deviceHeight() const override;
+ float devicePixelRatio() const override;
+ int colorBitsPerComponent() const override;
+ int monochromeBitsPerComponent() const override;
+ PointerType primaryPointerType() const override;
+ int availablePointerTypes() const override;
+ HoverType primaryHoverType() const override;
+ int availableHoverTypes() const override;
+ bool threeDEnabled() const override;
+ bool strictMode() const override;
+ const String mediaType() const override;
+ WebDisplayMode displayMode() const override;
+ Document* document() const override;
+ bool hasValues() const override;
protected:
MediaValuesDynamic(LocalFrame*);
« no previous file with comments | « Source/core/css/MediaValuesCached.h ('k') | Source/core/css/PropertySetCSSStyleDeclaration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698