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 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
595 IPC_MESSAGE_CONTROL0(ViewMsg_TimezoneChange) | 595 IPC_MESSAGE_CONTROL0(ViewMsg_TimezoneChange) |
596 | 596 |
597 // Tells the render view to close. | 597 // Tells the render view to close. |
598 IPC_MESSAGE_ROUTED0(ViewMsg_Close) | 598 IPC_MESSAGE_ROUTED0(ViewMsg_Close) |
599 | 599 |
600 IPC_STRUCT_BEGIN(ViewMsg_Resize_Params) | 600 IPC_STRUCT_BEGIN(ViewMsg_Resize_Params) |
601 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info) | 601 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info) |
602 IPC_STRUCT_MEMBER(gfx::Size, new_size) | 602 IPC_STRUCT_MEMBER(gfx::Size, new_size) |
603 IPC_STRUCT_MEMBER(gfx::Size, physical_backing_size) | 603 IPC_STRUCT_MEMBER(gfx::Size, physical_backing_size) |
604 IPC_STRUCT_MEMBER(float, overdraw_bottom_height) | 604 IPC_STRUCT_MEMBER(float, overdraw_bottom_height) |
| 605 IPC_STRUCT_MEMBER(gfx::Size, visible_viewport_size) |
605 IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect) | 606 IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect) |
606 IPC_STRUCT_MEMBER(bool, is_fullscreen) | 607 IPC_STRUCT_MEMBER(bool, is_fullscreen) |
607 IPC_STRUCT_END() | 608 IPC_STRUCT_END() |
608 | 609 |
609 // Tells the render view to change its size. A ViewHostMsg_UpdateRect message | 610 // Tells the render view to change its size. A ViewHostMsg_UpdateRect message |
610 // is generated in response provided new_size is not empty and not equal to | 611 // is generated in response provided new_size is not empty and not equal to |
611 // the view's current size. The generated ViewHostMsg_UpdateRect message will | 612 // the view's current size. The generated ViewHostMsg_UpdateRect message will |
612 // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that | 613 // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that |
613 // we don't have to fetch it every time WebKit asks for it. | 614 // we don't have to fetch it every time WebKit asks for it. |
614 IPC_MESSAGE_ROUTED1(ViewMsg_Resize, | 615 IPC_MESSAGE_ROUTED1(ViewMsg_Resize, |
(...skipping 1204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1819 // synchronously (see crbug.com/120597). This IPC message sends the character | 1820 // synchronously (see crbug.com/120597). This IPC message sends the character |
1820 // bounds after every composition change to always have correct bound info. | 1821 // bounds after every composition change to always have correct bound info. |
1821 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1822 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1822 gfx::Range /* composition range */, | 1823 gfx::Range /* composition range */, |
1823 std::vector<gfx::Rect> /* character bounds */) | 1824 std::vector<gfx::Rect> /* character bounds */) |
1824 #endif | 1825 #endif |
1825 | 1826 |
1826 // Adding a new message? Stick to the sort order above: first platform | 1827 // Adding a new message? Stick to the sort order above: first platform |
1827 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1828 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1828 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1829 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |