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

Side by Side Diff: content/renderer/render_view_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: Ready for review 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_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 // Creates a new RenderView. |opener_id| is the routing ID of the RenderView 174 // Creates a new RenderView. |opener_id| is the routing ID of the RenderView
175 // responsible for creating this RenderView. Note that if the original opener 175 // responsible for creating this RenderView. Note that if the original opener
176 // has been closed, |window_was_created_with_opener| will be true and 176 // has been closed, |window_was_created_with_opener| will be true and
177 // |opener_id| will be MSG_ROUTING_NONE. 177 // |opener_id| will be MSG_ROUTING_NONE.
178 static RenderViewImpl* Create(int32 opener_id, 178 static RenderViewImpl* Create(int32 opener_id,
179 bool window_was_created_with_opener, 179 bool window_was_created_with_opener,
180 const RendererPreferences& renderer_prefs, 180 const RendererPreferences& renderer_prefs,
181 const WebPreferences& webkit_prefs, 181 const WebPreferences& webkit_prefs,
182 int32 routing_id, 182 int32 routing_id,
183 int32 main_frame_routing_id, 183 int32 main_frame_routing_id,
184 int32 proxy_routing_id,
Charlie Reis 2014/05/15 00:32:50 This should be documented (and perhaps moved near
nasko 2014/05/15 18:47:13 Done.
184 int32 surface_id, 185 int32 surface_id,
185 int64 session_storage_namespace_id, 186 int64 session_storage_namespace_id,
186 const base::string16& frame_name, 187 const base::string16& frame_name,
187 bool is_renderer_created, 188 bool is_renderer_created,
188 bool swapped_out, 189 bool swapped_out,
189 bool hidden, 190 bool hidden,
190 bool never_visible, 191 bool never_visible,
191 int32 next_page_id, 192 int32 next_page_id,
192 const blink::WebScreenInfo& screen_info, 193 const blink::WebScreenInfo& screen_info,
193 AccessibilityMode accessibility_mode); 194 AccessibilityMode accessibility_mode);
(...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after
1212 // use the Observer interface to filter IPC messages and receive frame change 1213 // use the Observer interface to filter IPC messages and receive frame change
1213 // notifications. 1214 // notifications.
1214 // --------------------------------------------------------------------------- 1215 // ---------------------------------------------------------------------------
1215 1216
1216 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1217 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1217 }; 1218 };
1218 1219
1219 } // namespace content 1220 } // namespace content
1220 1221
1221 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1222 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698