| 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 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 678 | 678 |
| 679 // Set if we are waiting for a repaint ack for the view. | 679 // Set if we are waiting for a repaint ack for the view. |
| 680 bool repaint_ack_pending_; | 680 bool repaint_ack_pending_; |
| 681 | 681 |
| 682 // True when waiting for RESIZE_ACK. | 682 // True when waiting for RESIZE_ACK. |
| 683 bool resize_ack_pending_; | 683 bool resize_ack_pending_; |
| 684 | 684 |
| 685 // The current size of the RenderWidget. | 685 // The current size of the RenderWidget. |
| 686 gfx::Size current_size_; | 686 gfx::Size current_size_; |
| 687 | 687 |
| 688 // The size of the view's backing surface in non-DPI-adjusted pixels. |
| 689 gfx::Size physical_backing_size_; |
| 690 |
| 688 // The size we last sent as requested size to the renderer. |current_size_| | 691 // The size we last sent as requested size to the renderer. |current_size_| |
| 689 // is only updated once the resize message has been ack'd. This on the other | 692 // is only updated once the resize message has been ack'd. This on the other |
| 690 // hand is updated when the resize message is sent. This is very similar to | 693 // hand is updated when the resize message is sent. This is very similar to |
| 691 // |resize_ack_pending_|, but the latter is not set if the new size has width | 694 // |resize_ack_pending_|, but the latter is not set if the new size has width |
| 692 // or height zero, which is why we need this too. | 695 // or height zero, which is why we need this too. |
| 693 gfx::Size in_flight_size_; | 696 gfx::Size in_flight_size_; |
| 694 | 697 |
| 695 // The next auto resize to send. | 698 // The next auto resize to send. |
| 696 gfx::Size new_auto_size_; | 699 gfx::Size new_auto_size_; |
| 697 | 700 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 842 #if defined(OS_WIN) | 845 #if defined(OS_WIN) |
| 843 std::list<HWND> dummy_windows_for_activation_; | 846 std::list<HWND> dummy_windows_for_activation_; |
| 844 #endif | 847 #endif |
| 845 | 848 |
| 846 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 849 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 847 }; | 850 }; |
| 848 | 851 |
| 849 } // namespace content | 852 } // namespace content |
| 850 | 853 |
| 851 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 854 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |