| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_COMMON_RESIZE_PARAMS_H_ | 5 #ifndef CONTENT_COMMON_RESIZE_PARAMS_H_ |
| 6 #define CONTENT_COMMON_RESIZE_PARAMS_H_ | 6 #define CONTENT_COMMON_RESIZE_PARAMS_H_ |
| 7 | 7 |
| 8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 #include "content/public/common/screen_info.h" | 9 #include "content/public/common/screen_info.h" |
| 10 #include "third_party/WebKit/public/platform/WebDisplayMode.h" | 10 #include "third_party/WebKit/public/platform/WebDisplayMode.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 float top_controls_height; | 35 float top_controls_height; |
| 36 | 36 |
| 37 // The height of the bottom controls. | 37 // The height of the bottom controls. |
| 38 float bottom_controls_height; | 38 float bottom_controls_height; |
| 39 | 39 |
| 40 // The size of the visible viewport, which may be smaller than the view if the | 40 // The size of the visible viewport, which may be smaller than the view if the |
| 41 // view is partially occluded (e.g. by a virtual keyboard). The size is in | 41 // view is partially occluded (e.g. by a virtual keyboard). The size is in |
| 42 // DPI-adjusted pixels. | 42 // DPI-adjusted pixels. |
| 43 gfx::Size visible_viewport_size; | 43 gfx::Size visible_viewport_size; |
| 44 | 44 |
| 45 // The resizer rect. | |
| 46 gfx::Rect resizer_rect; | |
| 47 | |
| 48 // Indicates whether tab-initiated fullscreen was granted. | 45 // Indicates whether tab-initiated fullscreen was granted. |
| 49 bool is_fullscreen_granted; | 46 bool is_fullscreen_granted; |
| 50 | 47 |
| 51 // The display mode. | 48 // The display mode. |
| 52 blink::WebDisplayMode display_mode; | 49 blink::WebDisplayMode display_mode; |
| 53 | 50 |
| 54 // If set, requests the renderer to reply with a ViewHostMsg_UpdateRect | 51 // If set, requests the renderer to reply with a ViewHostMsg_UpdateRect |
| 55 // with the ViewHostMsg_UpdateRect_Flags::IS_RESIZE_ACK bit set in flags. | 52 // with the ViewHostMsg_UpdateRect_Flags::IS_RESIZE_ACK bit set in flags. |
| 56 bool needs_resize_ack; | 53 bool needs_resize_ack; |
| 57 }; | 54 }; |
| 58 | 55 |
| 59 } // namespace content | 56 } // namespace content |
| 60 | 57 |
| 61 #endif // CONTENT_COMMON_RESIZE_PARAMS_H_ | 58 #endif // CONTENT_COMMON_RESIZE_PARAMS_H_ |
| OLD | NEW |