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

Side by Side Diff: content/browser/frame_host/render_frame_host_manager.h

Issue 1685213002: Propagate window coordinates to out-of-process iframes renderers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sendscreenrects
Patch Set: properly rebasing Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 void CreateOuterDelegateProxy(SiteInstance* outer_contents_site_instance, 480 void CreateOuterDelegateProxy(SiteInstance* outer_contents_site_instance,
481 RenderFrameHostImpl* render_frame_host); 481 RenderFrameHostImpl* render_frame_host);
482 482
483 // Sets the child RenderWidgetHostView for this frame, which must be part of 483 // Sets the child RenderWidgetHostView for this frame, which must be part of
484 // an inner WebContents. 484 // an inner WebContents.
485 void SetRWHViewForInnerContents(RenderWidgetHostView* child_rwhv); 485 void SetRWHViewForInnerContents(RenderWidgetHostView* child_rwhv);
486 486
487 // Returns the number of RenderFrameProxyHosts for this frame. 487 // Returns the number of RenderFrameProxyHosts for this frame.
488 int GetProxyCount(); 488 int GetProxyCount();
489 489
490 // Sends an IPC message to every process in the FrameTree. This should only be
491 // called in the top-level RenderFrameHostManager.
492 void SendPageMessage(IPC::Message* msg);
493
490 // Returns a const reference to the map of proxy hosts. The keys are 494 // Returns a const reference to the map of proxy hosts. The keys are
491 // SiteInstance IDs, the values are RenderFrameProxyHosts. 495 // SiteInstance IDs, the values are RenderFrameProxyHosts.
492 const std::unordered_map<int32_t, scoped_ptr<RenderFrameProxyHost>>& 496 const std::unordered_map<int32_t, scoped_ptr<RenderFrameProxyHost>>&
493 GetAllProxyHostsForTesting() const { 497 GetAllProxyHostsForTesting() const {
494 return proxy_hosts_; 498 return proxy_hosts_;
495 } 499 }
496 500
497 // SiteInstanceImpl::Observer 501 // SiteInstanceImpl::Observer
498 void ActiveFrameCountIsZero(SiteInstanceImpl* site_instance) override; 502 void ActiveFrameCountIsZero(SiteInstanceImpl* site_instance) override;
499 void RenderProcessGone(SiteInstanceImpl* site_instance) override; 503 void RenderProcessGone(SiteInstanceImpl* site_instance) override;
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 scoped_ptr<RenderFrameHostImpl> speculative_render_frame_host_; 782 scoped_ptr<RenderFrameHostImpl> speculative_render_frame_host_;
779 783
780 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; 784 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_;
781 785
782 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); 786 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager);
783 }; 787 };
784 788
785 } // namespace content 789 } // namespace content
786 790
787 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 791 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698