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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 void OnDetachCompositor() override; | 198 void OnDetachCompositor() override; |
199 void OnVSync(base::TimeTicks frame_time, | 199 void OnVSync(base::TimeTicks frame_time, |
200 base::TimeDelta vsync_period) override; | 200 base::TimeDelta vsync_period) override; |
201 void OnAnimate(base::TimeTicks begin_frame_time) override; | 201 void OnAnimate(base::TimeTicks begin_frame_time) override; |
202 void OnActivityPaused() override; | 202 void OnActivityPaused() override; |
203 void OnActivityResumed() override; | 203 void OnActivityResumed() override; |
204 | 204 |
205 // DelegatedFrameEvictor implementation | 205 // DelegatedFrameEvictor implementation |
206 void EvictDelegatedFrame() override; | 206 void EvictDelegatedFrame() override; |
207 | 207 |
208 SkColorType PreferredReadbackFormat() override; | |
209 | |
210 // StylusTextSelectorClient implementation. | 208 // StylusTextSelectorClient implementation. |
211 void OnStylusSelectBegin(float x0, float y0, float x1, float y1) override; | 209 void OnStylusSelectBegin(float x0, float y0, float x1, float y1) override; |
212 void OnStylusSelectUpdate(float x, float y) override; | 210 void OnStylusSelectUpdate(float x, float y) override; |
213 void OnStylusSelectEnd() override; | 211 void OnStylusSelectEnd() override; |
214 void OnStylusSelectTap(base::TimeTicks time, float x, float y) override; | 212 void OnStylusSelectTap(base::TimeTicks time, float x, float y) override; |
215 | 213 |
216 // ui::TouchSelectionControllerClient implementation. | 214 // ui::TouchSelectionControllerClient implementation. |
217 bool SupportsAnimation() const override; | 215 bool SupportsAnimation() const override; |
218 void SetNeedsAnimate() override; | 216 void SetNeedsAnimate() override; |
219 void MoveCaret(const gfx::PointF& position) override; | 217 void MoveCaret(const gfx::PointF& position) override; |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 gfx::Vector2dF last_scroll_offset_; | 430 gfx::Vector2dF last_scroll_offset_; |
433 | 431 |
434 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 432 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
435 | 433 |
436 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 434 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
437 }; | 435 }; |
438 | 436 |
439 } // namespace content | 437 } // namespace content |
440 | 438 |
441 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 439 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |