| Index: content/browser/android/web_contents_observer_proxy.cc
|
| diff --git a/content/browser/android/web_contents_observer_proxy.cc b/content/browser/android/web_contents_observer_proxy.cc
|
| index ca274f8f0dd116f093012d0da0cf7dacb09234b9..e42d6bd0b5c44cb483da5c5711afdae038a83421 100644
|
| --- a/content/browser/android/web_contents_observer_proxy.cc
|
| +++ b/content/browser/android/web_contents_observer_proxy.cc
|
| @@ -294,6 +294,18 @@ void WebContentsObserverProxy::DidFirstVisuallyNonEmptyPaint() {
|
| Java_WebContentsObserverProxy_didFirstVisuallyNonEmptyPaint(env, obj);
|
| }
|
|
|
| +void WebContentsObserverProxy::WasShown() {
|
| + JNIEnv* env = AttachCurrentThread();
|
| + ScopedJavaLocalRef<jobject> obj(java_observer_);
|
| + Java_WebContentsObserverProxy_wasShown(env, obj);
|
| +}
|
| +
|
| +void WebContentsObserverProxy::WasHidden() {
|
| + JNIEnv* env = AttachCurrentThread();
|
| + ScopedJavaLocalRef<jobject> obj(java_observer_);
|
| + Java_WebContentsObserverProxy_wasHidden(env, obj);
|
| +}
|
| +
|
| void WebContentsObserverProxy::DidStartNavigationToPendingEntry(
|
| const GURL& url,
|
| ReloadType reload_type) {
|
|
|