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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 void OnContentViewCoreDestroyed() override; | 170 void OnContentViewCoreDestroyed() override; |
171 void OnAttachedToWindow() override; | 171 void OnAttachedToWindow() override; |
172 void OnDetachedFromWindow() override; | 172 void OnDetachedFromWindow() override; |
173 | 173 |
174 // DelegatedFrameEvictor implementation | 174 // DelegatedFrameEvictor implementation |
175 void EvictDelegatedFrame() override; | 175 void EvictDelegatedFrame() override; |
176 | 176 |
177 // StylusTextSelectorClient implementation. | 177 // StylusTextSelectorClient implementation. |
178 void OnStylusSelectBegin(float x0, float y0, float x1, float y1) override; | 178 void OnStylusSelectBegin(float x0, float y0, float x1, float y1) override; |
179 void OnStylusSelectUpdate(float x, float y) override; | 179 void OnStylusSelectUpdate(float x, float y) override; |
180 void OnStylusSelectEnd() override; | 180 void OnStylusSelectEnd() override {}; |
181 void OnStylusSelectTap(base::TimeTicks time, float x, float y) override; | 181 void OnStylusSelectTap(base::TimeTicks time, float x, float y) override; |
182 | 182 |
183 // ui::TouchSelectionControllerClient implementation. | 183 // ui::TouchSelectionControllerClient implementation. |
184 bool SupportsAnimation() const override; | 184 bool SupportsAnimation() const override; |
185 void SetNeedsAnimate() override; | 185 void SetNeedsAnimate() override; |
186 void MoveCaret(const gfx::PointF& position) override; | 186 void MoveCaret(const gfx::PointF& position) override; |
187 void MoveRangeSelectionExtent(const gfx::PointF& extent) override; | 187 void MoveRangeSelectionExtent(const gfx::PointF& extent) override; |
188 void SelectBetweenCoordinates(const gfx::PointF& base, | 188 void SelectBetweenCoordinates(const gfx::PointF& base, |
189 const gfx::PointF& extent) override; | 189 const gfx::PointF& extent) override; |
190 void OnSelectionEvent(ui::SelectionEventType event) override; | 190 void OnSelectionEvent(ui::SelectionEventType event) override; |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 gfx::Vector2dF last_scroll_offset_; | 396 gfx::Vector2dF last_scroll_offset_; |
397 | 397 |
398 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 398 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
399 | 399 |
400 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 400 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
401 }; | 401 }; |
402 | 402 |
403 } // namespace content | 403 } // namespace content |
404 | 404 |
405 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 405 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |