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

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

Issue 2047923002: [WIP] Add support for CSSValue-> CSSLengthValue and CSSTranslation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@supported-types
Patch Set: Created 4 years, 6 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
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 StyleValueFactory_h 5 #ifndef StyleValueFactory_h
6 #define StyleValueFactory_h 6 #define StyleValueFactory_h
7 7
8 #include "core/CSSPropertyNames.h" 8 #include "core/CSSPropertyNames.h"
9 #include "core/css/cssom/CSSStyleValue.h" 9 #include "core/css/cssom/CSSStyleValue.h"
10 #include "wtf/Allocator.h" 10 #include "wtf/Allocator.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class CSSValue; 14 class CSSValue;
15 15
16 class StyleValueFactory { 16 class StyleValueFactory {
17 STATIC_ONLY(StyleValueFactory); 17 STATIC_ONLY(StyleValueFactory);
18 18
19 public: 19 public:
20 static CSSStyleValueVector cssValueToStyleValueVector(CSSPropertyID, const C SSValue&); 20 static CSSStyleValueVector cssValueToStyleValueVector(CSSPropertyID, const C SSValue&);
21 static CSSStyleValue* cssValueToSingleStyleValue(CSSPropertyID, const CSSVal ue&);
21 }; 22 };
22 23
23 } // namespace blink 24 } // namespace blink
24 25
25 #endif 26 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698