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

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

Issue 2133303002: Gate Android drag and drop feature with a flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Less JNI calls Created 4 years, 5 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
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 void ExtractSmartClipData(JNIEnv* env, 275 void ExtractSmartClipData(JNIEnv* env,
276 const base::android::JavaParamRef<jobject>& obj, 276 const base::android::JavaParamRef<jobject>& obj,
277 jint x, 277 jint x,
278 jint y, 278 jint y,
279 jint width, 279 jint width,
280 jint height); 280 jint height);
281 281
282 void SetBackgroundOpaque(JNIEnv* env, 282 void SetBackgroundOpaque(JNIEnv* env,
283 const base::android::JavaParamRef<jobject>& jobj, 283 const base::android::JavaParamRef<jobject>& jobj,
284 jboolean opaque); 284 jboolean opaque);
285
286 bool IsTouchDragDropEnabled(JNIEnv* env,
287 const base::android::JavaParamRef<jobject>& jobj);
288
285 void OnDragEvent(JNIEnv* env, 289 void OnDragEvent(JNIEnv* env,
286 const base::android::JavaParamRef<jobject>& jobj, 290 const base::android::JavaParamRef<jobject>& jobj,
287 jint action, 291 jint action,
288 jint x, 292 jint x,
289 jint y, 293 jint y,
290 jint screen_x, 294 jint screen_x,
291 jint screen_y, 295 jint screen_y,
292 const base::android::JavaParamRef<jobjectArray>& j_mimeTypes, 296 const base::android::JavaParamRef<jobjectArray>& j_mimeTypes,
293 const base::android::JavaParamRef<jstring>& j_content); 297 const base::android::JavaParamRef<jstring>& j_content);
294 298
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 484 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
481 485
482 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 486 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
483 }; 487 };
484 488
485 bool RegisterContentViewCore(JNIEnv* env); 489 bool RegisterContentViewCore(JNIEnv* env);
486 490
487 } // namespace content 491 } // namespace content
488 492
489 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 493 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698