blob: 19db5ebaa7ddd41825be1a139d41cf419318b1f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_PARAMS_H_
#define CONTENT_RENDERER_RENDER_VIEW_IMPL_PARAMS_H_
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
#include "base/string16.h"
#include "content/common/content_export.h"
#include "content/common/view_message_enums.h"
namespace WebKit {
struct WebScreenInfo;
}
namespace webkit_glue {
struct WebPreferences;
}
namespace content {
struct RendererPreferences;
typedef base::RefCountedData<int> SharedRenderViewCounter;
// Container for all parameters passed to RenderViewImpl's constructor.
struct CONTENT_EXPORT RenderViewImplParams {
RenderViewImplParams(int32 opener_id,
const RendererPreferences& renderer_prefs,
const webkit_glue::WebPreferences& webkit_prefs,
SharedRenderViewCounter* counter,
int32 routing_id,
int32 surface_id,
int64 session_storage_namespace_id,
const string16& frame_name,
bool is_renderer_created,
bool swapped_out,
int32 next_page_id,
const WebKit::WebScreenInfo& screen_info,
AccessibilityMode accessibility_mode);
~RenderViewImplParams();
int32 opener_id;
const RendererPreferences& renderer_prefs;
const webkit_glue::WebPreferences& webkit_prefs;
SharedRenderViewCounter* counter;
int32 routing_id;
int32 surface_id;
int64 session_storage_namespace_id;
const string16& frame_name;
bool is_renderer_created;
bool swapped_out;
int32 next_page_id;
const WebKit::WebScreenInfo& screen_info;
AccessibilityMode accessibility_mode;
};
} // namespace content
#endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_PARAMS_H_
|