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