-
-
Notifications
You must be signed in to change notification settings - Fork 474
/
Copy pathcef_v59..v66_changes.txt
171 lines (140 loc) · 4.37 KB
/
cef_v59..v66_changes.txt
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
Changes in v59..v66
BREAKAGE (needs updating Migration Guide doc)
--------
+ cef_display_handler.h
- + OnConsoleMessage: new param 'level'
- + update migration guide
+ cef_life_span_handler.h
- + OnBeforePopup: created on UI thread instead of IO thread
- + update checks for thread
- + update migration guide
+ cef_print_handler.h
- + Modify subprocess/print_handler_gtk.h and .cpp files
(copy from upstream cefclient)
- + OnPrintSettings new param
- + OnPrintDialog new param
- + OnPrintJob new param
- + OnPrintReset new param
+ cef_render_process_handler.h
- + Remove OnBeforeNavigation in subprocess/cefpython_app.h and .cpp files
+ cef_request_handler.h
- + OnBeforeBrowse: new param 'user_gesture'
- + update Migration Guide
+ internal/cef_linux.h
+ internal/cef_types_linux.h
+ internal/cef_mac.h
+ internal/cef_types_mac.h
+ internal/cef_win.h
+ internal/cef_types_win.h
- + OSR windows are transparent by default. To change it set
CefBrowserSettings.background_color .
- + CefWindowInfo (cef_window_info_t): transparent_painting_enabled option removed
- + CefWindowInfo.SetAsWindowless: 'transparent' param removed
- + Deprecate WindowInfo.SetTransparentPainting method. When set
to True do nothing. If set to False then raise Exception
and provide info on CefBrowserSettings.background_color.
- + Update Migration Guide doc
internal/cef_types.h
- + cef_settings_t:
- + javascript_open_windows option removed (keep a dummy for BC)
- + update Migration Guide
- + cef_thread_id_t:
- + TID_DB removed (update Migration Guide)
- + TID_PROCESS_LAUNCHER removed (update Migration Guide)
- + TID_CACHE removed (update Migration Guide)
- + Added threads: TID_FILE_BACKGROUND, TID_FILE_USER_VISIBLE
+ cef_urlrequest.h
- + cef_urlrequest_flags_t:
- + Add: UR_FLAG_ONLY_FROM_CACHE, UR_FLAG_ALLOW_STORED_CREDENTIALS,
UR_FLAG_STOP_ON_REDIRECT
- + Remove: UR_FLAG_ALLOW_CACHED_CREDENTIALS
MISC
----
+ Compare src/client_handler/dialog_handler_gtk.cpp (and .h) with upstream
cefclient files
+ In subprocess/print_handler_gtk.cpp use GetWindow implementation
from x11.cpp
NEW FEATURES
------------
+ unittests/osr_test.py - new test for off-screen rendering mode
+ cefpython.SetGlobalClientHandler
+ Browser.Invalidate
+ CookieManager.FlushStore
+ BrowserSettings.inherit_client_handlers_for_popups
+ Browser.GetSetting
+ cefpython.GetBrowserByIdentifier
+ Browser.HasDevTools
+ examples/snippets/
+ onbeforeclose.py
+ network_cookies.py
+ mouse_clicks.py
+ javascript_bindings.py
+ javascript_errors.py
+ ondomready.py
+ onpagecomplete
+ cef.GetDataUrl
internal/cef_types.h
+ cef_log_severity_t: new key LOGSEVERITY_DEBUG (no need to expose,
same as LOGSEVERITY_VERBOSE, see code comments in setting.pyx
+ cef_settings_t:
+ background_color: OSR windows can set an ARGB background color
+ cef_path_key_t (informational only):
+ PK_DIR_RESOURCES new key
+ cef_popup_features_t: some keys removed (not exposed, informational only)
+ cef_referrer_policy_t changes (not exposed, info only)
cef_accessibility_handler.h
+ CefAccessibilityHandler
+ CefRenderHandler::GetAccessibilityHandler
cef_render_handler.h
+ OnTextSelectionChanged
cef_browser.h
+ SetAccessibilityState
+ SetAutoResizeEnabled
- GetExtension
- IsBackgroundHost
cef_cookie.h
+ GetBlockingManager
cef_display_handler.h
+ OnAutoResize
+ OnLoadingProgressChange
cef_drag_data.h
+ GetImage (cross-platform)
+ GetImageHotspot (cross-platform)
+ HasImage (cross-platform)
cef_extension.h
- CefExtension
- Will require exposing CefRequestContext object and its methods
LoadExtension, DidLoadExtension, etc.
cef_request_context.h
- LoadExtension
- DidLoadExtension
- HasExtension
- GetExtensions
- GetExtension
cef_request_context_handler.h
- OnRequestContextInitialized
cef_extension_handler.h
- CefGetExtensionResourceCallback
- CefExtensionHandler
cef_file_util.h
+ CefLoadCRLSetsFile
cef_request_handler.h
+ CanGetCookies
+ CanSetCookie
cef_response.h
- GetURL
- SetURL
cef_server.h
- You can easily start a web server in Python, so exposing this API
doesn't seem to be of great value?
- CefServer: a web server that supports HTTP and WebSocket requests
- CefServerHandler
cef_v8.h
- CefV8ArrayBufferReleaseCallback
- CefV8Value new methods:
- CreateArrayBuffer (does not own the buffer)
- IsArrayBuffer
- GetArrayBufferReleaseCallback
- NeuterArrayBuffer
cef_urlrequest.h
- ResponseWasCached