| 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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 | 329 |
| 330 // The output surface id of the last received frame. | 330 // The output surface id of the last received frame. |
| 331 uint32_t last_output_surface_id_; | 331 uint32_t last_output_surface_id_; |
| 332 | 332 |
| 333 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 333 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
| 334 | 334 |
| 335 std::queue<base::Closure> ack_callbacks_; | 335 std::queue<base::Closure> ack_callbacks_; |
| 336 | 336 |
| 337 const bool overscroll_effect_enabled_; | 337 const bool overscroll_effect_enabled_; |
| 338 // Used to render overscroll overlays. | 338 // Used to render overscroll overlays. |
| 339 // Note: |overscroll_effect_| will never be NULL, even if it's never enabled. | |
| 340 scoped_ptr<OverscrollGlow> overscroll_effect_; | 339 scoped_ptr<OverscrollGlow> overscroll_effect_; |
| 341 | 340 |
| 342 // Provides gesture synthesis given a stream of touch events (derived from | 341 // Provides gesture synthesis given a stream of touch events (derived from |
| 343 // Android MotionEvent's) and touch event acks. | 342 // Android MotionEvent's) and touch event acks. |
| 344 ui::FilteredGestureProvider gesture_provider_; | 343 ui::FilteredGestureProvider gesture_provider_; |
| 345 | 344 |
| 346 // Handles gesture based text selection | 345 // Handles gesture based text selection |
| 347 GestureTextSelector gesture_text_selector_; | 346 GestureTextSelector gesture_text_selector_; |
| 348 | 347 |
| 349 bool flush_input_requested_; | 348 bool flush_input_requested_; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 371 scoped_ptr<LastFrameInfo> last_frame_info_; | 370 scoped_ptr<LastFrameInfo> last_frame_info_; |
| 372 | 371 |
| 373 TextSurroundingSelectionCallback text_surrounding_selection_callback_; | 372 TextSurroundingSelectionCallback text_surrounding_selection_callback_; |
| 374 | 373 |
| 375 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 374 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 376 }; | 375 }; |
| 377 | 376 |
| 378 } // namespace content | 377 } // namespace content |
| 379 | 378 |
| 380 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 379 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |