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

Side by Side Diff: content/browser/android/content_view_core_impl.h

Issue 2688113002: Make ViewRoot the top of the ViewAndroid tree (Closed)
Patch Set: comments Created 3 years, 10 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // Methods called from Java via JNI 64 // Methods called from Java via JNI
65 // -------------------------------------------------------------------------- 65 // --------------------------------------------------------------------------
66 66
67 base::android::ScopedJavaLocalRef<jobject> GetWebContentsAndroid( 67 base::android::ScopedJavaLocalRef<jobject> GetWebContentsAndroid(
68 JNIEnv* env, 68 JNIEnv* env,
69 const base::android::JavaParamRef<jobject>& obj); 69 const base::android::JavaParamRef<jobject>& obj);
70 base::android::ScopedJavaLocalRef<jobject> GetJavaWindowAndroid( 70 base::android::ScopedJavaLocalRef<jobject> GetJavaWindowAndroid(
71 JNIEnv* env, 71 JNIEnv* env,
72 const base::android::JavaParamRef<jobject>& obj); 72 const base::android::JavaParamRef<jobject>& obj);
73 73
74 void UpdateWindowAndroid(JNIEnv* env, 74 void UpdateViewRoot(JNIEnv* env,
75 const base::android::JavaParamRef<jobject>& obj, 75 const base::android::JavaParamRef<jobject>& obj,
76 jlong window_android); 76 jlong view_root_ptr);
77 void OnJavaContentViewCoreDestroyed( 77 void OnJavaContentViewCoreDestroyed(
78 JNIEnv* env, 78 JNIEnv* env,
79 const base::android::JavaParamRef<jobject>& obj); 79 const base::android::JavaParamRef<jobject>& obj);
80 80
81 // Notifies the ContentViewCore that items were selected in the currently 81 // Notifies the ContentViewCore that items were selected in the currently
82 // showing select popup. 82 // showing select popup.
83 void SelectPopupMenuItems( 83 void SelectPopupMenuItems(
84 JNIEnv* env, 84 JNIEnv* env,
85 const base::android::JavaParamRef<jobject>& obj, 85 const base::android::JavaParamRef<jobject>& obj,
86 jlong selectPopupSourceFrame, 86 jlong selectPopupSourceFrame,
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 446 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
447 447
448 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 448 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
449 }; 449 };
450 450
451 bool RegisterContentViewCore(JNIEnv* env); 451 bool RegisterContentViewCore(JNIEnv* env);
452 452
453 } // namespace content 453 } // namespace content
454 454
455 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 455 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698