Cast: Stop logging kVideoFrameSentToEncoder and rename a couple events.
[chromium-blink-merge.git] / content / renderer / render_view_impl_params.h
blob4dcd75345f81932a45ba2dfc66c08a22d0714d73
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
3 // found in the LICENSE file.
5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_PARAMS_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_PARAMS_H_
8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h"
10 #include "base/strings/string16.h"
11 #include "content/common/content_export.h"
12 #include "content/common/view_message_enums.h"
14 struct WebPreferences;
16 namespace blink {
17 struct WebScreenInfo;
20 namespace content {
22 struct RendererPreferences;
24 // Container for all parameters passed to RenderViewImpl's constructor.
25 struct CONTENT_EXPORT RenderViewImplParams {
26 RenderViewImplParams(int32 opener_id,
27 bool window_was_created_with_opener,
28 const RendererPreferences& renderer_prefs,
29 const WebPreferences& webkit_prefs,
30 int32 routing_id,
31 int32 main_frame_routing_id,
32 int32 surface_id,
33 int64 session_storage_namespace_id,
34 const base::string16& frame_name,
35 bool is_renderer_created,
36 bool swapped_out,
37 bool hidden,
38 bool never_visible,
39 int32 next_page_id,
40 const blink::WebScreenInfo& screen_info,
41 AccessibilityMode accessibility_mode);
42 ~RenderViewImplParams();
44 int32 opener_id;
45 bool window_was_created_with_opener;
46 const RendererPreferences& renderer_prefs;
47 const WebPreferences& webkit_prefs;
48 int32 routing_id;
49 int32 main_frame_routing_id;
50 int32 surface_id;
51 int64 session_storage_namespace_id;
52 const base::string16& frame_name;
53 bool is_renderer_created;
54 bool swapped_out;
55 bool hidden;
56 bool never_visible;
57 int32 next_page_id;
58 const blink::WebScreenInfo& screen_info;
59 AccessibilityMode accessibility_mode;
62 } // namespace content
64 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_PARAMS_H_