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

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

Issue 342633003: [Android] Select text when stylus first button is pressed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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 <vector> 8 #include <vector>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 jint action_index, 103 jint action_index,
104 jfloat pos_x_0, 104 jfloat pos_x_0,
105 jfloat pos_y_0, 105 jfloat pos_y_0,
106 jfloat pos_x_1, 106 jfloat pos_x_1,
107 jfloat pos_y_1, 107 jfloat pos_y_1,
108 jint pointer_id_0, 108 jint pointer_id_0,
109 jint pointer_id_1, 109 jint pointer_id_1,
110 jfloat touch_major_0, 110 jfloat touch_major_0,
111 jfloat touch_major_1, 111 jfloat touch_major_1,
112 jfloat raw_pos_x, 112 jfloat raw_pos_x,
113 jfloat raw_pos_y); 113 jfloat raw_pos_y,
114 jint android_tool_type,
115 jint android_button_state);
114 jboolean SendMouseMoveEvent(JNIEnv* env, 116 jboolean SendMouseMoveEvent(JNIEnv* env,
115 jobject obj, 117 jobject obj,
116 jlong time_ms, 118 jlong time_ms,
117 jfloat x, 119 jfloat x,
118 jfloat y); 120 jfloat y);
119 jboolean SendMouseWheelEvent(JNIEnv* env, 121 jboolean SendMouseWheelEvent(JNIEnv* env,
120 jobject obj, 122 jobject obj,
121 jlong time_ms, 123 jlong time_ms,
122 jfloat x, 124 jfloat x,
123 jfloat y, 125 jfloat y,
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 369
368 // The owning window that has a hold of main application activity. 370 // The owning window that has a hold of main application activity.
369 ui::WindowAndroid* window_android_; 371 ui::WindowAndroid* window_android_;
370 372
371 // The cache of device's current orientation set from Java side, this value 373 // The cache of device's current orientation set from Java side, this value
372 // will be sent to Renderer once it is ready. 374 // will be sent to Renderer once it is ready.
373 int device_orientation_; 375 int device_orientation_;
374 376
375 bool accessibility_enabled_; 377 bool accessibility_enabled_;
376 378
379 int mouse_drag_start_x_;
380 int mouse_drag_start_y_;
381
377 // Manages injecting Java objects. 382 // Manages injecting Java objects.
378 scoped_ptr<JavaBridgeDispatcherHostManager> 383 scoped_ptr<JavaBridgeDispatcherHostManager>
379 java_bridge_dispatcher_host_manager_; 384 java_bridge_dispatcher_host_manager_;
380 385
381 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 386 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
382 }; 387 };
383 388
384 bool RegisterContentViewCore(JNIEnv* env); 389 bool RegisterContentViewCore(JNIEnv* env);
385 390
386 } // namespace content 391 } // namespace content
387 392
388 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 393 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698