Move loading events to webContents.
This commit is contained in:
parent
744895f9d8
commit
4135040449
8 changed files with 31 additions and 36 deletions
|
@ -424,13 +424,6 @@ void NativeWindow::DeactivateContents(content::WebContents* contents) {
|
|||
BlurWebView();
|
||||
}
|
||||
|
||||
void NativeWindow::LoadingStateChanged(content::WebContents* source) {
|
||||
bool is_loading = source->IsLoading();
|
||||
FOR_EACH_OBSERVER(NativeWindowObserver,
|
||||
observers_,
|
||||
OnLoadingStateChanged(is_loading));
|
||||
}
|
||||
|
||||
void NativeWindow::MoveContents(content::WebContents* source,
|
||||
const gfx::Rect& pos) {
|
||||
SetPosition(pos.origin());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue