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

Unified Diff: Source/core/css/MediaValuesCached.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/MediaQueryMatcher.h ('k') | Source/core/css/MediaValuesDynamic.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/MediaValuesCached.h
diff --git a/Source/core/css/MediaValuesCached.h b/Source/core/css/MediaValuesCached.h
index 89ca862e2aa89ea3e70416fbef1d8acfe7790f00..4a79e08c59b5680bd734a4d266ffbc306923df22 100644
--- a/Source/core/css/MediaValuesCached.h
+++ b/Source/core/css/MediaValuesCached.h
@@ -9,7 +9,7 @@
namespace blink {
-class MediaValuesCached FINAL : public MediaValues {
+class MediaValuesCached final : public MediaValues {
public:
struct MediaValuesCachedData {
// Members variables must be thread safe, since they're copied to the parser thread
@@ -52,27 +52,27 @@ public:
static PassRefPtr<MediaValues> create(Document&);
static PassRefPtr<MediaValues> create(LocalFrame*);
static PassRefPtr<MediaValues> create(MediaValuesCachedData&);
- 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 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 Document* document() const OVERRIDE;
- virtual bool hasValues() const OVERRIDE;
- virtual const String mediaType() 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 Document* document() const override;
+ virtual bool hasValues() const override;
+ virtual const String mediaType() const override;
protected:
MediaValuesCached();
« no previous file with comments | « Source/core/css/MediaQueryMatcher.h ('k') | Source/core/css/MediaValuesDynamic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698