Add OnLoadingStateChanged for NativeWindowObserver.

This commit is contained in:
Cheng Zhao 2013-08-29 11:17:15 +08:00
parent 3be4a01963
commit dbdf2d8d54
3 changed files with 11 additions and 0 deletions

View file

@ -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) {}