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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 | 211 |
212 void SetAccessibilityEnabled(JNIEnv* env, jobject obj, bool enabled); | 212 void SetAccessibilityEnabled(JNIEnv* env, jobject obj, bool enabled); |
213 | 213 |
214 void ExtractSmartClipData(JNIEnv* env, | 214 void ExtractSmartClipData(JNIEnv* env, |
215 jobject obj, | 215 jobject obj, |
216 jint x, | 216 jint x, |
217 jint y, | 217 jint y, |
218 jint width, | 218 jint width, |
219 jint height); | 219 jint height); |
220 | 220 |
| 221 // Notifies the TransitionRequestManager that the main frame navigation is |
| 222 // a transition navigation. |
| 223 void SetHasPendingTransitionRequest(JNIEnv* env, |
| 224 jobject obj, |
| 225 jboolean has_pending_transition); |
| 226 |
| 227 // Notifies the main frame that it can continue navigation (if it was deferred |
| 228 // immediately at first response). |
| 229 void ResumeResponseDeferredAtStart(JNIEnv* env, jobject obj); |
| 230 |
221 jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj); | 231 jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj); |
222 | 232 |
223 // -------------------------------------------------------------------------- | 233 // -------------------------------------------------------------------------- |
224 // Public methods that call to Java via JNI | 234 // Public methods that call to Java via JNI |
225 // -------------------------------------------------------------------------- | 235 // -------------------------------------------------------------------------- |
226 | 236 |
227 void OnSmartClipDataExtracted(const base::string16& result); | 237 void OnSmartClipDataExtracted(const base::string16& result); |
228 | 238 |
229 // Creates a popup menu with |items|. | 239 // Creates a popup menu with |items|. |
230 // |multiple| defines if it should support multi-select. | 240 // |multiple| defines if it should support multi-select. |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 java_bridge_dispatcher_host_manager_; | 383 java_bridge_dispatcher_host_manager_; |
374 | 384 |
375 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 385 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
376 }; | 386 }; |
377 | 387 |
378 bool RegisterContentViewCore(JNIEnv* env); | 388 bool RegisterContentViewCore(JNIEnv* env); |
379 | 389 |
380 } // namespace content | 390 } // namespace content |
381 | 391 |
382 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 392 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |