| 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 <map> | 8 #include <map> |
| 9 #include <queue> | 9 #include <queue> |
| 10 | 10 |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 void OnStylusSelectEnd() override; | 213 void OnStylusSelectEnd() override; |
| 214 void OnStylusSelectTap(base::TimeTicks time, float x, float y) override; | 214 void OnStylusSelectTap(base::TimeTicks time, float x, float y) override; |
| 215 | 215 |
| 216 // ui::TouchSelectionControllerClient implementation. | 216 // ui::TouchSelectionControllerClient implementation. |
| 217 bool SupportsAnimation() const override; | 217 bool SupportsAnimation() const override; |
| 218 void SetNeedsAnimate() override; | 218 void SetNeedsAnimate() override; |
| 219 void MoveCaret(const gfx::PointF& position) override; | 219 void MoveCaret(const gfx::PointF& position) override; |
| 220 void MoveRangeSelectionExtent(const gfx::PointF& extent) override; | 220 void MoveRangeSelectionExtent(const gfx::PointF& extent) override; |
| 221 void SelectBetweenCoordinates(const gfx::PointF& base, | 221 void SelectBetweenCoordinates(const gfx::PointF& base, |
| 222 const gfx::PointF& extent) override; | 222 const gfx::PointF& extent) override; |
| 223 void OnSelectionEvent(ui::SelectionEventType event, | 223 void OnSelectionEvent(ui::SelectionEventType event) override; |
| 224 const gfx::PointF& anchor_position) override; | |
| 225 scoped_ptr<ui::TouchHandleDrawable> CreateDrawable() override; | 224 scoped_ptr<ui::TouchHandleDrawable> CreateDrawable() override; |
| 226 | 225 |
| 227 // Non-virtual methods | 226 // Non-virtual methods |
| 228 void SetContentViewCore(ContentViewCoreImpl* content_view_core); | 227 void SetContentViewCore(ContentViewCoreImpl* content_view_core); |
| 229 SkColor GetCachedBackgroundColor() const; | 228 SkColor GetCachedBackgroundColor() const; |
| 230 void SendKeyEvent(const NativeWebKeyboardEvent& event); | 229 void SendKeyEvent(const NativeWebKeyboardEvent& event); |
| 231 void SendMouseEvent(const blink::WebMouseEvent& event); | 230 void SendMouseEvent(const blink::WebMouseEvent& event); |
| 232 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); | 231 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); |
| 233 void SendGestureEvent(const blink::WebGestureEvent& event); | 232 void SendGestureEvent(const blink::WebGestureEvent& event); |
| 234 | 233 |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 gfx::Vector2dF last_scroll_offset_; | 432 gfx::Vector2dF last_scroll_offset_; |
| 434 | 433 |
| 435 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 434 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
| 436 | 435 |
| 437 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 436 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 438 }; | 437 }; |
| 439 | 438 |
| 440 } // namespace content | 439 } // namespace content |
| 441 | 440 |
| 442 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 441 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |