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

Side by Side Diff: content/browser/web_contents/web_contents_android.h

Issue 2741043004: Revert of Add Java wrapper for RenderFrameHost (Closed)
Patch Set: Created 3 years, 9 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 24 matching lines...) Expand all
35 ~WebContentsAndroid() override; 35 ~WebContentsAndroid() override;
36 36
37 WebContentsImpl* web_contents() const { return web_contents_; } 37 WebContentsImpl* web_contents() const { return web_contents_; }
38 38
39 base::android::ScopedJavaLocalRef<jobject> GetJavaObject(); 39 base::android::ScopedJavaLocalRef<jobject> GetJavaObject();
40 40
41 // Methods called from Java 41 // Methods called from Java
42 base::android::ScopedJavaLocalRef<jobject> GetTopLevelNativeWindow( 42 base::android::ScopedJavaLocalRef<jobject> GetTopLevelNativeWindow(
43 JNIEnv* env, 43 JNIEnv* env,
44 const base::android::JavaParamRef<jobject>& obj); 44 const base::android::JavaParamRef<jobject>& obj);
45 base::android::ScopedJavaLocalRef<jobject> GetMainFrame(
46 JNIEnv* env,
47 const base::android::JavaParamRef<jobject>& obj) const;
48 base::android::ScopedJavaLocalRef<jstring> GetTitle( 45 base::android::ScopedJavaLocalRef<jstring> GetTitle(
49 JNIEnv* env, 46 JNIEnv* env,
50 const base::android::JavaParamRef<jobject>& obj) const; 47 const base::android::JavaParamRef<jobject>& obj) const;
51 base::android::ScopedJavaLocalRef<jstring> GetVisibleURL( 48 base::android::ScopedJavaLocalRef<jstring> GetVisibleURL(
52 JNIEnv* env, 49 JNIEnv* env,
53 const base::android::JavaParamRef<jobject>& obj) const; 50 const base::android::JavaParamRef<jobject>& obj) const;
54 51
55 bool IsLoading(JNIEnv* env, 52 bool IsLoading(JNIEnv* env,
56 const base::android::JavaParamRef<jobject>& obj) const; 53 const base::android::JavaParamRef<jobject>& obj) const;
57 bool IsLoadingToDifferentDocument( 54 bool IsLoadingToDifferentDocument(
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 base::android::ScopedJavaGlobalRef<jobject> obj_; 227 base::android::ScopedJavaGlobalRef<jobject> obj_;
231 228
232 base::WeakPtrFactory<WebContentsAndroid> weak_factory_; 229 base::WeakPtrFactory<WebContentsAndroid> weak_factory_;
233 230
234 DISALLOW_COPY_AND_ASSIGN(WebContentsAndroid); 231 DISALLOW_COPY_AND_ASSIGN(WebContentsAndroid);
235 }; 232 };
236 233
237 } // namespace content 234 } // namespace content
238 235
239 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ 236 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/web_contents/web_contents_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698