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

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 for tests + merge blink/cr changes. 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: 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..2db185d25f423b8fe4e782a75e8a7be1363655fd 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,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.
alexmos 2015/10/02 21:24:20 Nit, remove last sentence, as it's the same as TOD
lazyboy 2015/10/05 22:16:09 Done.
+ // TODO(dcheng): Currently, the update only takes effect on next frame
+ // navigation.
alexmos 2015/10/02 21:24:20 nit: mention that this matches same-process behavi
lazyboy 2015/10/05 22:16:09 Done.
+ 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