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

Unified Diff: ui/android/window_android.cc

Issue 2178973004: DialogSurfaceManager implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 3 years, 10 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: ui/android/window_android.cc
diff --git a/ui/android/window_android.cc b/ui/android/window_android.cc
index cff32ba6f571def1c787cd219296027d86f1cbc8..fd1c8d1c4d419ec0a6fddf74cdc382df5eb34659 100644
--- a/ui/android/window_android.cc
+++ b/ui/android/window_android.cc
@@ -151,6 +151,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
// ----------------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698