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

Unified Diff: ui/android/window_android.cc

Issue 2765443004: AndroidOverlay implementation using Dialog. (Closed)
Patch Set: fixed test Created 3 years, 8 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
« no previous file with comments | « ui/android/window_android.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/window_android.cc
diff --git a/ui/android/window_android.cc b/ui/android/window_android.cc
index a2100db6eabf4f29eb8fe66b71d8d3504052649d..bb7180bc9b345d23c32c43a930edaf74122a5d11 100644
--- a/ui/android/window_android.cc
+++ b/ui/android/window_android.cc
@@ -278,6 +278,11 @@ WindowAndroid* WindowAndroid::GetWindowAndroid() const {
return const_cast<WindowAndroid*>(this);
}
+ScopedJavaLocalRef<jobject> WindowAndroid::GetWindowToken() {
+ JNIEnv* env = AttachCurrentThread();
+ return Java_WindowAndroid_getWindowToken(env, GetJavaObject());
+}
+
// ----------------------------------------------------------------------------
// Native JNI methods
// ----------------------------------------------------------------------------
« no previous file with comments | « ui/android/window_android.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698