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

Side by Side Diff: Source/core/css/RenderStyleCSSValueMapping.h

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/MediaValuesCached.cpp ('k') | Source/core/css/RenderStyleCSSValueMapping.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 RenderStyleCSSValueMapping_h 5 #ifndef RenderStyleCSSValueMapping_h
6 #define RenderStyleCSSValueMapping_h 6 #define RenderStyleCSSValueMapping_h
7 7
8 #include "core/CSSPropertyNames.h" 8 #include "core/CSSPropertyNames.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class CSSPrimitiveValue; 12 class CSSPrimitiveValue;
13 class RenderObject; 13 class LayoutObject;
14 class RenderStyle; 14 class RenderStyle;
15 class ShadowData; 15 class ShadowData;
16 class ShadowList; 16 class ShadowList;
17 class StyleColor; 17 class StyleColor;
18 class Node; 18 class Node;
19 19
20 class RenderStyleCSSValueMapping { 20 class RenderStyleCSSValueMapping {
21 public: 21 public:
22 // FIXME: Resolve computed auto alignment in applyProperty/RenderStyle and r emove this non-const styledNode parameter. 22 // FIXME: Resolve computed auto alignment in applyProperty/RenderStyle and r emove this non-const styledNode parameter.
23 static PassRefPtrWillBeRawPtr<CSSValue> get(CSSPropertyID, const RenderStyle &, const RenderObject* renderer = nullptr, Node* styledNode = nullptr, bool allo wVisitedStyle = false); 23 static PassRefPtrWillBeRawPtr<CSSValue> get(CSSPropertyID, const RenderStyle &, const LayoutObject* renderer = nullptr, Node* styledNode = nullptr, bool allo wVisitedStyle = false);
24 private: 24 private:
25 static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> currentColorOrValidColor(co nst RenderStyle&, const StyleColor&); 25 static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> currentColorOrValidColor(co nst RenderStyle&, const StyleColor&);
26 static PassRefPtrWillBeRawPtr<CSSValue> valueForShadowData(const ShadowData& , const RenderStyle&, bool useSpread); 26 static PassRefPtrWillBeRawPtr<CSSValue> valueForShadowData(const ShadowData& , const RenderStyle&, bool useSpread);
27 static PassRefPtrWillBeRawPtr<CSSValue> valueForShadowList(const ShadowList* , const RenderStyle&, bool useSpread); 27 static PassRefPtrWillBeRawPtr<CSSValue> valueForShadowList(const ShadowList* , const RenderStyle&, bool useSpread);
28 static PassRefPtrWillBeRawPtr<CSSValue> valueForFilter(const RenderStyle&); 28 static PassRefPtrWillBeRawPtr<CSSValue> valueForFilter(const RenderStyle&);
29 }; 29 };
30 30
31 } // namespace blink 31 } // namespace blink
32 32
33 #endif // RenderStyleCSSValueMapping_h 33 #endif // RenderStyleCSSValueMapping_h
OLDNEW
« no previous file with comments | « Source/core/css/MediaValuesCached.cpp ('k') | Source/core/css/RenderStyleCSSValueMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698