Skip to content

Commit 4840b35

Browse files
committed
Update _OnAfterCreated description in LifespanHandler.md
The CEF 147 header no longer says that OnAfterCreated is the first notification that references the browser, use its current wording. Also fix "recieved" typo in DoClose.
1 parent 091183d commit 4840b35

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎api/LifespanHandler.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Table of contents:
2828
| browser | [Browser](Browser.md) |
2929
| __Return__ | bool |
3030

31-
Called when a browser has recieved a request to close. This may result
31+
Called when a browser has received a request to close. This may result
3232
directly from a call to [Browser](Browser.md).`CloseBrowser` or indirectly
3333
if the
3434
browser is a top-level OS window created by CEF and the user attempts to
@@ -47,8 +47,8 @@ See complete description of this callback in [cef_life_span_handler.h](https://g
4747
| browser | [Browser](Browser.md) |
4848
| __Return__ | void |
4949

50-
Called after a new browser is created. This callback will be the first
51-
notification that references |browser|.
50+
Called after a new browser is created. It is now safe to begin performing
51+
actions with |browser|.
5252

5353
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.
5454

0 commit comments

Comments
 (0)