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

Unified Diff: content/browser/android/content_view_core_impl.cc

Issue 10823340: [Android] Upstream Modal Dialogs functionality (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove webview code Created 8 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: content/browser/android/content_view_core_impl.cc
diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
index 23705cf56935b655fad8138f8c829bfdb17aa10c..836a07137b07577da442049235bfb6bdff7fad63 100644
--- a/content/browser/android/content_view_core_impl.cc
+++ b/content/browser/android/content_view_core_impl.cc
@@ -151,6 +151,11 @@ RenderWidgetHostViewAndroid*
return static_cast<RenderWidgetHostViewAndroid*>(rwhv);
}
+ScopedJavaLocalRef<jobject> ContentViewCoreImpl::GetJavaObject() {
+ JNIEnv* env = AttachCurrentThread();
+ return java_ref_.get(env);
+}
+
// ----------------------------------------------------------------------------
// Methods called from Java via JNI
// ----------------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698