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 |
// ---------------------------------------------------------------------------- |