| 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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 friend class ContentViewUserData; | 311 friend class ContentViewUserData; |
| 312 virtual ~ContentViewCoreImpl(); | 312 virtual ~ContentViewCoreImpl(); |
| 313 | 313 |
| 314 // NotificationObserver implementation. | 314 // NotificationObserver implementation. |
| 315 virtual void Observe(int type, | 315 virtual void Observe(int type, |
| 316 const NotificationSource& source, | 316 const NotificationSource& source, |
| 317 const NotificationDetails& details) OVERRIDE; | 317 const NotificationDetails& details) OVERRIDE; |
| 318 | 318 |
| 319 // WebContentsObserver implementation. | 319 // WebContentsObserver implementation. |
| 320 virtual void RenderViewReady() OVERRIDE; | 320 virtual void RenderViewReady() OVERRIDE; |
| 321 virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE; | 321 virtual void WebContentsDestroyed() OVERRIDE; |
| 322 | 322 |
| 323 // -------------------------------------------------------------------------- | 323 // -------------------------------------------------------------------------- |
| 324 // Other private methods and data | 324 // Other private methods and data |
| 325 // -------------------------------------------------------------------------- | 325 // -------------------------------------------------------------------------- |
| 326 | 326 |
| 327 void InitWebContents(); | 327 void InitWebContents(); |
| 328 | 328 |
| 329 RenderWidgetHostViewAndroid* GetRenderWidgetHostViewAndroid(); | 329 RenderWidgetHostViewAndroid* GetRenderWidgetHostViewAndroid(); |
| 330 | 330 |
| 331 blink::WebGestureEvent MakeGestureEvent( | 331 blink::WebGestureEvent MakeGestureEvent( |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 bool geolocation_needs_pause_; | 376 bool geolocation_needs_pause_; |
| 377 | 377 |
| 378 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 378 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
| 379 }; | 379 }; |
| 380 | 380 |
| 381 bool RegisterContentViewCore(JNIEnv* env); | 381 bool RegisterContentViewCore(JNIEnv* env); |
| 382 | 382 |
| 383 } // namespace content | 383 } // namespace content |
| 384 | 384 |
| 385 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 385 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| OLD | NEW |