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_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 | 622 |
623 // Indicates whether a page is hidden or not. | 623 // Indicates whether a page is hidden or not. |
624 bool is_hidden_; | 624 bool is_hidden_; |
625 | 625 |
626 // Indicates whether a page is fullscreen or not. | 626 // Indicates whether a page is fullscreen or not. |
627 bool is_fullscreen_; | 627 bool is_fullscreen_; |
628 | 628 |
629 // True when a page is rendered directly via the GPU process. | 629 // True when a page is rendered directly via the GPU process. |
630 bool is_accelerated_compositing_active_; | 630 bool is_accelerated_compositing_active_; |
631 | 631 |
| 632 // True if threaded compositing is enabled on this view. |
| 633 bool is_threaded_compositing_enabled_; |
| 634 |
632 // Set if we are waiting for a repaint ack for the view. | 635 // Set if we are waiting for a repaint ack for the view. |
633 bool repaint_ack_pending_; | 636 bool repaint_ack_pending_; |
634 | 637 |
635 // True when waiting for RESIZE_ACK. | 638 // True when waiting for RESIZE_ACK. |
636 bool resize_ack_pending_; | 639 bool resize_ack_pending_; |
637 | 640 |
638 // The current size of the RenderWidget. | 641 // The current size of the RenderWidget. |
639 gfx::Size current_size_; | 642 gfx::Size current_size_; |
640 | 643 |
641 // The size we last sent as requested size to the renderer. |current_size_| | 644 // The size we last sent as requested size to the renderer. |current_size_| |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
778 scoped_ptr<TapSuppressionController> tap_suppression_controller_; | 781 scoped_ptr<TapSuppressionController> tap_suppression_controller_; |
779 | 782 |
780 scoped_ptr<SmoothScrollGesture> active_smooth_scroll_gesture_; | 783 scoped_ptr<SmoothScrollGesture> active_smooth_scroll_gesture_; |
781 | 784 |
782 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 785 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
783 }; | 786 }; |
784 | 787 |
785 } // namespace content | 788 } // namespace content |
786 | 789 |
787 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 790 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |