OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <string> | 10 #include <string> |
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
577 | 577 |
578 // Indicates whether a page is loading or not. | 578 // Indicates whether a page is loading or not. |
579 bool is_loading_; | 579 bool is_loading_; |
580 | 580 |
581 // Indicates whether a page is hidden or not. | 581 // Indicates whether a page is hidden or not. |
582 bool is_hidden_; | 582 bool is_hidden_; |
583 | 583 |
584 // True when a page is rendered directly via the GPU process. | 584 // True when a page is rendered directly via the GPU process. |
585 bool is_gpu_rendering_active_; | 585 bool is_gpu_rendering_active_; |
586 | 586 |
| 587 #if defined(OS_MACOSX) |
| 588 // True after gpu rendering has been deactivated but the non-gpu backing |
| 589 // store has not been repainted yet. |
| 590 bool needs_to_hide_gpu_view_on_paint_; |
| 591 #endif |
| 592 |
587 // Set if we are waiting for a repaint ack for the view. | 593 // Set if we are waiting for a repaint ack for the view. |
588 bool repaint_ack_pending_; | 594 bool repaint_ack_pending_; |
589 | 595 |
590 // True when waiting for RESIZE_ACK. | 596 // True when waiting for RESIZE_ACK. |
591 bool resize_ack_pending_; | 597 bool resize_ack_pending_; |
592 | 598 |
593 // The current size of the RenderWidget. | 599 // The current size of the RenderWidget. |
594 gfx::Size current_size_; | 600 gfx::Size current_size_; |
595 | 601 |
596 // The size we last sent as requested size to the renderer. |current_size_| | 602 // The size we last sent as requested size to the renderer. |current_size_| |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
690 // changed. | 696 // changed. |
691 bool suppress_next_char_events_; | 697 bool suppress_next_char_events_; |
692 | 698 |
693 // Optional video YUV layer for used for out-of-process compositing. | 699 // Optional video YUV layer for used for out-of-process compositing. |
694 scoped_ptr<VideoLayer> video_layer_; | 700 scoped_ptr<VideoLayer> video_layer_; |
695 | 701 |
696 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); | 702 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); |
697 }; | 703 }; |
698 | 704 |
699 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 705 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
OLD | NEW |