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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 void OnContentViewCoreDestroyed() override; | 185 void OnContentViewCoreDestroyed() override; |
186 void OnAttachedToWindow() override; | 186 void OnAttachedToWindow() override; |
187 void OnDetachedFromWindow() override; | 187 void OnDetachedFromWindow() override; |
188 | 188 |
189 // DelegatedFrameEvictor implementation | 189 // DelegatedFrameEvictor implementation |
190 void EvictDelegatedFrame() override; | 190 void EvictDelegatedFrame() override; |
191 | 191 |
192 // StylusTextSelectorClient implementation. | 192 // StylusTextSelectorClient implementation. |
193 void OnStylusSelectBegin(float x0, float y0, float x1, float y1) override; | 193 void OnStylusSelectBegin(float x0, float y0, float x1, float y1) override; |
194 void OnStylusSelectUpdate(float x, float y) override; | 194 void OnStylusSelectUpdate(float x, float y) override; |
195 void OnStylusSelectEnd() override; | |
196 void OnStylusSelectTap(base::TimeTicks time, float x, float y) override; | 195 void OnStylusSelectTap(base::TimeTicks time, float x, float y) override; |
197 | 196 |
198 // ui::TouchSelectionControllerClient implementation. | 197 // ui::TouchSelectionControllerClient implementation. |
199 bool SupportsAnimation() const override; | 198 bool SupportsAnimation() const override; |
200 void SetNeedsAnimate() override; | 199 void SetNeedsAnimate() override; |
201 void MoveCaret(const gfx::PointF& position) override; | 200 void MoveCaret(const gfx::PointF& position) override; |
202 void MoveRangeSelectionExtent(const gfx::PointF& extent) override; | 201 void MoveRangeSelectionExtent(const gfx::PointF& extent) override; |
203 void SelectBetweenCoordinates(const gfx::PointF& base, | 202 void SelectBetweenCoordinates(const gfx::PointF& base, |
204 const gfx::PointF& extent) override; | 203 const gfx::PointF& extent) override; |
205 void OnSelectionEvent(ui::SelectionEventType event) override; | 204 void OnSelectionEvent(ui::SelectionEventType event) override; |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 gfx::Vector2dF last_scroll_offset_; | 388 gfx::Vector2dF last_scroll_offset_; |
390 | 389 |
391 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 390 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
392 | 391 |
393 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 392 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
394 }; | 393 }; |
395 | 394 |
396 } // namespace content | 395 } // namespace content |
397 | 396 |
398 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 397 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |