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

Unified Diff: content/browser/frame_host/render_frame_host_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
Index: content/browser/frame_host/render_frame_host_android.cc
diff --git a/content/browser/frame_host/render_frame_host_android.cc b/content/browser/frame_host/render_frame_host_android.cc
index dec25f0d72663cb5f22e7b8e77f13f087d69ba34..490543c71956f9d2e61d46c6c6f917608a617dc4 100644
--- a/content/browser/frame_host/render_frame_host_android.cc
+++ b/content/browser/frame_host/render_frame_host_android.cc
@@ -5,6 +5,7 @@
#include "content/browser/frame_host/render_frame_host_android.h"
#include "base/android/jni_string.h"
+#include "base/android/unguessable_token_android.h"
#include "base/logging.h"
#include "content/browser/frame_host/render_frame_host_delegate.h"
#include "content/browser/frame_host/render_frame_host_impl.h"
@@ -64,4 +65,12 @@ ScopedJavaLocalRef<jstring> RenderFrameHostAndroid::GetLastCommittedURL(
env, render_frame_host_->GetLastCommittedURL().spec());
}
+ScopedJavaLocalRef<jobject>
+RenderFrameHostAndroid::GetAndroidOverlayRoutingToken(
+ JNIEnv* env,
+ const JavaParamRef<jobject>& obj) const {
+ return base::android::UnguessableTokenAndroid::Create(
+ env, render_frame_host_->GetOverlayRoutingToken());
+}
+
} // namespace content
« no previous file with comments | « content/browser/frame_host/render_frame_host_android.h ('k') | content/browser/frame_host/render_frame_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698