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