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 <list> | 9 #include <list> |
10 #include <map> | 10 #include <map> |
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
689 | 689 |
690 // The ID of the corresponding object in the Renderer Instance. | 690 // The ID of the corresponding object in the Renderer Instance. |
691 int routing_id_; | 691 int routing_id_; |
692 | 692 |
693 // The ID of the surface corresponding to this render widget. | 693 // The ID of the surface corresponding to this render widget. |
694 int surface_id_; | 694 int surface_id_; |
695 | 695 |
696 // Indicates whether a page is loading or not. | 696 // Indicates whether a page is loading or not. |
697 bool is_loading_; | 697 bool is_loading_; |
698 | 698 |
699 // Indicates whether a page is hidden or not. | 699 // Indicates whether a page is hidden or not. It has to stay in sync with the |
| 700 // most recent call to process_->WidgetRestored() / WidgetHidden(). |
700 bool is_hidden_; | 701 bool is_hidden_; |
701 | 702 |
702 // Indicates whether a page is fullscreen or not. | 703 // Indicates whether a page is fullscreen or not. |
703 bool is_fullscreen_; | 704 bool is_fullscreen_; |
704 | 705 |
705 // Set if we are waiting for a repaint ack for the view. | 706 // Set if we are waiting for a repaint ack for the view. |
706 bool repaint_ack_pending_; | 707 bool repaint_ack_pending_; |
707 | 708 |
708 // True when waiting for RESIZE_ACK. | 709 // True when waiting for RESIZE_ACK. |
709 bool resize_ack_pending_; | 710 bool resize_ack_pending_; |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
844 typedef std::map<int, | 845 typedef std::map<int, |
845 base::Callback<void(const unsigned char*, size_t)> > PendingSnapshotMap; | 846 base::Callback<void(const unsigned char*, size_t)> > PendingSnapshotMap; |
846 PendingSnapshotMap pending_browser_snapshots_; | 847 PendingSnapshotMap pending_browser_snapshots_; |
847 | 848 |
848 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 849 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
849 }; | 850 }; |
850 | 851 |
851 } // namespace content | 852 } // namespace content |
852 | 853 |
853 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 854 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |