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 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
581 IPC_MESSAGE_CONTROL0(ViewMsg_TimezoneChange) | 581 IPC_MESSAGE_CONTROL0(ViewMsg_TimezoneChange) |
582 | 582 |
583 // Tells the render view to close. | 583 // Tells the render view to close. |
584 // Expects a Close_ACK message when finished. | 584 // Expects a Close_ACK message when finished. |
585 IPC_MESSAGE_ROUTED0(ViewMsg_Close) | 585 IPC_MESSAGE_ROUTED0(ViewMsg_Close) |
586 | 586 |
587 IPC_STRUCT_BEGIN(ViewMsg_Resize_Params) | 587 IPC_STRUCT_BEGIN(ViewMsg_Resize_Params) |
588 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info) | 588 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info) |
589 IPC_STRUCT_MEMBER(gfx::Size, new_size) | 589 IPC_STRUCT_MEMBER(gfx::Size, new_size) |
590 IPC_STRUCT_MEMBER(gfx::Size, physical_backing_size) | 590 IPC_STRUCT_MEMBER(gfx::Size, physical_backing_size) |
591 IPC_STRUCT_MEMBER(float, overdraw_bottom_height) | 591 IPC_STRUCT_MEMBER(float, top_controls_layout_height) |
592 IPC_STRUCT_MEMBER(gfx::Size, visible_viewport_size) | 592 IPC_STRUCT_MEMBER(gfx::Size, visible_viewport_size) |
593 IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect) | 593 IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect) |
594 IPC_STRUCT_MEMBER(bool, is_fullscreen) | 594 IPC_STRUCT_MEMBER(bool, is_fullscreen) |
595 IPC_STRUCT_END() | 595 IPC_STRUCT_END() |
596 | 596 |
597 // Tells the render view to change its size. A ViewHostMsg_UpdateRect message | 597 // Tells the render view to change its size. A ViewHostMsg_UpdateRect message |
598 // is generated in response provided new_size is not empty and not equal to | 598 // is generated in response provided new_size is not empty and not equal to |
599 // the view's current size. The generated ViewHostMsg_UpdateRect message will | 599 // the view's current size. The generated ViewHostMsg_UpdateRect message will |
600 // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that | 600 // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that |
601 // we don't have to fetch it every time WebKit asks for it. | 601 // we don't have to fetch it every time WebKit asks for it. |
(...skipping 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1678 // Since the browser keeps handles to the allocated transport DIBs, this | 1678 // Since the browser keeps handles to the allocated transport DIBs, this |
1679 // message is sent to tell the browser that it may release them when the | 1679 // message is sent to tell the browser that it may release them when the |
1680 // renderer is finished with them. | 1680 // renderer is finished with them. |
1681 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1681 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
1682 TransportDIB::Id /* DIB id */) | 1682 TransportDIB::Id /* DIB id */) |
1683 #endif | 1683 #endif |
1684 | 1684 |
1685 // Adding a new message? Stick to the sort order above: first platform | 1685 // Adding a new message? Stick to the sort order above: first platform |
1686 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1686 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1687 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1687 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |