| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 // ContentViewCore implementation. | 47 // ContentViewCore implementation. |
| 48 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaObject() OVERRIDE; | 48 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaObject() OVERRIDE; |
| 49 virtual WebContents* GetWebContents() const OVERRIDE; | 49 virtual WebContents* GetWebContents() const OVERRIDE; |
| 50 virtual ui::ViewAndroid* GetViewAndroid() const OVERRIDE; | 50 virtual ui::ViewAndroid* GetViewAndroid() const OVERRIDE; |
| 51 virtual ui::WindowAndroid* GetWindowAndroid() const OVERRIDE; | 51 virtual ui::WindowAndroid* GetWindowAndroid() const OVERRIDE; |
| 52 virtual scoped_refptr<cc::Layer> GetLayer() const OVERRIDE; | 52 virtual scoped_refptr<cc::Layer> GetLayer() const OVERRIDE; |
| 53 virtual void LoadUrl(NavigationController::LoadURLParams& params) OVERRIDE; | 53 virtual void LoadUrl(NavigationController::LoadURLParams& params) OVERRIDE; |
| 54 virtual void ShowPastePopup(int x, int y) OVERRIDE; | 54 virtual void ShowPastePopup(int x, int y) OVERRIDE; |
| 55 virtual void GetScaledContentBitmap( | 55 virtual void GetScaledContentBitmap( |
| 56 float scale, | 56 float scale, |
| 57 jobject bitmap_config, | 57 SkColorType color_type, |
| 58 gfx::Rect src_subrect, | 58 gfx::Rect src_subrect, |
| 59 const base::Callback<void(bool, const SkBitmap&)>& result_callback) | 59 const base::Callback<void(bool, const SkBitmap&)>& result_callback) |
| 60 OVERRIDE; | 60 OVERRIDE; |
| 61 virtual float GetDpiScale() const OVERRIDE; | 61 virtual float GetDpiScale() const OVERRIDE; |
| 62 virtual void PauseVideo() OVERRIDE; | 62 virtual void PauseVideo() OVERRIDE; |
| 63 virtual void PauseOrResumeGeolocation(bool should_pause) OVERRIDE; | 63 virtual void PauseOrResumeGeolocation(bool should_pause) OVERRIDE; |
| 64 virtual void RequestTextSurroundingSelection( | 64 virtual void RequestTextSurroundingSelection( |
| 65 int max_length, | 65 int max_length, |
| 66 const base::Callback<void(const base::string16& content, | 66 const base::Callback<void(const base::string16& content, |
| 67 int start_offset, | 67 int start_offset, |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 java_bridge_dispatcher_host_; | 386 java_bridge_dispatcher_host_; |
| 387 | 387 |
| 388 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 388 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
| 389 }; | 389 }; |
| 390 | 390 |
| 391 bool RegisterContentViewCore(JNIEnv* env); | 391 bool RegisterContentViewCore(JNIEnv* env); |
| 392 | 392 |
| 393 } // namespace content | 393 } // namespace content |
| 394 | 394 |
| 395 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 395 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| OLD | NEW |