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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 281663002: Create RenderFrameProxyHost at time of swap-out instead of commit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix IPC_BEGIN_MESSAGE_MAP macro, as _EX version doesn't exist anymore. Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 } 225 }
226 226
227 // Set up the RenderView child process. Virtual because it is overridden by 227 // Set up the RenderView child process. Virtual because it is overridden by
228 // TestRenderViewHost. If the |frame_name| parameter is non-empty, it is used 228 // TestRenderViewHost. If the |frame_name| parameter is non-empty, it is used
229 // as the name of the new top-level frame. 229 // as the name of the new top-level frame.
230 // The |opener_route_id| parameter indicates which RenderView created this 230 // The |opener_route_id| parameter indicates which RenderView created this
231 // (MSG_ROUTING_NONE if none). If |max_page_id| is larger than -1, the 231 // (MSG_ROUTING_NONE if none). If |max_page_id| is larger than -1, the
232 // RenderView is told to start issuing page IDs at |max_page_id| + 1. 232 // RenderView is told to start issuing page IDs at |max_page_id| + 1.
233 // |window_was_created_with_opener| is true if this top-level frame was 233 // |window_was_created_with_opener| is true if this top-level frame was
234 // created with an opener. (The opener may have been closed since.) 234 // created with an opener. (The opener may have been closed since.)
235 // The |proxy_route_id| is only used when creating a RenderView in swapped out
236 // state.
235 virtual bool CreateRenderView(const base::string16& frame_name, 237 virtual bool CreateRenderView(const base::string16& frame_name,
236 int opener_route_id, 238 int opener_route_id,
239 int proxy_route_id,
237 int32 max_page_id, 240 int32 max_page_id,
238 bool window_was_created_with_opener); 241 bool window_was_created_with_opener);
239 242
240 base::TerminationStatus render_view_termination_status() const { 243 base::TerminationStatus render_view_termination_status() const {
241 return render_view_termination_status_; 244 return render_view_termination_status_;
242 } 245 }
243 246
244 // Returns the content specific prefs for this RenderViewHost. 247 // Returns the content specific prefs for this RenderViewHost.
245 WebPreferences GetWebkitPrefs(const GURL& url); 248 WebPreferences GetWebkitPrefs(const GURL& url);
246 249
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 649 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
647 }; 650 };
648 651
649 #if defined(COMPILER_MSVC) 652 #if defined(COMPILER_MSVC)
650 #pragma warning(pop) 653 #pragma warning(pop)
651 #endif 654 #endif
652 655
653 } // namespace content 656 } // namespace content
654 657
655 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 658 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_proxy_host.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698