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

Unified Diff: blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/BlimpContentsObserverProxy.java

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/java/src/org/chromium/blimp/core/contents/BlimpContentsObserverProxy.java
diff --git a/blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/BlimpContentsObserverProxy.java b/blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/BlimpContentsObserverProxy.java
index e53a4d9917b550c4169e34f7162c69dcf152b99a..21546472b909b37307278414ca1a4098324d0822 100644
--- a/blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/BlimpContentsObserverProxy.java
+++ b/blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/BlimpContentsObserverProxy.java
@@ -48,6 +48,14 @@ class BlimpContentsObserverProxy implements BlimpContentsObserver {
}
}
+ @Override
+ @CalledByNative
+ public void onLoadingStateChanged(boolean loading) {
+ for (BlimpContentsObserver observer : mObservers) {
+ observer.onLoadingStateChanged(loading);
+ }
+ }
+
private native long nativeInit(BlimpContentsImpl blimpContentsImpl);
private native void nativeDestroy(long nativeBlimpContentsObserverProxy);
}
« no previous file with comments | « blimp/client/core/contents/android/blimp_contents_observer_proxy.cc ('k') | blimp/client/core/contents/blimp_contents_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698