Chromium Code Reviews| Index: third_party/WebKit/Source/core/frame/RemoteFrameView.h |
| diff --git a/third_party/WebKit/Source/core/frame/RemoteFrameView.h b/third_party/WebKit/Source/core/frame/RemoteFrameView.h |
| index 3a1f93d5d18debe5d46bcccdd143ac20389d5cbe..886ec9a3d63e85ca2d5dee5f8dcd5e6df63e1fa9 100644 |
| --- a/third_party/WebKit/Source/core/frame/RemoteFrameView.h |
| +++ b/third_party/WebKit/Source/core/frame/RemoteFrameView.h |
| @@ -5,15 +5,20 @@ |
| #ifndef RemoteFrameView_h |
| #define RemoteFrameView_h |
| +#include "core/frame/FrameOrPlugin.h" |
| #include "platform/FrameViewBase.h" |
| #include "platform/geometry/IntRect.h" |
| #include "platform/heap/Handle.h" |
| namespace blink { |
| +class CullRect; |
| +class GraphicsContext; |
| class RemoteFrame; |
| -class RemoteFrameView final : public FrameViewBase { |
| +class RemoteFrameView final : public FrameViewBase, public FrameOrPlugin { |
| + USING_GARBAGE_COLLECTED_MIXIN(RemoteFrameView); |
| + |
| public: |
| static RemoteFrameView* Create(RemoteFrame*); |
| @@ -30,8 +35,12 @@ class RemoteFrameView final : public FrameViewBase { |
| void Dispose() override; |
| // Override to notify remote frame that its viewport size has changed. |
| void FrameRectsChanged() override; |
| - void InvalidateRect(const IntRect&) override; |
| + void InvalidateRect(const IntRect&); |
| void SetFrameRect(const IntRect&) override; |
| + const IntRect& FrameRect() const override { |
| + return FrameViewBase::FrameRect(); |
| + } |
| + void Paint(GraphicsContext&, const CullRect&) const override {} |
|
dcheng
2017/04/17 21:09:04
This is a bit tricky, because this overrides metho
joelhockey
2017/04/18 00:42:41
I would rather have FrameOrPlugin class be in core
dcheng
2017/04/18 00:56:31
Hmm. I guess this is fine for now given the reduce
|
| void Hide() override; |
| void Show() override; |
| void SetParentVisible(bool) override; |