OLD | NEW |
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/strings/string16.h" | 10 #include "base/strings/string16.h" |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 #include "content/common/view_message_enums.h" | 12 #include "content/common/view_message_enums.h" |
13 | 13 |
14 struct WebPreferences; | |
15 | |
16 namespace blink { | 14 namespace blink { |
17 struct WebScreenInfo; | 15 struct WebScreenInfo; |
18 } | 16 } |
19 | 17 |
20 namespace content { | 18 namespace content { |
21 | 19 |
22 struct RendererPreferences; | 20 struct RendererPreferences; |
| 21 struct WebPreferences; |
23 | 22 |
24 // Container for all parameters passed to RenderViewImpl's constructor. | 23 // Container for all parameters passed to RenderViewImpl's constructor. |
25 struct CONTENT_EXPORT RenderViewImplParams { | 24 struct CONTENT_EXPORT RenderViewImplParams { |
26 RenderViewImplParams(int32 opener_id, | 25 RenderViewImplParams(int32 opener_id, |
27 bool window_was_created_with_opener, | 26 bool window_was_created_with_opener, |
28 const RendererPreferences& renderer_prefs, | 27 const RendererPreferences& renderer_prefs, |
29 const WebPreferences& webkit_prefs, | 28 const WebPreferences& webkit_prefs, |
30 int32 routing_id, | 29 int32 routing_id, |
31 int32 main_frame_routing_id, | 30 int32 main_frame_routing_id, |
32 int32 surface_id, | 31 int32 surface_id, |
(...skipping 24 matching lines...) Expand all Loading... |
57 bool hidden; | 56 bool hidden; |
58 bool never_visible; | 57 bool never_visible; |
59 int32 next_page_id; | 58 int32 next_page_id; |
60 const blink::WebScreenInfo& screen_info; | 59 const blink::WebScreenInfo& screen_info; |
61 AccessibilityMode accessibility_mode; | 60 AccessibilityMode accessibility_mode; |
62 }; | 61 }; |
63 | 62 |
64 } // namespace content | 63 } // namespace content |
65 | 64 |
66 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_PARAMS_H_ | 65 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_PARAMS_H_ |
OLD | NEW |