Chromium Code Reviews| Index: extensions/browser/app_window/app_window_contents.cc |
| diff --git a/extensions/browser/app_window/app_window_contents.cc b/extensions/browser/app_window/app_window_contents.cc |
| index 181e211dcd736d3fc7a1a61f5842547ac77ee843..68a23fdabea1cffce1d8fba788a418efa23cbf1e 100644 |
| --- a/extensions/browser/app_window/app_window_contents.cc |
| +++ b/extensions/browser/app_window/app_window_contents.cc |
| @@ -118,6 +118,13 @@ bool AppWindowContentsImpl::OnMessageReceived(const IPC::Message& message) { |
| return handled; |
| } |
| +void AppWindowContentsImpl::ReadyToCommitNavigation( |
| + content::NavigationHandle* handle) { |
| + if (is_window_ready_) |
| + return; |
| + host_->OnReadyToCommitFirstNavigation(); |
|
Devlin
2015/09/16 22:37:14
nit: instead of early returning, just put the call
clamy
2015/09/16 23:08:25
Done.
|
| +} |
| + |
| void AppWindowContentsImpl::UpdateDraggableRegions( |
| const std::vector<DraggableRegion>& regions) { |
| host_->UpdateDraggableRegions(regions); |