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 | 213 |
214 // ui::TouchSelectionControllerClient implementation. | 214 // ui::TouchSelectionControllerClient implementation. |
215 bool SupportsAnimation() const override; | 215 bool SupportsAnimation() const override; |
216 void SetNeedsAnimate() override; | 216 void SetNeedsAnimate() override; |
217 void MoveCaret(const gfx::PointF& position) override; | 217 void MoveCaret(const gfx::PointF& position) override; |
218 void MoveRangeSelectionExtent(const gfx::PointF& extent) override; | 218 void MoveRangeSelectionExtent(const gfx::PointF& extent) override; |
219 void SelectBetweenCoordinates(const gfx::PointF& base, | 219 void SelectBetweenCoordinates(const gfx::PointF& base, |
220 const gfx::PointF& extent) override; | 220 const gfx::PointF& extent) override; |
221 void OnSelectionEvent(ui::SelectionEventType event) override; | 221 void OnSelectionEvent(ui::SelectionEventType event) override; |
222 scoped_ptr<ui::TouchHandleDrawable> CreateDrawable() override; | 222 scoped_ptr<ui::TouchHandleDrawable> CreateDrawable() override; |
223 void OnScrollStarted() override; | |
224 void OnScrollCompleted() override; | |
sadrul
2015/04/29 19:55:03
optional: Would it make sense to call these OnSele
mohsen
2015/04/30 18:29:34
I agree, that makes more sense. Done.
| |
223 | 225 |
224 // Non-virtual methods | 226 // Non-virtual methods |
225 void SetContentViewCore(ContentViewCoreImpl* content_view_core); | 227 void SetContentViewCore(ContentViewCoreImpl* content_view_core); |
226 SkColor GetCachedBackgroundColor() const; | 228 SkColor GetCachedBackgroundColor() const; |
227 void SendKeyEvent(const NativeWebKeyboardEvent& event); | 229 void SendKeyEvent(const NativeWebKeyboardEvent& event); |
228 void SendMouseEvent(const blink::WebMouseEvent& event); | 230 void SendMouseEvent(const blink::WebMouseEvent& event); |
229 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); | 231 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); |
230 void SendGestureEvent(const blink::WebGestureEvent& event); | 232 void SendGestureEvent(const blink::WebGestureEvent& event); |
231 | 233 |
232 void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params); | 234 void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params); |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
430 gfx::Vector2dF last_scroll_offset_; | 432 gfx::Vector2dF last_scroll_offset_; |
431 | 433 |
432 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 434 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
433 | 435 |
434 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 436 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
435 }; | 437 }; |
436 | 438 |
437 } // namespace content | 439 } // namespace content |
438 | 440 |
439 #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 |