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

Unified Diff: public/web/WebFrame.h

Issue 1319863006: (blink) Propagate scrolling/marginwidth/marginheight property values to child frame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update. Created 5 years, 4 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
Index: public/web/WebFrame.h
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h
index ee3a1b42d12eff522d8215da2f6f4b6c8d6d71c3..115302fc812218076540ae7adf6216d7d46c3d85 100644
--- a/public/web/WebFrame.h
+++ b/public/web/WebFrame.h
@@ -42,6 +42,7 @@
#include "public/platform/WebReferrerPolicy.h"
#include "public/platform/WebURL.h"
#include "public/platform/WebURLRequest.h"
+#include "public/web/WebFrameOwnerProperties.h"
#include "public/web/WebTreeScopeType.h"
struct NPObject;
@@ -173,6 +174,12 @@ public:
// navigation.
BLINK_EXPORT void setFrameOwnerSandboxFlags(WebSandboxFlags);
+ // Updates the scrolling and margin properties in the frame's FrameOwner.
+ // This is used when this frame's parent is in another process and it
+ // dynamically updates these properties. The flags won't take effect until
+ // the next navigation.
+ BLINK_EXPORT void setFrameOwnerProperties(const WebFrameOwnerProperties&);
+
// Geometry -----------------------------------------------------------
// NOTE: These routines do not force page layout so their results may

Powered by Google App Engine
This is Rietveld 408576698