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

Side by Side Diff: content/renderer/render_view_impl_params.h

Issue 16032007: Create RenderFrame/RenderFrameHost for the main frame of a page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing routing ID expectations. Created 7 years, 6 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
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_view_impl_params.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 (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_PARAMS_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_PARAMS_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_PARAMS_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_PARAMS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 11 matching lines...) Expand all
22 struct RendererPreferences; 22 struct RendererPreferences;
23 typedef base::RefCountedData<int> SharedRenderViewCounter; 23 typedef base::RefCountedData<int> SharedRenderViewCounter;
24 24
25 // Container for all parameters passed to RenderViewImpl's constructor. 25 // Container for all parameters passed to RenderViewImpl's constructor.
26 struct CONTENT_EXPORT RenderViewImplParams { 26 struct CONTENT_EXPORT RenderViewImplParams {
27 RenderViewImplParams(int32 opener_id, 27 RenderViewImplParams(int32 opener_id,
28 const RendererPreferences& renderer_prefs, 28 const RendererPreferences& renderer_prefs,
29 const WebPreferences& webkit_prefs, 29 const WebPreferences& webkit_prefs,
30 SharedRenderViewCounter* counter, 30 SharedRenderViewCounter* counter,
31 int32 routing_id, 31 int32 routing_id,
32 int32 main_frame_routing_id,
32 int32 surface_id, 33 int32 surface_id,
33 int64 session_storage_namespace_id, 34 int64 session_storage_namespace_id,
34 const string16& frame_name, 35 const string16& frame_name,
35 bool is_renderer_created, 36 bool is_renderer_created,
36 bool swapped_out, 37 bool swapped_out,
37 int32 next_page_id, 38 int32 next_page_id,
38 const WebKit::WebScreenInfo& screen_info, 39 const WebKit::WebScreenInfo& screen_info,
39 AccessibilityMode accessibility_mode, 40 AccessibilityMode accessibility_mode,
40 bool allow_partial_swap); 41 bool allow_partial_swap);
41 ~RenderViewImplParams(); 42 ~RenderViewImplParams();
42 43
43 int32 opener_id; 44 int32 opener_id;
44 const RendererPreferences& renderer_prefs; 45 const RendererPreferences& renderer_prefs;
45 const WebPreferences& webkit_prefs; 46 const WebPreferences& webkit_prefs;
46 SharedRenderViewCounter* counter; 47 SharedRenderViewCounter* counter;
47 int32 routing_id; 48 int32 routing_id;
49 int32 main_frame_routing_id;
48 int32 surface_id; 50 int32 surface_id;
49 int64 session_storage_namespace_id; 51 int64 session_storage_namespace_id;
50 const string16& frame_name; 52 const string16& frame_name;
51 bool is_renderer_created; 53 bool is_renderer_created;
52 bool swapped_out; 54 bool swapped_out;
53 int32 next_page_id; 55 int32 next_page_id;
54 const WebKit::WebScreenInfo& screen_info; 56 const WebKit::WebScreenInfo& screen_info;
55 AccessibilityMode accessibility_mode; 57 AccessibilityMode accessibility_mode;
56 bool allow_partial_swap; 58 bool allow_partial_swap;
57 }; 59 };
58 60
59 } // namespace content 61 } // namespace content
60 62
61 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_PARAMS_H_ 63 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_PARAMS_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_view_impl_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698