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

Unified Diff: blimp/client/core/contents/blimp_contents_impl.cc

Issue 2300103004: Expose loading state from Blimp to Tab (Closed)
Patch Set: Added test! 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 side-by-side diff with in-line comments
Download patch
Index: blimp/client/core/contents/blimp_contents_impl.cc
diff --git a/blimp/client/core/contents/blimp_contents_impl.cc b/blimp/client/core/contents/blimp_contents_impl.cc
index c7ae2fac04767f2bfb8d9be9509dfd7b4bfb3f0c..58dda849fe7c909ede2e565af5605e18712669a2 100644
--- a/blimp/client/core/contents/blimp_contents_impl.cc
+++ b/blimp/client/core/contents/blimp_contents_impl.cc
@@ -105,6 +105,11 @@ void BlimpContentsImpl::OnNavigationStateChanged() {
OnNavigationStateChanged());
}
+void BlimpContentsImpl::OnLoadingStateChanged(bool loading) {
+ FOR_EACH_OBSERVER(BlimpContentsObserver, observers_,
+ OnLoadingStateChanged(loading));
+}
+
void BlimpContentsImpl::SetSizeAndScale(const gfx::Size& size,
float device_pixel_ratio) {
tab_control_feature_->SetSizeAndScale(size, device_pixel_ratio);
« no previous file with comments | « blimp/client/core/contents/blimp_contents_impl.h ('k') | blimp/client/core/contents/blimp_navigation_controller_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698