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

Unified Diff: Source/web/WebFrameImpl.cpp

Issue 135163006: WebFrame exports size information for remote frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Resolved merge conflict with master Created 6 years, 10 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 | « Source/web/WebFrameImpl.h ('k') | public/web/WebFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebFrameImpl.cpp
diff --git a/Source/web/WebFrameImpl.cpp b/Source/web/WebFrameImpl.cpp
index 154e194331c44216ec7c3a6d8d34f3a2fd7e2128..23e2ee33ba8078e70fd1a4fb357e5eef01a6f061 100644
--- a/Source/web/WebFrameImpl.cpp
+++ b/Source/web/WebFrameImpl.cpp
@@ -554,6 +554,13 @@ WebVector<WebIconURL> WebFrameImpl::iconURLs(int iconTypesMask) const
return WebVector<WebIconURL>();
}
+void WebFrameImpl::setIsRemote(bool isRemote)
+{
+ m_isRemote = isRemote;
+ if (isRemote)
+ client()->initializeChildFrame(frame()->view()->frameRect(), frame()->view()->visibleContentScaleFactor());
+}
+
void WebFrameImpl::setRemoteWebLayer(WebLayer* webLayer)
{
if (!frame())
« no previous file with comments | « Source/web/WebFrameImpl.h ('k') | public/web/WebFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698