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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 void SetHasPendingNavigationTransitionForTesting(JNIEnv* env, jobject obj); | 233 void SetHasPendingNavigationTransitionForTesting(JNIEnv* env, jobject obj); |
234 | 234 |
235 jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj); | 235 jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj); |
236 | 236 |
237 // -------------------------------------------------------------------------- | 237 // -------------------------------------------------------------------------- |
238 // Public methods that call to Java via JNI | 238 // Public methods that call to Java via JNI |
239 // -------------------------------------------------------------------------- | 239 // -------------------------------------------------------------------------- |
240 | 240 |
241 // This method is invoked when the request is deferred immediately after | 241 // This method is invoked when the request is deferred immediately after |
242 // receiving response headers. | 242 // receiving response headers. |
243 void DidDeferAfterResponseStarted(); | 243 void DidDeferAfterResponseStarted( |
| 244 const TransitionLayerData& transition_layer_data); |
244 | 245 |
245 // This method is invoked when a navigation transition is detected, to | 246 // This method is invoked when a navigation transition is detected, to |
246 // determine if the embedder intends to handle it. | 247 // determine if the embedder intends to handle it. |
247 bool WillHandleDeferAfterResponseStarted(); | 248 bool WillHandleDeferAfterResponseStarted(); |
248 | 249 |
249 void OnSmartClipDataExtracted(const base::string16& text, | 250 void OnSmartClipDataExtracted(const base::string16& text, |
250 const base::string16& html, | 251 const base::string16& html, |
251 const gfx::Rect& clip_rect); | 252 const gfx::Rect& clip_rect); |
252 | 253 |
253 // Creates a popup menu with |items|. | 254 // Creates a popup menu with |items|. |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 java_bridge_dispatcher_host_; | 402 java_bridge_dispatcher_host_; |
402 | 403 |
403 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 404 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
404 }; | 405 }; |
405 | 406 |
406 bool RegisterContentViewCore(JNIEnv* env); | 407 bool RegisterContentViewCore(JNIEnv* env); |
407 | 408 |
408 } // namespace content | 409 } // namespace content |
409 | 410 |
410 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 411 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |