You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update to Chrome 51.0.2704.103 / CEF 3.2704.1432.g60b3718...
It builds fine, but there is an error when running (Issue cztomczak#231).
Use prebuilt binaries from Spotify automated builds.
Changes in API that break backward compatibility:
* Remove 'accept_lang' arg in JavascriptDialogHandler.OnJavascriptDialog()
* Remove LifespanHandler.RunModal()
Other changes in API:
* Add Browser.TryCloseBrowser()
browser return true. The |client| and |settings| values will default to the
53
52
source browser's values. If the |no_javascript_access| value is set to
54
53
false the new browser will not be scriptable and may not be hosted in the
55
-
same renderer process as the source browser.
54
+
same renderer process as the source browser. Any modifications to
55
+
|windowInfo| will be ignored if the parent browser is wrapped in a
56
+
CefBrowserView.
56
57
57
58
Note that if you return True and create the popup window yourself, then
58
59
the popup window and parent window will not be able to script each other.
@@ -79,23 +80,12 @@ There will be no "window.opener" property available in the popup window.
79
80
| browser |[Browser](Browser.md)|
80
81
|__Return__| void |
81
82
82
-
Called after a new browser is created.
83
+
Called after a new browser is created. This callback will be the first
84
+
notification that references |browser|.
83
85
84
86
This callback will be executed during browser creation, thus you must call [cefpython](cefpython.md).SetGlobalClientCallback() to use it. The callback name was prefixed with "`_`" to distinguish this special behavior.
85
87
86
88
87
-
### RunModal
88
-
89
-
| Parameter | Type |
90
-
| --- | --- |
91
-
| browser |[Browser](Browser.md)|
92
-
|__Return__| bool |
93
-
94
-
Called when a modal window is about to display and the modal loop should
95
-
begin running. Return false to use the default modal loop implementation or
96
-
true to use a custom implementation.
97
-
98
-
99
89
### DoClose
100
90
101
91
| Parameter | Type |
@@ -125,7 +115,6 @@ See complete description of this callback in [cef_life_span_handler.h]
125
115
126
116
Called just before a browser is destroyed. Release all references to the
127
117
browser object and do not attempt to execute any methods on the browser
128
-
object after this callback returns. If this is a modal window and a custom
129
-
modal loop implementation was provided in RunModal() this callback should
130
-
be used to exit the custom modal loop. See DoClose() documentation for
118
+
object after this callback returns. This callback will be the last
119
+
notification that references |browser|. See DoClose() documentation for
@@ -76,7 +77,8 @@ never be empty -- call the IsMain() method to check if this frame is the
76
77
main frame. Multiple frames may be loading at the same time. Sub-frames may
77
78
start or continue loading after the main frame load has ended. This method
78
79
will always be called for all frames irrespective of whether the request
79
-
completes successfully.
80
+
completes successfully. For notification of overall browser load status use
81
+
OnLoadingStateChange instead.
80
82
81
83
This event behaves like window.onload, it waits for all the content to load (e.g. images), there is currently no callback for a DOMContentLoaded event, see [Issue #32](../issues/32).
0 commit comments