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 // IPC messages for page rendering. | 5 // IPC messages for page rendering. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "base/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 IPC_STRUCT_MEMBER(int, flags) | 413 IPC_STRUCT_MEMBER(int, flags) |
414 IPC_STRUCT_END() | 414 IPC_STRUCT_END() |
415 | 415 |
416 IPC_STRUCT_BEGIN(ViewMsg_Resize_Params) | 416 IPC_STRUCT_BEGIN(ViewMsg_Resize_Params) |
417 // Information about the screen (dpi, depth, etc..). | 417 // Information about the screen (dpi, depth, etc..). |
418 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info) | 418 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info) |
419 // The size of the renderer. | 419 // The size of the renderer. |
420 IPC_STRUCT_MEMBER(gfx::Size, new_size) | 420 IPC_STRUCT_MEMBER(gfx::Size, new_size) |
421 // The size of the view's backing surface in non-DPI-adjusted pixels. | 421 // The size of the view's backing surface in non-DPI-adjusted pixels. |
422 IPC_STRUCT_MEMBER(gfx::Size, physical_backing_size) | 422 IPC_STRUCT_MEMBER(gfx::Size, physical_backing_size) |
423 // The amount that the viewport size given to Blink was shrunk by the URL-bar | 423 // Whether or not Blink's viewport size should be shrunk by the height of the |
424 // (always 0 on platforms where URL-bar hiding isn't supported). | 424 // URL-bar (always false on platforms where URL-bar hiding isn't supported). |
425 IPC_STRUCT_MEMBER(float, top_controls_layout_height) | 425 IPC_STRUCT_MEMBER(bool, top_controls_shrink_blink_size) |
| 426 // The height of the top controls (always 0 on platforms where URL-bar hiding |
| 427 // isn't supported). |
| 428 IPC_STRUCT_MEMBER(float, top_controls_height) |
426 // The size of the visible viewport, which may be smaller than the view if the | 429 // The size of the visible viewport, which may be smaller than the view if the |
427 // view is partially occluded (e.g. by a virtual keyboard). The size is in | 430 // view is partially occluded (e.g. by a virtual keyboard). The size is in |
428 // DPI-adjusted pixels. | 431 // DPI-adjusted pixels. |
429 IPC_STRUCT_MEMBER(gfx::Size, visible_viewport_size) | 432 IPC_STRUCT_MEMBER(gfx::Size, visible_viewport_size) |
430 // The resizer rect. | 433 // The resizer rect. |
431 IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect) | 434 IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect) |
432 // Indicates whether a page is fullscreen or not. | 435 // Indicates whether a page is fullscreen or not. |
433 IPC_STRUCT_MEMBER(bool, is_fullscreen) | 436 IPC_STRUCT_MEMBER(bool, is_fullscreen) |
434 IPC_STRUCT_END() | 437 IPC_STRUCT_END() |
435 | 438 |
(...skipping 1227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1663 // Since the browser keeps handles to the allocated transport DIBs, this | 1666 // Since the browser keeps handles to the allocated transport DIBs, this |
1664 // message is sent to tell the browser that it may release them when the | 1667 // message is sent to tell the browser that it may release them when the |
1665 // renderer is finished with them. | 1668 // renderer is finished with them. |
1666 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1669 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
1667 TransportDIB::Id /* DIB id */) | 1670 TransportDIB::Id /* DIB id */) |
1668 #endif | 1671 #endif |
1669 | 1672 |
1670 // Adding a new message? Stick to the sort order above: first platform | 1673 // Adding a new message? Stick to the sort order above: first platform |
1671 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1674 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1672 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1675 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |