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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.h

Issue 2653963002: [Experimental] Supporting OOPIF printing
Patch Set: Rename service, fix for webview, and connect to DiscardableMemoryManager 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.h b/third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.h
index e38b0f6e47c4c6d7ae56d2c81a04feb10e6a6a81..c6a0e04ea84092397f3510bdb23d84d1b938351b 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.h
@@ -11,6 +11,7 @@
#include "platform/geometry/FloatRect.h"
#include "platform/graphics/paint/DisplayItemClient.h"
#include "platform/graphics/paint/PaintRecord.h"
+#include "third_party/skia/include/core/SkDrawable.h"
#include "third_party/skia/include/core/SkRefCnt.h"
#include "wtf/Noncopyable.h"
@@ -48,6 +49,7 @@ class PLATFORM_EXPORT PaintRecordBuilder final : public DisplayItemClient {
// Returns a picture capturing all drawing performed on the builder's context
// since construction.
sk_sp<PaintRecord> endRecording();
+ sk_sp<SkDrawable> endRecordingAsDrawable();
// DisplayItemClient methods
String debugName() const final { return "PaintRecordBuilder"; }

Powered by Google App Engine
This is Rietveld 408576698