Add OnLoadingStateChanged for NativeWindowObserver.
This commit is contained in:
parent
3be4a01963
commit
dbdf2d8d54
3 changed files with 11 additions and 0 deletions
|
@ -17,6 +17,9 @@ class NativeWindowObserver {
|
|||
virtual void OnPageTitleUpdated(bool* prevent_default,
|
||||
const std::string& title) {}
|
||||
|
||||
// Called when the window is starting or is done loading a resource.
|
||||
virtual void OnLoadingStateChanged(bool is_loading) {}
|
||||
|
||||
// Called when the window is gonna closed.
|
||||
virtual void WillCloseWindow(bool* prevent_default) {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue