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

Side by Side Diff: content/browser/frame_host/render_frame_host_android.h

Issue 2765443004: AndroidOverlay implementation using Dialog. (Closed)
Patch Set: cl feedback, fixed browsertests 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_ANDROID_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_ANDROID_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 20 matching lines...) Expand all
31 explicit RenderFrameHostAndroid(RenderFrameHostImpl* render_frame_host); 31 explicit RenderFrameHostAndroid(RenderFrameHostImpl* render_frame_host);
32 ~RenderFrameHostAndroid() override; 32 ~RenderFrameHostAndroid() override;
33 33
34 base::android::ScopedJavaLocalRef<jobject> GetJavaObject(); 34 base::android::ScopedJavaLocalRef<jobject> GetJavaObject();
35 35
36 // Methods called from Java 36 // Methods called from Java
37 base::android::ScopedJavaLocalRef<jstring> GetLastCommittedURL( 37 base::android::ScopedJavaLocalRef<jstring> GetLastCommittedURL(
38 JNIEnv* env, 38 JNIEnv* env,
39 const base::android::JavaParamRef<jobject>&) const; 39 const base::android::JavaParamRef<jobject>&) const;
40 40
41 // Returns UnguessableToken.
42 base::android::ScopedJavaLocalRef<jobject> GetAndroidOverlayRoutingToken(
43 JNIEnv* env,
44 const base::android::JavaParamRef<jobject>&) const;
45
41 private: 46 private:
42 RenderFrameHostImpl* const render_frame_host_; 47 RenderFrameHostImpl* const render_frame_host_;
43 JavaObjectWeakGlobalRef obj_; 48 JavaObjectWeakGlobalRef obj_;
44 49
45 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostAndroid); 50 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostAndroid);
46 }; 51 };
47 52
48 } // namespace content 53 } // namespace content
49 54
50 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_ANDROID_H_ 55 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698