| 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 void OnContentViewCoreDestroyed() override; | 182 void OnContentViewCoreDestroyed() override; |
| 183 void OnAttachedToWindow() override; | 183 void OnAttachedToWindow() override; |
| 184 void OnDetachedFromWindow() override; | 184 void OnDetachedFromWindow() override; |
| 185 | 185 |
| 186 // DelegatedFrameEvictor implementation | 186 // DelegatedFrameEvictor implementation |
| 187 void EvictDelegatedFrame() override; | 187 void EvictDelegatedFrame() override; |
| 188 | 188 |
| 189 // StylusTextSelectorClient implementation. | 189 // StylusTextSelectorClient implementation. |
| 190 void OnStylusSelectBegin(float x0, float y0, float x1, float y1) override; | 190 void OnStylusSelectBegin(float x0, float y0, float x1, float y1) override; |
| 191 void OnStylusSelectUpdate(float x, float y) override; | 191 void OnStylusSelectUpdate(float x, float y) override; |
| 192 void OnStylusSelectEnd() override; | 192 void OnStylusSelectEnd() override {}; |
| 193 void OnStylusSelectTap(base::TimeTicks time, float x, float y) override; | 193 void OnStylusSelectTap(base::TimeTicks time, float x, float y) override; |
| 194 | 194 |
| 195 // ui::TouchSelectionControllerClient implementation. | 195 // ui::TouchSelectionControllerClient implementation. |
| 196 bool SupportsAnimation() const override; | 196 bool SupportsAnimation() const override; |
| 197 void SetNeedsAnimate() override; | 197 void SetNeedsAnimate() override; |
| 198 void MoveCaret(const gfx::PointF& position) override; | 198 void MoveCaret(const gfx::PointF& position) override; |
| 199 void MoveRangeSelectionExtent(const gfx::PointF& extent) override; | 199 void MoveRangeSelectionExtent(const gfx::PointF& extent) override; |
| 200 void SelectBetweenCoordinates(const gfx::PointF& base, | 200 void SelectBetweenCoordinates(const gfx::PointF& base, |
| 201 const gfx::PointF& extent) override; | 201 const gfx::PointF& extent) override; |
| 202 void OnSelectionEvent(ui::SelectionEventType event) override; | 202 void OnSelectionEvent(ui::SelectionEventType event) override; |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 gfx::Vector2dF last_scroll_offset_; | 380 gfx::Vector2dF last_scroll_offset_; |
| 381 | 381 |
| 382 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 382 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
| 383 | 383 |
| 384 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 384 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 385 }; | 385 }; |
| 386 | 386 |
| 387 } // namespace content | 387 } // namespace content |
| 388 | 388 |
| 389 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 389 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |