Index: Source/web/RemoteBridgeFrameOwner.h |
diff --git a/Source/web/RemoteBridgeFrameOwner.h b/Source/web/RemoteBridgeFrameOwner.h |
index a022f820f100afb064a97e947597d6924aae8410..8db447fab31976219f33756b8ca94bc7c9461e29 100644 |
--- a/Source/web/RemoteBridgeFrameOwner.h |
+++ b/Source/web/RemoteBridgeFrameOwner.h |
@@ -6,6 +6,7 @@ |
#define RemoteBridgeFrameOwner_h |
#include "core/frame/FrameOwner.h" |
+#include "platform/scroll/ScrollTypes.h" |
#include "web/WebLocalFrameImpl.h" |
namespace blink { |
@@ -50,6 +51,14 @@ public: |
// TODO(dcheng): Implement. |
} |
+ void setScrollingMode(ScrollbarMode mode) { m_scrolling = mode; } |
+ void setMarginWidth(int marginWidth) { m_marginWidth = marginWidth; } |
+ void setMarginHeight(int marginHeight) { m_marginHeight = marginHeight; } |
+ |
+ ScrollbarMode scrollingMode() const override { return m_scrolling; } |
+ int marginWidth() const override { return m_marginWidth; } |
+ int marginHeight() const override { return m_marginHeight; } |
+ |
DECLARE_VIRTUAL_TRACE(); |
private: |
@@ -57,6 +66,9 @@ private: |
RefPtrWillBeMember<WebLocalFrameImpl> m_frame; |
SandboxFlags m_sandboxFlags; |
+ ScrollbarMode m_scrolling; |
+ int m_marginWidth; |
+ int m_marginHeight; |
}; |
DEFINE_TYPE_CASTS(RemoteBridgeFrameOwner, FrameOwner, owner, !owner->isLocal(), !owner.isLocal()); |