OLD | NEW |
---|---|
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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
215 jstring jurl, | 215 jstring jurl, |
216 jint delegate); | 216 jint delegate); |
217 jboolean IsShowingInterstitialPage(JNIEnv* env, jobject obj); | 217 jboolean IsShowingInterstitialPage(JNIEnv* env, jobject obj); |
218 | 218 |
219 void AttachExternalVideoSurface(JNIEnv* env, | 219 void AttachExternalVideoSurface(JNIEnv* env, |
220 jobject obj, | 220 jobject obj, |
221 jint player_id, | 221 jint player_id, |
222 jobject jsurface); | 222 jobject jsurface); |
223 void DetachExternalVideoSurface(JNIEnv* env, jobject obj, jint player_id); | 223 void DetachExternalVideoSurface(JNIEnv* env, jobject obj, jint player_id); |
224 void SetAccessibilityEnabled(JNIEnv* env, jobject obj, bool enabled); | 224 void SetAccessibilityEnabled(JNIEnv* env, jobject obj, bool enabled); |
225 void SendActionAfterDoubleTapUma(JNIEnv* env, | |
226 jobject obj, | |
227 int type, | |
bulach
2013/11/04 18:22:31
jint rather than int
bokan
2013/11/04 20:01:08
Done.
| |
228 bool hasDelay, | |
bulach
2013/11/04 18:22:31
nit: has_delay
bokan
2013/11/04 20:01:08
Done. And switched to jboolean
| |
229 int count); | |
230 void SendSingleTapUma(JNIEnv* env, jobject obj, int type, int count); | |
225 | 231 |
226 // -------------------------------------------------------------------------- | 232 // -------------------------------------------------------------------------- |
227 // Public methods that call to Java via JNI | 233 // Public methods that call to Java via JNI |
228 // -------------------------------------------------------------------------- | 234 // -------------------------------------------------------------------------- |
229 | 235 |
230 // Creates a popup menu with |items|. | 236 // Creates a popup menu with |items|. |
231 // |multiple| defines if it should support multi-select. | 237 // |multiple| defines if it should support multi-select. |
232 // If not |multiple|, |selected_item| sets the initially selected item. | 238 // If not |multiple|, |selected_item| sets the initially selected item. |
233 // Otherwise, item's "checked" flag selects it. | 239 // Otherwise, item's "checked" flag selects it. |
234 void ShowSelectPopupMenu(const std::vector<MenuItem>& items, | 240 void ShowSelectPopupMenu(const std::vector<MenuItem>& items, |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
389 int device_orientation_; | 395 int device_orientation_; |
390 | 396 |
391 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 397 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
392 }; | 398 }; |
393 | 399 |
394 bool RegisterContentViewCore(JNIEnv* env); | 400 bool RegisterContentViewCore(JNIEnv* env); |
395 | 401 |
396 } // namespace content | 402 } // namespace content |
397 | 403 |
398 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 404 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |