forked from cztomczak/cefpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcef_types_wrappers.pxd
More file actions
169 lines (155 loc) · 6.36 KB
/
cef_types_wrappers.pxd
File metadata and controls
169 lines (155 loc) · 6.36 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
# Copyright (c) 2012-2014 The CEF Python authors. All rights reserved.
# License: New BSD License.
# Website: http://code.google.com/p/cefpython/
include "compile_time_constants.pxi"
from libcpp cimport bool as cpp_bool
from cef_string cimport cef_string_t
IF CEF_VERSION == 3:
from cef_types cimport cef_state_t
from cef_types cimport cef_color_t
cdef extern from "include/internal/cef_types_wrappers.h":
cdef cppclass CefStructBase:
pass
IF CEF_VERSION == 1:
ctypedef struct CefSettings:
cpp_bool multi_threaded_message_loop
cef_string_t cache_path
cef_string_t user_agent
cef_string_t product_version
cef_string_t locale
cef_string_t log_file
int log_severity
cpp_bool release_dcheck_enabled
int graphics_implementation
unsigned int local_storage_quota
unsigned int session_storage_quota
cef_string_t javascript_flags
cpp_bool auto_detect_proxy_settings_enabled
cef_string_t resources_dir_path
cef_string_t locales_dir_path
cpp_bool pack_loading_disabled
int uncaught_exception_stack_size
ELIF CEF_VERSION == 3:
# Sorted the same as in cef_types.h
ctypedef struct CefSettings:
cpp_bool single_process
cef_string_t browser_subprocess_path
cpp_bool multi_threaded_message_loop
cpp_bool command_line_args_disabled
cef_string_t cache_path
cpp_bool persist_session_cookies
cef_string_t user_agent
cef_string_t product_version
cef_string_t locale
cef_string_t log_file
int log_severity
cpp_bool release_dcheck_enabled
cef_string_t javascript_flags
cef_string_t resources_dir_path
cef_string_t locales_dir_path
cpp_bool pack_loading_disabled
int remote_debugging_port
int uncaught_exception_stack_size
int context_safety_implementation # Not exposed.
cpp_bool ignore_certificate_errors
cef_color_t background_color
IF CEF_VERSION == 1:
ctypedef struct CefBrowserSettings:
int animation_frame_rate
cpp_bool drag_drop_disabled
cpp_bool load_drops_disabled
cpp_bool history_disabled
cef_string_t standard_font_family
cef_string_t fixed_font_family
cef_string_t serif_font_family
cef_string_t sans_serif_font_family
cef_string_t cursive_font_family
cef_string_t fantasy_font_family
int default_font_size
int default_fixed_font_size
int minimum_font_size
int minimum_logical_font_size
cpp_bool remote_fonts_disabled
cef_string_t default_encoding
cpp_bool encoding_detector_enabled
cpp_bool javascript_disabled
cpp_bool javascript_open_windows_disallowed
cpp_bool javascript_close_windows_disallowed
cpp_bool javascript_access_clipboard_disallowed
cpp_bool dom_paste_disabled
cpp_bool caret_browsing_enabled
cpp_bool java_disabled
cpp_bool plugins_disabled
cpp_bool universal_access_from_file_urls_allowed
cpp_bool file_access_from_file_urls_allowed
cpp_bool web_security_disabled
cpp_bool xss_auditor_enabled
cpp_bool image_load_disabled
cpp_bool shrink_standalone_images_to_fit
cpp_bool site_specific_quirks_disabled
cpp_bool text_area_resize_disabled
cpp_bool page_cache_disabled
cpp_bool tab_to_links_disabled
cpp_bool hyperlink_auditing_disabled
cpp_bool user_style_sheet_enabled
cef_string_t user_style_sheet_location
cpp_bool author_and_user_styles_disabled
cpp_bool local_storage_disabled
cpp_bool databases_disabled
cpp_bool application_cache_disabled
cpp_bool webgl_disabled
cpp_bool accelerated_compositing_enabled
cpp_bool accelerated_layers_disabled
cpp_bool accelerated_video_disabled
cpp_bool accelerated_2d_canvas_disabled
cpp_bool accelerated_filters_disabled
cpp_bool accelerated_plugins_disabled
cpp_bool developer_tools_disabled
cpp_bool fullscreen_enabled
ELIF CEF_VERSION == 3:
# Sorted the same as in cef_types.h
ctypedef struct CefBrowserSettings:
cef_string_t standard_font_family
cef_string_t fixed_font_family
cef_string_t serif_font_family
cef_string_t sans_serif_font_family
cef_string_t cursive_font_family
cef_string_t fantasy_font_family
int default_font_size
int default_fixed_font_size
int minimum_font_size
int minimum_logical_font_size
cef_string_t default_encoding
cef_string_t user_style_sheet_location
cef_state_t remote_fonts
cef_state_t javascript
cef_state_t javascript_open_windows
cef_state_t javascript_close_windows
cef_state_t javascript_access_clipboard
cef_state_t javascript_dom_paste
cef_state_t caret_browsing
cef_state_t java
cef_state_t plugins
cef_state_t universal_access_from_file_urls
cef_state_t file_access_from_file_urls
cef_state_t web_security
cef_state_t image_loading
cef_state_t image_shrink_standalone_to_fit
cef_state_t text_area_resize
cef_state_t tab_to_links
cef_state_t author_and_user_styles
cef_state_t local_storage
cef_state_t databases
cef_state_t application_cache
cef_state_t webgl
cef_state_t accelerated_compositing
IF CEF_VERSION == 1:
cdef cppclass CefRect:
int x, y, width, height
CefRect()
CefRect(int x, int y, int width, int height)
ELIF CEF_VERSION == 3:
cdef cppclass CefRect:
int x, y, width, height
CefRect()
CefRect(int x, int y, int width, int height)