OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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::ViewAndroid* GetViewAndroid() const OVERRIDE; | 53 virtual ui::ViewAndroid* GetViewAndroid() const OVERRIDE; |
54 virtual ui::WindowAndroid* GetWindowAndroid() const OVERRIDE; | 54 virtual ui::WindowAndroid* GetWindowAndroid() const OVERRIDE; |
55 virtual scoped_refptr<cc::Layer> GetLayer() const OVERRIDE; | 55 virtual scoped_refptr<cc::Layer> GetLayer() const OVERRIDE; |
56 virtual void LoadUrl(NavigationController::LoadURLParams& params) OVERRIDE; | 56 virtual void LoadUrl(NavigationController::LoadURLParams& params) OVERRIDE; |
57 virtual jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj) OVERRIDE; | 57 virtual jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj) OVERRIDE; |
58 virtual void ShowPastePopup(int x, int y) OVERRIDE; | 58 virtual void ShowPastePopup(int x, int y) OVERRIDE; |
59 virtual unsigned int GetScaledContentTexture( | 59 virtual unsigned int GetScaledContentTexture( |
60 float scale, | 60 float scale, |
61 gfx::Size* out_size) OVERRIDE; | 61 gfx::Size* out_size) OVERRIDE; |
62 virtual float GetDpiScale() const OVERRIDE; | 62 virtual float GetDpiScale() const OVERRIDE; |
63 virtual void SetInputHandler( | |
64 WebKit::WebCompositorInputHandler* input_handler) OVERRIDE; | |
65 virtual void RequestContentClipping(const gfx::Rect& clipping, | 63 virtual void RequestContentClipping(const gfx::Rect& clipping, |
66 const gfx::Size& content_size) OVERRIDE; | 64 const gfx::Size& content_size) OVERRIDE; |
67 virtual void AddFrameInfoCallback( | 65 virtual void AddFrameInfoCallback( |
68 const UpdateFrameInfoCallback& callback) OVERRIDE; | 66 const UpdateFrameInfoCallback& callback) OVERRIDE; |
69 virtual void RemoveFrameInfoCallback( | 67 virtual void RemoveFrameInfoCallback( |
70 const UpdateFrameInfoCallback& callback) OVERRIDE; | 68 const UpdateFrameInfoCallback& callback) OVERRIDE; |
71 | 69 |
72 // -------------------------------------------------------------------------- | 70 // -------------------------------------------------------------------------- |
73 // Methods called from Java via JNI | 71 // Methods called from Java via JNI |
74 // -------------------------------------------------------------------------- | 72 // -------------------------------------------------------------------------- |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 scoped_ptr<SyncInputEventFilter> input_event_filter_; | 365 scoped_ptr<SyncInputEventFilter> input_event_filter_; |
368 | 366 |
369 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 367 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
370 }; | 368 }; |
371 | 369 |
372 bool RegisterContentViewCore(JNIEnv* env); | 370 bool RegisterContentViewCore(JNIEnv* env); |
373 | 371 |
374 } // namespace content | 372 } // namespace content |
375 | 373 |
376 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 374 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |