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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 // The most recent content size that was pushed to the texture layer. | 366 // The most recent content size that was pushed to the texture layer. |
367 gfx::Size content_size_in_layer_; | 367 gfx::Size content_size_in_layer_; |
368 | 368 |
369 // The output surface id of the last received frame. | 369 // The output surface id of the last received frame. |
370 uint32_t last_output_surface_id_; | 370 uint32_t last_output_surface_id_; |
371 | 371 |
372 | 372 |
373 std::queue<base::Closure> ack_callbacks_; | 373 std::queue<base::Closure> ack_callbacks_; |
374 | 374 |
375 // Used to control and render overscroll-related effects. | 375 // Used to control and render overscroll-related effects. |
376 const bool overscroll_controller_enabled_; | |
377 scoped_ptr<OverscrollControllerAndroid> overscroll_controller_; | 376 scoped_ptr<OverscrollControllerAndroid> overscroll_controller_; |
378 | 377 |
379 // Provides gesture synthesis given a stream of touch events (derived from | 378 // Provides gesture synthesis given a stream of touch events (derived from |
380 // Android MotionEvent's) and touch event acks. | 379 // Android MotionEvent's) and touch event acks. |
381 ui::FilteredGestureProvider gesture_provider_; | 380 ui::FilteredGestureProvider gesture_provider_; |
382 | 381 |
383 // Handles gesture based text selection | 382 // Handles gesture based text selection |
384 GestureTextSelector gesture_text_selector_; | 383 GestureTextSelector gesture_text_selector_; |
385 | 384 |
386 // Manages selection handle rendering and manipulation. | 385 // Manages selection handle rendering and manipulation. |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 gfx::Vector2dF last_scroll_offset_; | 417 gfx::Vector2dF last_scroll_offset_; |
419 | 418 |
420 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 419 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
421 | 420 |
422 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 421 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
423 }; | 422 }; |
424 | 423 |
425 } // namespace content | 424 } // namespace content |
426 | 425 |
427 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 426 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |