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

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 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 | « public/blink_headers.gypi ('k') | public/web/WebFrameClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrame.h
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h
index ee3a1b42d12eff522d8215da2f6f4b6c8d6d71c3..2db185d25f423b8fe4e782a75e8a7be1363655fd 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,14 @@ 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.
+ // TODO(dcheng): Currently, the update only takes effect on next frame
+ // navigation.
+ BLINK_EXPORT void setFrameOwnerProperties(const WebFrameOwnerProperties&);
+
// Geometry -----------------------------------------------------------
// NOTE: These routines do not force page layout so their results may
« no previous file with comments | « public/blink_headers.gypi ('k') | public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698