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

Unified Diff: blimp/client/core/contents/android/blimp_contents_observer_proxy.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/android/blimp_contents_observer_proxy.cc
diff --git a/blimp/client/core/contents/android/blimp_contents_observer_proxy.cc b/blimp/client/core/contents/android/blimp_contents_observer_proxy.cc
index 1e57b3c5fcc87fd79d1eb0d2c51c0aee2fe77adf..5584ce82d6d79d245013909bc19cd0d3818cf33a 100644
--- a/blimp/client/core/contents/android/blimp_contents_observer_proxy.cc
+++ b/blimp/client/core/contents/android/blimp_contents_observer_proxy.cc
@@ -52,5 +52,11 @@ void BlimpContentsObserverProxy::OnNavigationStateChanged() {
Java_BlimpContentsObserverProxy_onNavigationStateChanged(env, java_obj_);
}
+void BlimpContentsObserverProxy::OnLoadingStateChanged(bool loading) {
+ JNIEnv* env = base::android::AttachCurrentThread();
+ Java_BlimpContentsObserverProxy_onLoadingStateChanged(env, java_obj_,
+ loading);
+}
+
} // namespace client
} // namespace blimp

Powered by Google App Engine
This is Rietveld 408576698