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

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

Issue 2292723003: Move remaining Blimp feature code to core. (Closed)
Patch Set: Fix build break Created 4 years, 4 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/BlimpContentsImpl.java
diff --git a/blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/BlimpContentsImpl.java b/blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/BlimpContentsImpl.java
index f0680690bae2a7f9248b555e5fd5e4940dec0b7d..849a3c9ed6576d45d9605ce17f4eebc97c673a2b 100644
--- a/blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/BlimpContentsImpl.java
+++ b/blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/BlimpContentsImpl.java
@@ -79,5 +79,19 @@ public class BlimpContentsImpl implements BlimpContents {
nativeDestroy(mNativeBlimpContentsImplAndroid);
}
+ @Override
+ public void show() {
+ if (mNativeBlimpContentsImplAndroid == 0) return;
+ nativeShow(mNativeBlimpContentsImplAndroid);
+ }
+
+ @Override
+ public void hide() {
+ if (mNativeBlimpContentsImplAndroid == 0) return;
+ nativeHide(mNativeBlimpContentsImplAndroid);
+ }
+
private native void nativeDestroy(long nativeBlimpContentsImplAndroid);
+ private native void nativeShow(long nativeBlimpContentsImplAndroid);
+ private native void nativeHide(long nativeBlimpContentsImplAndroid);
}
« no previous file with comments | « blimp/client/core/contents/android/blimp_contents_impl_android.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