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

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

Issue 272683003: Make compositing mode sticky when RenderView is reused in LayoutTests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sticky: rebase Created 6 years, 7 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 | « no previous file | 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 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 // The time spent in input handlers this frame. Used to throttle input acks. 650 // The time spent in input handlers this frame. Used to throttle input acks.
651 base::TimeDelta total_input_handling_time_this_frame_; 651 base::TimeDelta total_input_handling_time_this_frame_;
652 652
653 // Indicates if the next sequence of Char events should be suppressed or not. 653 // Indicates if the next sequence of Char events should be suppressed or not.
654 bool suppress_next_char_events_; 654 bool suppress_next_char_events_;
655 655
656 // Set to true if painting to the window is handled by the accelerated 656 // Set to true if painting to the window is handled by the accelerated
657 // compositor. 657 // compositor.
658 bool is_accelerated_compositing_active_; 658 bool is_accelerated_compositing_active_;
659 659
660 // Set to true if compositing has ever been active for this widget. Once a
661 // widget has used compositing, it will act as though force compositing mode
662 // is on for the remainder of the widget's lifetime.
663 bool was_accelerated_compositing_ever_active_;
664
665 base::OneShotTimer<RenderWidget> animation_timer_; 660 base::OneShotTimer<RenderWidget> animation_timer_;
666 bool animation_update_pending_; 661 bool animation_update_pending_;
667 bool invalidation_task_posted_; 662 bool invalidation_task_posted_;
668 663
669 // Stats for legacy software mode 664 // Stats for legacy software mode
670 scoped_ptr<cc::RenderingStatsInstrumentation> legacy_software_mode_stats_; 665 scoped_ptr<cc::RenderingStatsInstrumentation> legacy_software_mode_stats_;
671 666
672 // Properties of the screen hosting this RenderWidget instance. 667 // Properties of the screen hosting this RenderWidget instance.
673 blink::WebScreenInfo screen_info_; 668 blink::WebScreenInfo screen_info_;
674 669
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 720
726 ui::MenuSourceType context_menu_source_type_; 721 ui::MenuSourceType context_menu_source_type_;
727 gfx::Point touch_editing_context_menu_location_; 722 gfx::Point touch_editing_context_menu_location_;
728 723
729 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 724 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
730 }; 725 };
731 726
732 } // namespace content 727 } // namespace content
733 728
734 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 729 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698