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