| 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_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 gfx::Point* transformed_point) override; | 161 gfx::Point* transformed_point) override; |
| 162 bool TransformPointToCoordSpaceForView( | 162 bool TransformPointToCoordSpaceForView( |
| 163 const gfx::Point& point, | 163 const gfx::Point& point, |
| 164 RenderWidgetHostViewBase* target_view, | 164 RenderWidgetHostViewBase* target_view, |
| 165 gfx::Point* transformed_point) override; | 165 gfx::Point* transformed_point) override; |
| 166 | 166 |
| 167 // ui::ViewClient implementation. | 167 // ui::ViewClient implementation. |
| 168 bool OnTouchEvent(const ui::MotionEventAndroid& m, | 168 bool OnTouchEvent(const ui::MotionEventAndroid& m, |
| 169 bool for_touch_handle) override; | 169 bool for_touch_handle) override; |
| 170 bool OnMouseEvent(const ui::MotionEventAndroid& m) override; | 170 bool OnMouseEvent(const ui::MotionEventAndroid& m) override; |
| 171 bool OnMouseWheelEvent(const ui::MotionEventAndroid& event) override; |
| 171 | 172 |
| 172 // ui::GestureProviderClient implementation. | 173 // ui::GestureProviderClient implementation. |
| 173 void OnGestureEvent(const ui::GestureEventData& gesture) override; | 174 void OnGestureEvent(const ui::GestureEventData& gesture) override; |
| 174 | 175 |
| 175 // ui::WindowAndroidObserver implementation. | 176 // ui::WindowAndroidObserver implementation. |
| 176 void OnCompositingDidCommit() override {} | 177 void OnCompositingDidCommit() override {} |
| 177 void OnRootWindowVisibilityChanged(bool visible) override; | 178 void OnRootWindowVisibilityChanged(bool visible) override; |
| 178 void OnAttachCompositor() override; | 179 void OnAttachCompositor() override; |
| 179 void OnDetachCompositor() override; | 180 void OnDetachCompositor() override; |
| 180 void OnAnimate(base::TimeTicks begin_frame_time) override; | 181 void OnAnimate(base::TimeTicks begin_frame_time) override; |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 float prev_bottom_shown_pix_; | 405 float prev_bottom_shown_pix_; |
| 405 | 406 |
| 406 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 407 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
| 407 | 408 |
| 408 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 409 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 409 }; | 410 }; |
| 410 | 411 |
| 411 } // namespace content | 412 } // namespace content |
| 412 | 413 |
| 413 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 414 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |