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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 java_bridge_dispatcher_host_manager_; | 380 java_bridge_dispatcher_host_manager_; |
381 | 381 |
382 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 382 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
383 }; | 383 }; |
384 | 384 |
385 bool RegisterContentViewCore(JNIEnv* env); | 385 bool RegisterContentViewCore(JNIEnv* env); |
386 | 386 |
387 } // namespace content | 387 } // namespace content |
388 | 388 |
389 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 389 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |