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

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

Issue 189693002: [Android] Cache additional MotionEvent bits in MotionEventAndroid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Final cleanup Created 6 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
« 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 <vector> 8 #include <vector>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 jstring base_url_for_data_url, 91 jstring base_url_for_data_url,
92 jstring virtual_url_for_data_url, 92 jstring virtual_url_for_data_url,
93 jboolean can_load_local_resources); 93 jboolean can_load_local_resources);
94 base::android::ScopedJavaLocalRef<jstring> GetURL(JNIEnv* env, jobject) const; 94 base::android::ScopedJavaLocalRef<jstring> GetURL(JNIEnv* env, jobject) const;
95 base::android::ScopedJavaLocalRef<jstring> GetTitle( 95 base::android::ScopedJavaLocalRef<jstring> GetTitle(
96 JNIEnv* env, jobject obj) const; 96 JNIEnv* env, jobject obj) const;
97 jboolean IsIncognito(JNIEnv* env, jobject obj); 97 jboolean IsIncognito(JNIEnv* env, jobject obj);
98 void SendOrientationChangeEvent(JNIEnv* env, jobject obj, jint orientation); 98 void SendOrientationChangeEvent(JNIEnv* env, jobject obj, jint orientation);
99 jboolean OnTouchEvent(JNIEnv* env, 99 jboolean OnTouchEvent(JNIEnv* env,
100 jobject obj, 100 jobject obj,
101 jobject motion_event); 101 jobject motion_event,
102 jlong time_ms,
103 jint android_action,
104 jint pointer_count,
105 jint history_size,
106 jint action_index,
107 jfloat pos_x_0,
108 jfloat pos_y_0,
109 jfloat pos_x_1,
110 jfloat pos_y_1,
111 jint pointer_id_0,
112 jint pointer_id_1,
113 jfloat touch_major_0,
114 jfloat touch_major_1);
102 jboolean SendMouseMoveEvent(JNIEnv* env, 115 jboolean SendMouseMoveEvent(JNIEnv* env,
103 jobject obj, 116 jobject obj,
104 jlong time_ms, 117 jlong time_ms,
105 jfloat x, 118 jfloat x,
106 jfloat y); 119 jfloat y);
107 jboolean SendMouseWheelEvent(JNIEnv* env, 120 jboolean SendMouseWheelEvent(JNIEnv* env,
108 jobject obj, 121 jobject obj,
109 jlong time_ms, 122 jlong time_ms,
110 jfloat x, 123 jfloat x,
111 jfloat y, 124 jfloat y,
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 bool geolocation_needs_pause_; 401 bool geolocation_needs_pause_;
389 402
390 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 403 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
391 }; 404 };
392 405
393 bool RegisterContentViewCore(JNIEnv* env); 406 bool RegisterContentViewCore(JNIEnv* env);
394 407
395 } // namespace content 408 } // namespace content
396 409
397 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 410 #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