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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 | 346 |
347 // The output surface id of the last received frame. | 347 // The output surface id of the last received frame. |
348 uint32_t last_output_surface_id_; | 348 uint32_t last_output_surface_id_; |
349 | 349 |
350 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 350 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
351 | 351 |
352 std::queue<base::Closure> ack_callbacks_; | 352 std::queue<base::Closure> ack_callbacks_; |
353 | 353 |
354 const bool overscroll_effect_enabled_; | 354 const bool overscroll_effect_enabled_; |
355 // Used to render overscroll overlays. | 355 // Used to render overscroll overlays. |
356 // Note: |overscroll_effect_| will never be NULL, even if it's never enabled. | |
357 scoped_ptr<OverscrollGlow> overscroll_effect_; | 356 scoped_ptr<OverscrollGlow> overscroll_effect_; |
358 | 357 |
359 // Provides gesture synthesis given a stream of touch events (derived from | 358 // Provides gesture synthesis given a stream of touch events (derived from |
360 // Android MotionEvent's) and touch event acks. | 359 // Android MotionEvent's) and touch event acks. |
361 ui::FilteredGestureProvider gesture_provider_; | 360 ui::FilteredGestureProvider gesture_provider_; |
362 | 361 |
363 // Handles gesture based text selection | 362 // Handles gesture based text selection |
364 GestureTextSelector gesture_text_selector_; | 363 GestureTextSelector gesture_text_selector_; |
365 | 364 |
366 // Manages selection handle rendering and manipulation. | 365 // Manages selection handle rendering and manipulation. |
(...skipping 27 matching lines...) Expand all Loading... |
394 scoped_ptr<LastFrameInfo> last_frame_info_; | 393 scoped_ptr<LastFrameInfo> last_frame_info_; |
395 | 394 |
396 TextSurroundingSelectionCallback text_surrounding_selection_callback_; | 395 TextSurroundingSelectionCallback text_surrounding_selection_callback_; |
397 | 396 |
398 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 397 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
399 }; | 398 }; |
400 | 399 |
401 } // namespace content | 400 } // namespace content |
402 | 401 |
403 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 402 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |