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

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

Issue 640593002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/[css|rendering|clipboard] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased the patch Created 6 years, 2 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/Pair.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 93446000e14ab4cc576c799ca26c1577436b3fa9..464876118f2c28b1f044dc87192d918916a317ef 100644
--- a/Source/core/css/MediaValuesDynamic.h
+++ b/Source/core/css/MediaValuesDynamic.h
@@ -11,31 +11,31 @@ namespace blink {
class Document;
-class MediaValuesDynamic FINAL : public MediaValues {
+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 Document* document() const OVERRIDE;
- virtual bool hasValues() const OVERRIDE;
+ 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 Document* document() const override;
+ virtual bool hasValues() const override;
protected:
MediaValuesDynamic(LocalFrame*);
« no previous file with comments | « Source/core/css/MediaValuesCached.h ('k') | Source/core/css/Pair.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698