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

Unified Diff: third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.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/CSSPaintDefinition.h
diff --git a/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.h b/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.h
index 47590a6c9049ffb3ca42701b876452c95b8bd1bc..d0aac01febbabfa74b3d032c35bd93dd09ce70ad 100644
--- a/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.h
+++ b/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.h
@@ -5,12 +5,13 @@
#ifndef CSSPaintDefinition_h
#define CSSPaintDefinition_h
+#include <v8.h>
#include "bindings/core/v8/ScopedPersistent.h"
#include "core/CSSPropertyNames.h"
#include "core/css/CSSSyntaxDescriptor.h"
+#include "core/css/cssom/CSSStyleValue.h"
#include "platform/geometry/IntSize.h"
#include "platform/heap/Handle.h"
-#include <v8.h>
namespace blink {
@@ -40,7 +41,10 @@ class CSSPaintDefinition final
//
// This may return a nullptr (representing an invalid image) if javascript
// throws an error.
- PassRefPtr<Image> paint(const LayoutObject&, const IntSize&, float zoom);
+ PassRefPtr<Image> paint(const LayoutObject&,
+ const IntSize&,
+ float zoom,
+ const CSSStyleValueVector*);
const Vector<CSSPropertyID>& nativeInvalidationProperties() const {
return m_nativeInvalidationProperties;
}

Powered by Google App Engine
This is Rietveld 408576698