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

Side by Side Diff: third_party/WebKit/Source/core/css/cssom/CSSUnsupportedStyleValue.h

Issue 2097093002: [Typed OM] Rename cssString methods to cssText (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rename-transformvalue
Patch Set: Update usage in csspaint logging for tests Created 4 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/core/css/cssom/CSSTransformComponent.idl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CSSUnsupportedStyleValue_h 5 #ifndef CSSUnsupportedStyleValue_h
6 #define CSSUnsupportedStyleValue_h 6 #define CSSUnsupportedStyleValue_h
7 7
8 #include "core/css/cssom/CSSStyleValue.h" 8 #include "core/css/cssom/CSSStyleValue.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class CORE_EXPORT CSSUnsupportedStyleValue final : public CSSStyleValue { 12 class CORE_EXPORT CSSUnsupportedStyleValue final : public CSSStyleValue {
13 WTF_MAKE_NONCOPYABLE(CSSUnsupportedStyleValue); 13 WTF_MAKE_NONCOPYABLE(CSSUnsupportedStyleValue);
14 public: 14 public:
15 static CSSUnsupportedStyleValue* create(const String& cssText) 15 static CSSUnsupportedStyleValue* create(const String& cssText)
16 { 16 {
17 return new CSSUnsupportedStyleValue(cssText); 17 return new CSSUnsupportedStyleValue(cssText);
18 } 18 }
19 19
20 StyleValueType type() const override { return StyleValueType::Unknown; } 20 StyleValueType type() const override { return StyleValueType::Unknown; }
21 CSSValue* toCSSValue() const override; 21 CSSValue* toCSSValue() const override;
22 CSSValue* toCSSValueWithProperty(CSSPropertyID) const override; 22 CSSValue* toCSSValueWithProperty(CSSPropertyID) const override;
23 String cssString() const override { return m_cssText; } 23 String cssText() const override { return m_cssText; }
24 24
25 private: 25 private:
26 CSSUnsupportedStyleValue(const String& cssText) 26 CSSUnsupportedStyleValue(const String& cssText)
27 : m_cssText(cssText) {} 27 : m_cssText(cssText) {}
28 28
29 String m_cssText; 29 String m_cssText;
30 }; 30 };
31 31
32 } // namespace blink 32 } // namespace blink
33 33
34 #endif // CSSUnsupportedStyleValue_h 34 #endif // CSSUnsupportedStyleValue_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/cssom/CSSTransformComponent.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698