FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cefpython/src/extern/cef/cef_types.pxd at cefpython53 · pythonthings/cefpython · GitHub
pythonthings
cefpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cefpython
/
src
/
extern
/
cef
/
cef_types.pxd
Copy path
More file actions
More file actions
Latest commit
History
History
History
364 lines (327 loc) · 11.1 KB
Breadcrumbs
cefpython
/
src
/
extern
/
cef
/
cef_types.pxd
Copy path
File metadata and controls
364 lines (327 loc) · 11.1 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
#
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
#
noinspection PyUnresolvedReferences
from
libc.stddef cimport wchar_t
from
cef_string cimport cef_string_t
#
noinspection PyUnresolvedReferences
from
libc.limits cimport UINT_MAX
cdef extern
from
"
include/internal/cef_types.h
"
:
ctypedef
unsigned
int
uint32
ctypedef
int
int32
ctypedef
long
long
int64
ctypedef
unsigned
long
long
uint64
IF
UNAME_SYSNAME
==
"
Windows
"
:
#
noinspection PyUnresolvedReferences
ctypedef wchar_t char16
ELSE
:
ctypedef
unsigned
short
char16
ctypedef uint32 cef_color_t
ctypedef
struct
CefSettings:
cef_string_t accept_language_list
int
single_process
cef_string_t browser_subprocess_path
int
multi_threaded_message_loop
int
command_line_args_disabled
cef_string_t cache_path
int
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
cef_string_t javascript_flags
cef_string_t resources_dir_path
cef_string_t locales_dir_path
int
pack_loading_disabled
int
remote_debugging_port
int
uncaught_exception_stack_size
int
context_safety_implementation
#
Not exposed.
int
ignore_certificate_errors
cef_color_t background_color
int
persist_user_preferences
cef_string_t user_data_path
int
windowless_rendering_enabled
int
no_sandbox
int
external_message_pump
ctypedef
struct
CefBrowserSettings:
cef_string_t accept_language_list
cef_color_t background_color
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_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 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 local_storage
cef_state_t databases
cef_state_t application_cache
cef_state_t webgl
int
windowless_frame_rate
cdef cppclass CefRect:
int
x, y, width, height
CefRect()
CefRect(
int
x,
int
y,
int
width,
int
height)
cdef cppclass CefPoint:
pass
ctypedef
struct
CefRequestContextSettings:
pass
ctypedef
enum
cef_log_severity_t:
LOGSEVERITY_DEFAULT,
LOGSEVERITY_VERBOSE,
LOGSEVERITY_INFO,
LOGSEVERITY_WARNING,
LOGSEVERITY_ERROR,
LOGSEVERITY_DISABLE
=
99
,
ctypedef
enum
cef_thread_id_t:
TID_UI,
TID_DB,
TID_FILE,
TID_FILE_USER_BLOCKING,
TID_PROCESS_LAUNCHER,
TID_CACHE,
TID_IO,
TID_RENDERER
ctypedef
enum
cef_v8_propertyattribute_t:
V8_PROPERTY_ATTRIBUTE_NONE
=
0
,
#
Writeable, Enumerable,
#
Configurable
V8_PROPERTY_ATTRIBUTE_READONLY
=
1
<<
0
,
#
Not writeable
V8_PROPERTY_ATTRIBUTE_DONTENUM
=
1
<<
1
,
#
Not enumerable
V8_PROPERTY_ATTRIBUTE_DONTDELETE
=
1
<<
2
#
Not configurable
ctypedef
enum
cef_navigation_type_t:
NAVIGATION_LINK_CLICKED
=
0
,
NAVIGATION_FORM_SUBMITTED,
NAVIGATION_BACK_FORWARD,
NAVIGATION_RELOAD,
NAVIGATION_FORM_RESUBMITTED,
NAVIGATION_OTHER,
ctypedef
enum
cef_process_id_t:
PID_BROWSER,
PID_RENDERER,
ctypedef
enum
cef_state_t:
STATE_DEFAULT
=
0
,
STATE_ENABLED,
STATE_DISABLED,
ctypedef
enum
cef_postdataelement_type_t:
PDE_TYPE_EMPTY
=
0
,
PDE_TYPE_BYTES,
PDE_TYPE_FILE,
#
WebRequest
ctypedef
enum
cef_urlrequest_flags_t:
UR_FLAG_NONE
=
0
,
UR_FLAG_SKIP_CACHE
=
1
<<
0
,
UR_FLAG_ALLOW_CACHED_CREDENTIALS
=
1
<<
1
,
UR_FLAG_REPORT_UPLOAD_PROGRESS
=
1
<<
3
,
UR_FLAG_NO_DOWNLOAD_DATA
=
1
<<
6
,
UR_FLAG_NO_RETRY_ON_5XX
=
1
<<
7
,
#
CefListValue, CefDictionaryValue - types.
ctypedef
enum
cef_value_type_t:
VTYPE_INVALID
=
0
,
VTYPE_NULL,
VTYPE_BOOL,
VTYPE_INT,
VTYPE_DOUBLE,
VTYPE_STRING,
VTYPE_BINARY,
VTYPE_DICTIONARY,
VTYPE_LIST,
#
KeyboardHandler
ctypedef
void
*
CefEventHandle
ctypedef
enum
cef_key_event_type_t:
KEYEVENT_RAWKEYDOWN
=
0
,
KEYEVENT_KEYDOWN,
KEYEVENT_KEYUP,
KEYEVENT_CHAR
ctypedef
struct
_cef_key_event_t:
cef_key_event_type_t
type
uint32 modifiers
int
windows_key_code
int
native_key_code
int
is_system_key
char16 character
char16 unmodified_character
cpp_bool focus_on_editable_field
ctypedef _cef_key_event_t CefKeyEvent
ctypedef
enum
cef_event_flags_t:
EVENTFLAG_NONE
=
0
,
EVENTFLAG_CAPS_LOCK_ON
=
1
<<
0
,
EVENTFLAG_SHIFT_DOWN
=
1
<<
1
,
EVENTFLAG_CONTROL_DOWN
=
1
<<
2
,
EVENTFLAG_ALT_DOWN
=
1
<<
3
,
EVENTFLAG_LEFT_MOUSE_BUTTON
=
1
<<
4
,
EVENTFLAG_MIDDLE_MOUSE_BUTTON
=
1
<<
5
,
EVENTFLAG_RIGHT_MOUSE_BUTTON
=
1
<<
6
,
#
Mac OS-X command key.
EVENTFLAG_COMMAND_DOWN
=
1
<<
7
,
EVENTFLAG_NUM_LOCK_ON
=
1
<<
8
,
EVENTFLAG_IS_KEY_PAD
=
1
<<
9
,
EVENTFLAG_IS_LEFT
=
1
<<
10
,
EVENTFLAG_IS_RIGHT
=
1
<<
11
,
#
LoadHandler
ctypedef
enum
cef_termination_status_t:
TS_ABNORMAL_TERMINATION,
TS_PROCESS_WAS_KILLED,
TS_PROCESS_CRASHED,
ctypedef
enum
cef_errorcode_t:
ERR_NONE
=
0
,
ERR_FAILED
=
-
2
,
ERR_ABORTED
=
-
3
,
ERR_INVALID_ARGUMENT
=
-
4
,
ERR_INVALID_HANDLE
=
-
5
,
ERR_FILE_NOT_FOUND
=
-
6
,
ERR_TIMED_OUT
=
-
7
,
ERR_FILE_TOO_BIG
=
-
8
,
ERR_UNEXPECTED
=
-
9
,
ERR_ACCESS_DENIED
=
-
10
,
ERR_NOT_IMPLEMENTED
=
-
11
,
ERR_CONNECTION_CLOSED
=
-
100
,
ERR_CONNECTION_RESET
=
-
101
,
ERR_CONNECTION_REFUSED
=
-
102
,
ERR_CONNECTION_ABORTED
=
-
103
,
ERR_CONNECTION_FAILED
=
-
104
,
ERR_NAME_NOT_RESOLVED
=
-
105
,
ERR_INTERNET_DISCONNECTED
=
-
106
,
ERR_SSL_PROTOCOL_ERROR
=
-
107
,
ERR_ADDRESS_INVALID
=
-
108
,
ERR_ADDRESS_UNREACHABLE
=
-
109
,
ERR_SSL_CLIENT_AUTH_CERT_NEEDED
=
-
110
,
ERR_TUNNEL_CONNECTION_FAILED
=
-
111
,
ERR_NO_SSL_VERSIONS_ENABLED
=
-
112
,
ERR_SSL_VERSION_OR_CIPHER_MISMATCH
=
-
113
,
ERR_SSL_RENEGOTIATION_REQUESTED
=
-
114
,
ERR_CERT_COMMON_NAME_INVALID
=
-
200
,
ERR_CERT_DATE_INVALID
=
-
201
,
ERR_CERT_AUTHORITY_INVALID
=
-
202
,
ERR_CERT_CONTAINS_ERRORS
=
-
203
,
ERR_CERT_NO_REVOCATION_MECHANISM
=
-
204
,
ERR_CERT_UNABLE_TO_CHECK_REVOCATION
=
-
205
,
ERR_CERT_REVOKED
=
-
206
,
ERR_CERT_INVALID
=
-
207
,
ERR_CERT_END
=
-
208
,
ERR_INVALID_URL
=
-
300
,
ERR_DISALLOWED_URL_SCHEME
=
-
301
,
ERR_UNKNOWN_URL_SCHEME
=
-
302
,
ERR_TOO_MANY_REDIRECTS
=
-
310
,
ERR_UNSAFE_REDIRECT
=
-
311
,
ERR_UNSAFE_PORT
=
-
312
,
ERR_INVALID_RESPONSE
=
-
320
,
ERR_INVALID_CHUNKED_ENCODING
=
-
321
,
ERR_METHOD_NOT_SUPPORTED
=
-
322
,
ERR_UNEXPECTED_PROXY_AUTH
=
-
323
,
ERR_EMPTY_RESPONSE
=
-
324
,
ERR_RESPONSE_HEADERS_TOO_BIG
=
-
325
,
ERR_CACHE_MISS
=
-
400
,
ERR_INSECURE_RESPONSE
=
-
501
,
#
Browser > GetImage(), RenderHandler > OnPaint().
ctypedef
enum
cef_paint_element_type_t:
PET_VIEW
=
0
,
PET_POPUP,
ctypedef cef_paint_element_type_t PaintElementType
#
Browser > SendMouseClickEvent().
ctypedef
enum
cef_mouse_button_type_t:
MBT_LEFT
=
0
,
MBT_MIDDLE,
MBT_RIGHT,
ctypedef
struct
cef_mouse_event_t:
int
x
int
y
uint32 modifiers
ctypedef cef_mouse_event_t CefMouseEvent
#
RenderHandler > GetScreenInfo():
ctypedef
struct
cef_rect_t:
int
x
int
y
int
width
int
height
ctypedef
struct
cef_screen_info_t:
float
device_scale_factor
int
depth
int
depth_per_component
cpp_bool is_monochrome
cef_rect_t rect
cef_rect_t available_rect
ctypedef cef_screen_info_t CefScreenInfo
#
CefURLRequest.GetStatus()
ctypedef
enum
cef_urlrequest_status_t:
UR_UNKNOWN
=
0
UR_SUCCESS
UR_IO_PENDING
UR_CANCELED
UR_FAILED
#
CefJSDialogHandler.OnJSDialog()
ctypedef
enum
cef_jsdialog_type_t:
JSDIALOGTYPE_ALERT
=
0
,
JSDIALOGTYPE_CONFIRM,
JSDIALOGTYPE_PROMPT,
ctypedef cef_jsdialog_type_t JSDIalogType
#
LifespanHandler and RequestHandler
ctypedef
enum
cef_window_open_disposition_t:
WOD_UNKNOWN,
WOD_SUPPRESS_OPEN,
WOD_CURRENT_TAB,
WOD_SINGLETON_TAB,
WOD_NEW_FOREGROUND_TAB,
WOD_NEW_BACKGROUND_TAB,
WOD_NEW_POPUP,
WOD_NEW_WINDOW,
WOD_SAVE_TO_DISK,
WOD_OFF_THE_RECORD,
WOD_IGNORE_ACTION
ctypedef cef_window_open_disposition_t WindowOpenDisposition
ctypedef
enum
cef_path_key_t:
PK_DIR_CURRENT,
PK_DIR_EXE,
PK_DIR_MODULE,
PK_DIR_TEMP,
PK_FILE_EXE,
PK_FILE_MODULE,
PK_LOCAL_APP_DATA,
PK_USER_DATA,
ctypedef cef_path_key_t PathKey
ctypedef
enum
cef_plugin_policy_t:
PLUGIN_POLICY_ALLOW,
PLUGIN_POLICY_DETECT_IMPORTANT,
PLUGIN_POLICY_BLOCK,
PLUGIN_POLICY_DISABLE,
#
Drag & drop
ctypedef
enum
cef_drag_operations_mask_t:
DRAG_OPERATION_NONE
=
0
DRAG_OPERATION_COPY
=
1
DRAG_OPERATION_LINK
=
2
DRAG_OPERATION_GENERIC
=
4
DRAG_OPERATION_PRIVATE
=
8
DRAG_OPERATION_MOVE
=
16
DRAG_OPERATION_DELETE
=
32
DRAG_OPERATION_EVERY
=
UINT_MAX
ctypedef
enum
cef_color_type_t:
CEF_COLOR_TYPE_RGBA_8888,
CEF_COLOR_TYPE_BGRA_8888,
ctypedef
enum
cef_alpha_type_t:
CEF_ALPHA_TYPE_OPAQUE,
CEF_ALPHA_TYPE_PREMULTIPLIED,
CEF_ALPHA_TYPE_POSTMULTIPLIED,
ctypedef
enum
cef_focus_source_t:
FOCUS_SOURCE_NAVIGATION,
FOCUS_SOURCE_SYSTEM,
Back
|
FazBrowse Home
|
New Git URL