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

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

Issue 2661323002: Implement CSSPaintValue and add a layout test. (Closed)
Patch Set: add flag Created 3 years, 9 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 CSSPaintValue_h 5 #ifndef CSSPaintValue_h
6 #define CSSPaintValue_h 6 #define CSSPaintValue_h
7 7
8 #include "core/css/CSSCustomIdentValue.h" 8 #include "core/css/CSSCustomIdentValue.h"
9 #include "core/css/CSSImageGeneratorValue.h" 9 #include "core/css/CSSImageGeneratorValue.h"
10 #include "core/css/CSSPaintImageGenerator.h" 10 #include "core/css/CSSPaintImageGenerator.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 } 69 }
70 70
71 void paintImageGeneratorReady() final; 71 void paintImageGeneratorReady() final;
72 72
73 private: 73 private:
74 Member<CSSPaintValue> m_ownerValue; 74 Member<CSSPaintValue> m_ownerValue;
75 }; 75 };
76 76
77 void paintImageGeneratorReady(); 77 void paintImageGeneratorReady();
78 78
79 bool m_inputArgumentsInValid = false;
ikilpatrick 2017/02/27 17:25:03 m_inputArgumentsInvalid (invalid is just one word
renjieliu1 2017/02/27 23:20:43 thanks for the catch!
80
79 Member<CSSCustomIdentValue> m_name; 81 Member<CSSCustomIdentValue> m_name;
80 Member<CSSPaintImageGenerator> m_generator; 82 Member<CSSPaintImageGenerator> m_generator;
81 Member<Observer> m_paintImageGeneratorObserver; 83 Member<Observer> m_paintImageGeneratorObserver;
84 Member<CSSStyleValueVector> m_parsedInputArguments;
82 Vector<RefPtr<CSSVariableData>> m_argumentVariableData; 85 Vector<RefPtr<CSSVariableData>> m_argumentVariableData;
83 }; 86 };
84 87
85 DEFINE_CSS_VALUE_TYPE_CASTS(CSSPaintValue, isPaintValue()); 88 DEFINE_CSS_VALUE_TYPE_CASTS(CSSPaintValue, isPaintValue());
86 89
87 } // namespace blink 90 } // namespace blink
88 91
89 #endif // CSSPaintValue_h 92 #endif // CSSPaintValue_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698