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

Unified Diff: third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.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/modules/csspaint/CSSPaintImageGeneratorImpl.h
diff --git a/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.h b/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.h
index b0f8a20bab4492a87e0012669dd51da025ddf292..e4dfdab54fb6594a63f33791c447eb45256efe1d 100644
--- a/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.h
+++ b/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.h
@@ -5,15 +5,17 @@
#ifndef CSSPaintImageGeneratorImpl_h
#define CSSPaintImageGeneratorImpl_h
+#include <v8.h>
#include "bindings/core/v8/ScopedPersistent.h"
#include "core/css/CSSPaintImageGenerator.h"
+#include "core/css/cssom/CSSStyleValue.h"
#include "platform/geometry/IntSize.h"
#include "platform/heap/Handle.h"
-#include <v8.h>
namespace blink {
class CSSPaintDefinition;
+class CSSSyntaxDescriptor;
class Document;
class Image;
@@ -26,10 +28,12 @@ class CSSPaintImageGeneratorImpl final : public CSSPaintImageGenerator {
PassRefPtr<Image> paint(const LayoutObject&,
const IntSize&,
- float zoom) final;
+ float zoom,
+ const CSSStyleValueVector*) final;
const Vector<CSSPropertyID>& nativeInvalidationProperties() const final;
const Vector<AtomicString>& customInvalidationProperties() const final;
bool hasAlpha() const final;
+ const Vector<CSSSyntaxDescriptor>& inputArgumentTypes() const final;
// Should be called from the PaintWorkletGlobalScope when a javascript class
// is registered with the same name.

Powered by Google App Engine
This is Rietveld 408576698