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

Unified Diff: third_party/WebKit/Source/core/paint/RemoteFramePainter.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/core/paint/RemoteFramePainter.h
diff --git a/third_party/WebKit/Source/core/paint/RemoteFramePainter.h b/third_party/WebKit/Source/core/paint/RemoteFramePainter.h
new file mode 100644
index 0000000000000000000000000000000000000000..7b9e72f2ebf0a8fe70685de667ed0c86dafc4519
--- /dev/null
+++ b/third_party/WebKit/Source/core/paint/RemoteFramePainter.h
@@ -0,0 +1,31 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef RemoteFramePainter_h
+#define RemoteFramePainter_h
+
+#include "skia/ext/SkFutureDrawable.h"
+
+namespace blink {
+
+class CullRect;
+class GraphicsContext;
+class RemoteFrameView;
+
+class RemoteFramePainter {
+ STACK_ALLOCATED();
+
+ public:
+ RemoteFramePainter(const RemoteFrameView& view) : m_frameView(view) {}
+
+ void paint(GraphicsContext&, const CullRect&) const;
+
+ private:
+ const RemoteFrameView& m_frameView;
+ mutable sk_sp<SkFutureDrawable> drawable_;
+};
+
+} // namespace blink
+
+#endif // RemoteFramePainter_h
« no previous file with comments | « third_party/WebKit/Source/core/paint/FramePainter.cpp ('k') | third_party/WebKit/Source/core/paint/RemoteFramePainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698