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

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

Issue 1731673002: Add tab reparenting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 <vector> 10 #include <vector>
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // Methods called from Java via JNI 81 // Methods called from Java via JNI
82 // -------------------------------------------------------------------------- 82 // --------------------------------------------------------------------------
83 83
84 base::android::ScopedJavaLocalRef<jobject> GetWebContentsAndroid( 84 base::android::ScopedJavaLocalRef<jobject> GetWebContentsAndroid(
85 JNIEnv* env, 85 JNIEnv* env,
86 const base::android::JavaParamRef<jobject>& obj); 86 const base::android::JavaParamRef<jobject>& obj);
87 base::android::ScopedJavaLocalRef<jobject> GetJavaWindowAndroid( 87 base::android::ScopedJavaLocalRef<jobject> GetJavaWindowAndroid(
88 JNIEnv* env, 88 JNIEnv* env,
89 const base::android::JavaParamRef<jobject>& obj); 89 const base::android::JavaParamRef<jobject>& obj);
90 90
91 void UpdateWindowAndroid(JNIEnv* env,
92 const base::android::JavaParamRef<jobject>& obj,
93 jlong window_android);
91 void OnJavaContentViewCoreDestroyed( 94 void OnJavaContentViewCoreDestroyed(
92 JNIEnv* env, 95 JNIEnv* env,
93 const base::android::JavaParamRef<jobject>& obj); 96 const base::android::JavaParamRef<jobject>& obj);
94 97
95 // Notifies the ContentViewCore that items were selected in the currently 98 // Notifies the ContentViewCore that items were selected in the currently
96 // showing select popup. 99 // showing select popup.
97 void SelectPopupMenuItems( 100 void SelectPopupMenuItems(
98 JNIEnv* env, 101 JNIEnv* env,
99 const base::android::JavaParamRef<jobject>& obj, 102 const base::android::JavaParamRef<jobject>& obj,
100 jlong selectPopupSourceFrame, 103 jlong selectPopupSourceFrame,
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 469 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
467 470
468 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 471 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
469 }; 472 };
470 473
471 bool RegisterContentViewCore(JNIEnv* env); 474 bool RegisterContentViewCore(JNIEnv* env);
472 475
473 } // namespace content 476 } // namespace content
474 477
475 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 478 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698