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

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

Issue 600553003: Enable swapping a frame back in to its parent process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remoteToLocal
Patch Set: Created 6 years, 1 month 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_impl.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_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 void AccessibilityHitTest(const gfx::Point& point) override; 141 void AccessibilityHitTest(const gfx::Point& point) override;
142 void AccessibilityFatalError() override; 142 void AccessibilityFatalError() override;
143 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; 143 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override;
144 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; 144 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override;
145 BrowserAccessibilityManager* AccessibilityGetChildFrame( 145 BrowserAccessibilityManager* AccessibilityGetChildFrame(
146 int accessibility_node_id) override; 146 int accessibility_node_id) override;
147 BrowserAccessibility* AccessibilityGetParentFrame() override; 147 BrowserAccessibility* AccessibilityGetParentFrame() override;
148 148
149 // Creates a RenderFrame in the renderer process. Only called for 149 // Creates a RenderFrame in the renderer process. Only called for
150 // cross-process subframe navigations in --site-per-process. 150 // cross-process subframe navigations in --site-per-process.
151 bool CreateRenderFrame(int parent_routing_id); 151 bool CreateRenderFrame(int parent_routing_id, int proxy_routing_id);
152 152
153 // Returns whether the RenderFrame in the renderer process has been created 153 // Returns whether the RenderFrame in the renderer process has been created
154 // and still has a connection. This is valid for all frames. 154 // and still has a connection. This is valid for all frames.
155 bool IsRenderFrameLive(); 155 bool IsRenderFrameLive();
156 156
157 // Tracks whether the RenderFrame for this RenderFrameHost has been created in 157 // Tracks whether the RenderFrame for this RenderFrameHost has been created in
158 // the renderer process. This is currently only used for subframes. 158 // the renderer process. This is currently only used for subframes.
159 // TODO(creis): Use this for main frames as well when RVH goes away. 159 // TODO(creis): Use this for main frames as well when RVH goes away.
160 void set_render_frame_created(bool created) { 160 void set_render_frame_created(bool created) {
161 render_frame_created_ = created; 161 render_frame_created_ = created;
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 601
602 // NOTE: This must be the last member. 602 // NOTE: This must be the last member.
603 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 603 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
604 604
605 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 605 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
606 }; 606 };
607 607
608 } // namespace content 608 } // namespace content
609 609
610 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 610 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698