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 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
729 | 729 |
730 // True if threaded compositing is enabled on this view. | 730 // True if threaded compositing is enabled on this view. |
731 bool is_threaded_compositing_enabled_; | 731 bool is_threaded_compositing_enabled_; |
732 | 732 |
733 // Set if we are waiting for a repaint ack for the view. | 733 // Set if we are waiting for a repaint ack for the view. |
734 bool repaint_ack_pending_; | 734 bool repaint_ack_pending_; |
735 | 735 |
736 // True when waiting for RESIZE_ACK. | 736 // True when waiting for RESIZE_ACK. |
737 bool resize_ack_pending_; | 737 bool resize_ack_pending_; |
738 | 738 |
| 739 // Set if the screen info has changed since the last time it was sent to the |
| 740 // renderer. |
| 741 bool renderer_screen_info_out_of_date_; |
| 742 |
739 // The current size of the RenderWidget. | 743 // The current size of the RenderWidget. |
740 gfx::Size current_size_; | 744 gfx::Size current_size_; |
741 | 745 |
742 // The size of the view's backing surface in non-DPI-adjusted pixels. | 746 // The size of the view's backing surface in non-DPI-adjusted pixels. |
743 gfx::Size physical_backing_size_; | 747 gfx::Size physical_backing_size_; |
744 | 748 |
745 // The height of the physical backing surface that is overdrawn opaquely in | 749 // The height of the physical backing surface that is overdrawn opaquely in |
746 // the browser, for example by an on-screen-keyboard (in DPI-adjusted pixels). | 750 // the browser, for example by an on-screen-keyboard (in DPI-adjusted pixels). |
747 float overdraw_bottom_height_; | 751 float overdraw_bottom_height_; |
748 | 752 |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
905 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_; | 909 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_; |
906 | 910 |
907 int64 last_input_number_; | 911 int64 last_input_number_; |
908 | 912 |
909 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 913 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
910 }; | 914 }; |
911 | 915 |
912 } // namespace content | 916 } // namespace content |
913 | 917 |
914 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 918 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |