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 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
637 // an already-completed auto-resize. | 637 // an already-completed auto-resize. |
638 bool need_update_rect_for_auto_resize_; | 638 bool need_update_rect_for_auto_resize_; |
639 | 639 |
640 // Set to true if we should ignore RenderWidget::Show calls. | 640 // Set to true if we should ignore RenderWidget::Show calls. |
641 bool did_show_; | 641 bool did_show_; |
642 | 642 |
643 // Indicates that we shouldn't bother generated paint events. | 643 // Indicates that we shouldn't bother generated paint events. |
644 bool is_hidden_; | 644 bool is_hidden_; |
645 | 645 |
646 // Indicates that we are never visible, so never produce graphical output. | 646 // Indicates that we are never visible, so never produce graphical output. |
647 bool never_visible_; | 647 const bool compositor_never_visible_; |
648 | 648 |
649 // Indicates whether tab-initiated fullscreen was granted. | 649 // Indicates whether tab-initiated fullscreen was granted. |
650 bool is_fullscreen_granted_; | 650 bool is_fullscreen_granted_; |
651 | 651 |
652 // Indicates the display mode. | 652 // Indicates the display mode. |
653 blink::WebDisplayMode display_mode_; | 653 blink::WebDisplayMode display_mode_; |
654 | 654 |
655 // Indicates whether we have been focused/unfocused by the browser. | 655 // Indicates whether we have been focused/unfocused by the browser. |
656 bool has_focus_; | 656 bool has_focus_; |
657 | 657 |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
795 ui::MenuSourceType context_menu_source_type_; | 795 ui::MenuSourceType context_menu_source_type_; |
796 bool has_host_context_menu_location_; | 796 bool has_host_context_menu_location_; |
797 gfx::Point host_context_menu_location_; | 797 gfx::Point host_context_menu_location_; |
798 | 798 |
799 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 799 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
800 }; | 800 }; |
801 | 801 |
802 } // namespace content | 802 } // namespace content |
803 | 803 |
804 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 804 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |