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

Side by Side 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, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef RemoteFramePainter_h
6 #define RemoteFramePainter_h
7
8 #include "skia/ext/SkFutureDrawable.h"
9
10 namespace blink {
11
12 class CullRect;
13 class GraphicsContext;
14 class RemoteFrameView;
15
16 class RemoteFramePainter {
17 STACK_ALLOCATED();
18
19 public:
20 RemoteFramePainter(const RemoteFrameView& view) : m_frameView(view) {}
21
22 void paint(GraphicsContext&, const CullRect&) const;
23
24 private:
25 const RemoteFrameView& m_frameView;
26 mutable sk_sp<SkFutureDrawable> drawable_;
27 };
28
29 } // namespace blink
30
31 #endif // RemoteFramePainter_h
OLDNEW
« 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