Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Side by Side Diff: content/renderer/render_widget.h

Issue 344703002: Revert of Remove EnableThreadedCompositing from the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/renderer/render_thread_impl_browsertest.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
662 const ui::LatencyInfo* current_event_latency_info_; 665 const ui::LatencyInfo* current_event_latency_info_;
663 666
664 uint32 next_output_surface_id_; 667 uint32 next_output_surface_id_;
665 668
666 #if defined(OS_ANDROID) 669 #if defined(OS_ANDROID)
667 // Indicates value in the focused text field is in dirty state, i.e. modified 670 // Indicates value in the focused text field is in dirty state, i.e. modified
668 // by script etc., not by user input. 671 // by script etc., not by user input.
669 bool text_field_is_dirty_; 672 bool text_field_is_dirty_;
670 673
671 // A counter for number of outstanding messages from the renderer to the 674 // A counter for number of outstanding messages from the renderer to the
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 706
704 ui::MenuSourceType context_menu_source_type_; 707 ui::MenuSourceType context_menu_source_type_;
705 gfx::Point touch_editing_context_menu_location_; 708 gfx::Point touch_editing_context_menu_location_;
706 709
707 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 710 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
708 }; 711 };
709 712
710 } // namespace content 713 } // namespace content
711 714
712 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 715 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl_browsertest.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698