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

Unified Diff: third_party/WebKit/Source/core/css/CSSPaintImageGenerator.h

Issue 2661323002: Implement CSSPaintValue and add a layout test. (Closed)
Patch Set: rebase Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/CSSPaintImageGenerator.h
diff --git a/third_party/WebKit/Source/core/css/CSSPaintImageGenerator.h b/third_party/WebKit/Source/core/css/CSSPaintImageGenerator.h
index 9569f34c5ebf07865f5e660297caaab0bf8eca3e..97a37e9e326ba25f4990796a46112c0b7b3b9b16 100644
--- a/third_party/WebKit/Source/core/css/CSSPaintImageGenerator.h
+++ b/third_party/WebKit/Source/core/css/CSSPaintImageGenerator.h
@@ -7,11 +7,13 @@
#include "core/CSSPropertyNames.h"
#include "core/CoreExport.h"
+#include "core/css/cssom/CSSStyleValue.h"
#include "platform/geometry/IntSize.h"
#include "platform/heap/Handle.h"
namespace blink {
+class CSSSyntaxDescriptor;
class Document;
class Image;
class LayoutObject;
@@ -47,11 +49,14 @@ class CORE_EXPORT CSSPaintImageGenerator
// representing an invalid image if an error occurred.
virtual PassRefPtr<Image> paint(const LayoutObject&,
const IntSize&,
- float zoom) = 0;
+ float zoom,
+ const CSSStyleValueVector*) = 0;
virtual const Vector<CSSPropertyID>& nativeInvalidationProperties() const = 0;
virtual const Vector<AtomicString>& customInvalidationProperties() const = 0;
virtual bool hasAlpha() const = 0;
+ virtual const Vector<CSSSyntaxDescriptor>& inputArgumentTypes() const = 0;
+ virtual bool isImageGeneratorReady() const = 0;
DEFINE_INLINE_VIRTUAL_TRACE() {}
};

Powered by Google App Engine
This is Rietveld 408576698