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

Unified Diff: Source/web/RemoteBridgeFrameOwner.cpp

Issue 1319863006: (blink) Propagate scrolling/marginwidth/marginheight property values to child frame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address nits Created 5 years, 3 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
« no previous file with comments | « Source/web/RemoteBridgeFrameOwner.h ('k') | Source/web/WebFrame.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/RemoteBridgeFrameOwner.cpp
diff --git a/Source/web/RemoteBridgeFrameOwner.cpp b/Source/web/RemoteBridgeFrameOwner.cpp
index 51afd66fa37a425ddd54e99086b26770d93273cb..71df3bfe36e2c4eb2aa8c5403d8c222535072e1e 100644
--- a/Source/web/RemoteBridgeFrameOwner.cpp
+++ b/Source/web/RemoteBridgeFrameOwner.cpp
@@ -9,9 +9,12 @@
namespace blink {
-RemoteBridgeFrameOwner::RemoteBridgeFrameOwner(PassRefPtrWillBeRawPtr<WebLocalFrameImpl> frame, SandboxFlags flags)
+RemoteBridgeFrameOwner::RemoteBridgeFrameOwner(PassRefPtrWillBeRawPtr<WebLocalFrameImpl> frame, SandboxFlags flags, const WebFrameOwnerProperties& frameOwnerProperties)
: m_frame(frame)
, m_sandboxFlags(flags)
+ , m_scrolling(static_cast<ScrollbarMode>(frameOwnerProperties.scrollingMode))
+ , m_marginWidth(frameOwnerProperties.marginWidth)
+ , m_marginHeight(frameOwnerProperties.marginHeight)
{
}
« no previous file with comments | « Source/web/RemoteBridgeFrameOwner.h ('k') | Source/web/WebFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698