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

Unified Diff: third_party/WebKit/Source/core/css/cssom/CSSAngleValue.h

Issue 2867883003: [CSS Typed OM] Delete obsolete number and length classes from Typed OM (Closed)
Patch Set: rebase Created 3 years, 7 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
Index: third_party/WebKit/Source/core/css/cssom/CSSAngleValue.h
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSAngleValue.h b/third_party/WebKit/Source/core/css/cssom/CSSAngleValue.h
deleted file mode 100644
index 14095200a44f543e3de14d3a8513e877c9b9dadb..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/css/cssom/CSSAngleValue.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CSSAngleValue_h
-#define CSSAngleValue_h
-
-#include "core/css/CSSPrimitiveValue.h"
-#include "core/css/cssom/CSSStyleValue.h"
-
-namespace blink {
-
-class CORE_EXPORT CSSAngleValue final : public CSSStyleValue {
- WTF_MAKE_NONCOPYABLE(CSSAngleValue);
- DEFINE_WRAPPERTYPEINFO();
-
- public:
- static CSSAngleValue* Create(double value, const String& unit);
- static CSSAngleValue* Create(double value, CSSPrimitiveValue::UnitType);
- static CSSAngleValue* FromCSSValue(const CSSPrimitiveValue&);
-
- StyleValueType GetType() const override { return kAngleType; }
-
- double degrees() const;
- double radians() const;
- double gradians() const;
- double turns() const;
-
- double Value() const { return value_; }
- CSSPrimitiveValue::UnitType Unit() const { return unit_; }
- CSSValue* ToCSSValue() const override;
-
- private:
- CSSAngleValue(double value, CSSPrimitiveValue::UnitType unit)
- : value_(value), unit_(unit) {}
-
- double value_;
- CSSPrimitiveValue::UnitType unit_;
-};
-}
-
-#endif // CSSAngleValue_h
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.json5 ('k') | third_party/WebKit/Source/core/css/cssom/CSSAngleValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698