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

Unified Diff: Source/web/WebFrameImpl.h

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 | « no previous file | Source/web/WebFrameImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebFrameImpl.h
diff --git a/Source/web/WebFrameImpl.h b/Source/web/WebFrameImpl.h
index 836d4908d050c441a59e3228e6a0346885a6c7a9..a1fe6c689cff009d92bd948bffbe8a2ced810fad 100644
--- a/Source/web/WebFrameImpl.h
+++ b/Source/web/WebFrameImpl.h
@@ -81,6 +81,7 @@ public:
virtual void setName(const WebString&) OVERRIDE;
virtual long long embedderIdentifier() const OVERRIDE;
virtual WebVector<WebIconURL> iconURLs(int iconTypesMask) const OVERRIDE;
+ virtual void setIsRemote(bool) OVERRIDE;
virtual void setRemoteWebLayer(WebLayer*) OVERRIDE;
virtual void setPermissionClient(WebPermissionClient*) OVERRIDE;
virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient*) OVERRIDE;
@@ -440,6 +441,10 @@ private:
// reference is released when the frame is removed from the DOM or the entire page is closed.
RefPtr<WebCore::Frame> m_frame;
+ // Indicate whether the current Frame is local or remote. Remote frames are
+ // rendered in a different process from their parent frames.
+ bool m_isRemote;
+
WebFrameClient* m_client;
WebPermissionClient* m_permissionClient;
OwnPtr<SharedWorkerRepositoryClientImpl> m_sharedWorkerRepositoryClient;
« no previous file with comments | « no previous file | Source/web/WebFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698