| 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
|
|
|