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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 bool TransformPointToCoordSpaceForView( | 178 bool TransformPointToCoordSpaceForView( |
179 const gfx::Point& point, | 179 const gfx::Point& point, |
180 RenderWidgetHostViewBase* target_view, | 180 RenderWidgetHostViewBase* target_view, |
181 gfx::Point* transformed_point) override; | 181 gfx::Point* transformed_point) override; |
182 | 182 |
183 // ui::ViewClient implementation. | 183 // ui::ViewClient implementation. |
184 bool OnTouchEvent(const ui::MotionEventAndroid& m, | 184 bool OnTouchEvent(const ui::MotionEventAndroid& m, |
185 bool for_touch_handle) override; | 185 bool for_touch_handle) override; |
186 bool OnMouseEvent(const ui::MotionEventAndroid& m) override; | 186 bool OnMouseEvent(const ui::MotionEventAndroid& m) override; |
187 bool OnMouseWheelEvent(const ui::MotionEventAndroid& event) override; | 187 bool OnMouseWheelEvent(const ui::MotionEventAndroid& event) override; |
| 188 void OnPhysicalBackingSizeChanged() override; |
188 | 189 |
189 // ui::GestureProviderClient implementation. | 190 // ui::GestureProviderClient implementation. |
190 void OnGestureEvent(const ui::GestureEventData& gesture) override; | 191 void OnGestureEvent(const ui::GestureEventData& gesture) override; |
191 | 192 |
192 // ui::WindowAndroidObserver implementation. | 193 // ui::WindowAndroidObserver implementation. |
193 void OnCompositingDidCommit() override {} | 194 void OnCompositingDidCommit() override {} |
194 void OnRootWindowVisibilityChanged(bool visible) override; | 195 void OnRootWindowVisibilityChanged(bool visible) override; |
195 void OnAttachCompositor() override; | 196 void OnAttachCompositor() override; |
196 void OnDetachCompositor() override; | 197 void OnDetachCompositor() override; |
197 void OnAnimate(base::TimeTicks begin_frame_time) override; | 198 void OnAnimate(base::TimeTicks begin_frame_time) override; |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 base::ObserverList<DestructionObserver> destruction_observers_; | 426 base::ObserverList<DestructionObserver> destruction_observers_; |
426 | 427 |
427 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 428 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
428 | 429 |
429 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 430 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
430 }; | 431 }; |
431 | 432 |
432 } // namespace content | 433 } // namespace content |
433 | 434 |
434 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 435 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |