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_RENDERER_RENDER_WIDGET_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ |
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
652 | 652 |
653 // The device color profile on supported platforms. | 653 // The device color profile on supported platforms. |
654 std::vector<char> device_color_profile_; | 654 std::vector<char> device_color_profile_; |
655 | 655 |
656 // State associated with synthetic gestures. Synthetic gestures are processed | 656 // State associated with synthetic gestures. Synthetic gestures are processed |
657 // in-order, so a queue is sufficient to identify the correct state for a | 657 // in-order, so a queue is sufficient to identify the correct state for a |
658 // completed gesture. | 658 // completed gesture. |
659 std::queue<SyntheticGestureCompletionCallback> | 659 std::queue<SyntheticGestureCompletionCallback> |
660 pending_synthetic_gesture_callbacks_; | 660 pending_synthetic_gesture_callbacks_; |
661 | 661 |
662 // Specified whether the compositor will run in its own thread. | |
663 bool is_threaded_compositing_enabled_; | |
664 | |
665 const ui::LatencyInfo* current_event_latency_info_; | 662 const ui::LatencyInfo* current_event_latency_info_; |
666 | 663 |
667 uint32 next_output_surface_id_; | 664 uint32 next_output_surface_id_; |
668 | 665 |
669 #if defined(OS_ANDROID) | 666 #if defined(OS_ANDROID) |
670 // Indicates value in the focused text field is in dirty state, i.e. modified | 667 // Indicates value in the focused text field is in dirty state, i.e. modified |
671 // by script etc., not by user input. | 668 // by script etc., not by user input. |
672 bool text_field_is_dirty_; | 669 bool text_field_is_dirty_; |
673 | 670 |
674 // A counter for number of outstanding messages from the renderer to the | 671 // A counter for number of outstanding messages from the renderer to the |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
706 | 703 |
707 ui::MenuSourceType context_menu_source_type_; | 704 ui::MenuSourceType context_menu_source_type_; |
708 gfx::Point touch_editing_context_menu_location_; | 705 gfx::Point touch_editing_context_menu_location_; |
709 | 706 |
710 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 707 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
711 }; | 708 }; |
712 | 709 |
713 } // namespace content | 710 } // namespace content |
714 | 711 |
715 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 712 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |