Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: blimp/client/core/contents/blimp_navigation_controller_impl.cc

Issue 2320923002: Add a full Blimp integration test. (Closed)
Patch Set: Fix build break with chrome embedder Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "blimp/client/core/contents/blimp_navigation_controller_impl.h" 5 #include "blimp/client/core/contents/blimp_navigation_controller_impl.h"
6 6
7 #include "blimp/client/core/contents/blimp_navigation_controller_delegate.h" 7 #include "blimp/client/core/contents/blimp_navigation_controller_delegate.h"
8 8
9 namespace blimp { 9 namespace blimp {
10 namespace client { 10 namespace client {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 } 78 }
79 79
80 void BlimpNavigationControllerImpl::OnLoadingChanged(int tab_id, bool loading) { 80 void BlimpNavigationControllerImpl::OnLoadingChanged(int tab_id, bool loading) {
81 delegate_->OnNavigationStateChanged(); 81 delegate_->OnNavigationStateChanged();
82 delegate_->OnLoadingStateChanged(loading); 82 delegate_->OnLoadingStateChanged(loading);
83 } 83 }
84 84
85 void BlimpNavigationControllerImpl::OnPageLoadStatusUpdate(int tab_id, 85 void BlimpNavigationControllerImpl::OnPageLoadStatusUpdate(int tab_id,
86 bool completed) { 86 bool completed) {
87 delegate_->OnNavigationStateChanged(); 87 delegate_->OnNavigationStateChanged();
88 delegate_->OnPageLoadingStateChanged(!completed);
88 } 89 }
89 90
90 } // namespace client 91 } // namespace client
91 } // namespace blimp 92 } // namespace blimp
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698