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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 virtual ui::WindowAndroid* GetWindowAndroid() const OVERRIDE; | 53 virtual ui::WindowAndroid* GetWindowAndroid() const OVERRIDE; |
54 virtual scoped_refptr<cc::Layer> GetLayer() const OVERRIDE; | 54 virtual scoped_refptr<cc::Layer> GetLayer() const OVERRIDE; |
55 virtual void LoadUrl(NavigationController::LoadURLParams& params) OVERRIDE; | 55 virtual void LoadUrl(NavigationController::LoadURLParams& params) OVERRIDE; |
56 virtual void ShowPastePopup(int x, int y) OVERRIDE; | 56 virtual void ShowPastePopup(int x, int y) OVERRIDE; |
57 virtual void GetScaledContentBitmap( | 57 virtual void GetScaledContentBitmap( |
58 float scale, | 58 float scale, |
59 SkColorType color_type, | 59 SkColorType color_type, |
60 gfx::Rect src_subrect, | 60 gfx::Rect src_subrect, |
61 const base::Callback<void(bool, const SkBitmap&)>& result_callback) | 61 const base::Callback<void(bool, const SkBitmap&)>& result_callback) |
62 OVERRIDE; | 62 OVERRIDE; |
| 63 virtual scoped_refptr<cc::DelegatedRendererLayer> |
| 64 CreateDelegatedLayerForFrameProvider() OVERRIDE; |
63 virtual float GetDpiScale() const OVERRIDE; | 65 virtual float GetDpiScale() const OVERRIDE; |
64 virtual void PauseVideo() OVERRIDE; | 66 virtual void PauseVideo() OVERRIDE; |
65 virtual void PauseOrResumeGeolocation(bool should_pause) OVERRIDE; | 67 virtual void PauseOrResumeGeolocation(bool should_pause) OVERRIDE; |
66 virtual void RequestTextSurroundingSelection( | 68 virtual void RequestTextSurroundingSelection( |
67 int max_length, | 69 int max_length, |
68 const base::Callback<void(const base::string16& content, | 70 const base::Callback<void(const base::string16& content, |
69 int start_offset, | 71 int start_offset, |
70 int end_offset)>& callback) OVERRIDE; | 72 int end_offset)>& callback) OVERRIDE; |
71 | 73 |
72 // -------------------------------------------------------------------------- | 74 // -------------------------------------------------------------------------- |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 java_bridge_dispatcher_host_; | 372 java_bridge_dispatcher_host_; |
371 | 373 |
372 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 374 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
373 }; | 375 }; |
374 | 376 |
375 bool RegisterContentViewCore(JNIEnv* env); | 377 bool RegisterContentViewCore(JNIEnv* env); |
376 | 378 |
377 } // namespace content | 379 } // namespace content |
378 | 380 |
379 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 381 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |