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

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: address comments from Alex 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
Index: public/web/WebFrame.h
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h
index ee3a1b42d12eff522d8215da2f6f4b6c8d6d71c3..7e2fec2b521d38103d92e5a60f6b1d8e0f291fa3 100644
--- a/public/web/WebFrame.h
+++ b/public/web/WebFrame.h
@@ -80,6 +80,7 @@ struct WebConsoleMessage;
struct WebFindOptions;
struct WebFloatPoint;
struct WebFloatRect;
+struct WebFrameOwnerProperties;
struct WebPoint;
struct WebPrintParams;
struct WebRect;
@@ -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&);
dcheng 2015/09/15 21:52:47 Like sandbox, these are properties of the frame el
lazyboy 2015/09/15 23:50:30 yes. Would it make
alexmos 2015/09/16 00:36:47 I've been thinking about this too. It'd be great
+
// Geometry -----------------------------------------------------------
// NOTE: These routines do not force page layout so their results may

Powered by Google App Engine
This is Rietveld 408576698