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

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

Issue 2661323002: Implement CSSPaintValue and add a layout test. (Closed)
Patch Set: rebase 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 parseInputArguments();
80
81 bool m_inputArgumentsInvalid = false;
82
79 Member<CSSCustomIdentValue> m_name; 83 Member<CSSCustomIdentValue> m_name;
80 Member<CSSPaintImageGenerator> m_generator; 84 Member<CSSPaintImageGenerator> m_generator;
81 Member<Observer> m_paintImageGeneratorObserver; 85 Member<Observer> m_paintImageGeneratorObserver;
86 Member<CSSStyleValueVector> m_parsedInputArguments;
82 Vector<RefPtr<CSSVariableData>> m_argumentVariableData; 87 Vector<RefPtr<CSSVariableData>> m_argumentVariableData;
83 }; 88 };
84 89
85 DEFINE_CSS_VALUE_TYPE_CASTS(CSSPaintValue, isPaintValue()); 90 DEFINE_CSS_VALUE_TYPE_CASTS(CSSPaintValue, isPaintValue());
86 91
87 } // namespace blink 92 } // namespace blink
88 93
89 #endif // CSSPaintValue_h 94 #endif // CSSPaintValue_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPaintImageGenerator.h ('k') | third_party/WebKit/Source/core/css/CSSPaintValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698