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

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

Issue 2368013002: [WIP] CSS Motion Path: offset shorthand ready for position and anchor
Patch Set: offset-anchor default is not auto Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 ComputedStyleCSSValueMapping_h 5 #ifndef ComputedStyleCSSValueMapping_h
6 #define ComputedStyleCSSValueMapping_h 6 #define ComputedStyleCSSValueMapping_h
7 7
8 #include "core/CSSPropertyNames.h" 8 #include "core/CSSPropertyNames.h"
9 #include "core/css/CSSValue.h" 9 #include "core/css/CSSValue.h"
10 #include "wtf/Allocator.h" 10 #include "wtf/Allocator.h"
(...skipping 18 matching lines...) Expand all
29 // FIXME: Resolve computed auto alignment in applyProperty/ComputedStyle and remove this non-const styledNode parameter. 29 // FIXME: Resolve computed auto alignment in applyProperty/ComputedStyle and remove this non-const styledNode parameter.
30 static const CSSValue* get(CSSPropertyID, const ComputedStyle&, const Layout Object* = nullptr, Node* styledNode = nullptr, bool allowVisitedStyle = false); 30 static const CSSValue* get(CSSPropertyID, const ComputedStyle&, const Layout Object* = nullptr, Node* styledNode = nullptr, bool allowVisitedStyle = false);
31 static const CSSValue* get(const AtomicString customPropertyName, const Comp utedStyle&, const PropertyRegistry*); 31 static const CSSValue* get(const AtomicString customPropertyName, const Comp utedStyle&, const PropertyRegistry*);
32 static std::unique_ptr<HashMap<AtomicString, RefPtr<CSSVariableData>>> getVa riables(const ComputedStyle&); 32 static std::unique_ptr<HashMap<AtomicString, RefPtr<CSSVariableData>>> getVa riables(const ComputedStyle&);
33 private: 33 private:
34 static CSSValue* currentColorOrValidColor(const ComputedStyle&, const StyleC olor&); 34 static CSSValue* currentColorOrValidColor(const ComputedStyle&, const StyleC olor&);
35 static CSSValue* valueForShadowData(const ShadowData&, const ComputedStyle&, bool useSpread); 35 static CSSValue* valueForShadowData(const ShadowData&, const ComputedStyle&, bool useSpread);
36 static CSSValue* valueForShadowList(const ShadowList*, const ComputedStyle&, bool useSpread); 36 static CSSValue* valueForShadowList(const ShadowList*, const ComputedStyle&, bool useSpread);
37 static CSSValue* valueForFilter(const ComputedStyle&, const FilterOperations &); 37 static CSSValue* valueForFilter(const ComputedStyle&, const FilterOperations &);
38 static CSSValue* valueForFont(const ComputedStyle&); 38 static CSSValue* valueForFont(const ComputedStyle&);
39 static CSSValue* valueForOffset(const ComputedStyle&);
Timothy Loh 2016/09/27 08:17:48 Does this need to be on the class?
Eric Willigers 2016/09/29 03:53:18 No, I was just being consistent with the others.
39 }; 40 };
40 41
41 } // namespace blink 42 } // namespace blink
42 43
43 #endif // ComputedStyleCSSValueMapping_h 44 #endif // ComputedStyleCSSValueMapping_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698