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

Unified Diff: third_party/WebKit/public/web/WebFrame.h

Issue 1307013004: Propagate scrolling/marginwidth/marginheight property values to child frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from Daniel Created 5 years, 2 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: third_party/WebKit/public/web/WebFrame.h
diff --git a/third_party/WebKit/public/web/WebFrame.h b/third_party/WebKit/public/web/WebFrame.h
index ee3a1b42d12eff522d8215da2f6f4b6c8d6d71c3..e8695d073e3b91281523f33c4b1515a7071cbf41 100644
--- a/third_party/WebKit/public/web/WebFrame.h
+++ b/third_party/WebKit/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,13 @@ 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.
+ // TODO(dcheng): Currently, the update only takes effect on next frame
+ // navigation. This matches the in-process frame behavior.
+ 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