Chromium Code Reviews| 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 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 560 content::RendererPreferences) | 560 content::RendererPreferences) |
| 561 | 561 |
| 562 // This passes a set of webkit preferences down to the renderer. | 562 // This passes a set of webkit preferences down to the renderer. |
| 563 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateWebPreferences, | 563 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateWebPreferences, |
| 564 WebPreferences) | 564 WebPreferences) |
| 565 | 565 |
| 566 // Informs the renderer that the timezone has changed. | 566 // Informs the renderer that the timezone has changed. |
| 567 IPC_MESSAGE_CONTROL0(ViewMsg_TimezoneChange) | 567 IPC_MESSAGE_CONTROL0(ViewMsg_TimezoneChange) |
| 568 | 568 |
| 569 // Tells the render view to close. | 569 // Tells the render view to close. |
| 570 // Expects a Close_ACK message when finished. | |
| 570 IPC_MESSAGE_ROUTED0(ViewMsg_Close) | 571 IPC_MESSAGE_ROUTED0(ViewMsg_Close) |
| 571 | 572 |
| 572 IPC_STRUCT_BEGIN(ViewMsg_Resize_Params) | 573 IPC_STRUCT_BEGIN(ViewMsg_Resize_Params) |
| 573 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info) | 574 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info) |
| 574 IPC_STRUCT_MEMBER(gfx::Size, new_size) | 575 IPC_STRUCT_MEMBER(gfx::Size, new_size) |
| 575 IPC_STRUCT_MEMBER(gfx::Size, physical_backing_size) | 576 IPC_STRUCT_MEMBER(gfx::Size, physical_backing_size) |
| 576 IPC_STRUCT_MEMBER(float, overdraw_bottom_height) | 577 IPC_STRUCT_MEMBER(float, overdraw_bottom_height) |
| 577 IPC_STRUCT_MEMBER(gfx::Size, visible_viewport_size) | 578 IPC_STRUCT_MEMBER(gfx::Size, visible_viewport_size) |
| 578 IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect) | 579 IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect) |
| 579 IPC_STRUCT_MEMBER(bool, is_fullscreen) | 580 IPC_STRUCT_MEMBER(bool, is_fullscreen) |
| (...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1094 // coordinates) for the string found. If |final_update| is false, it signals | 1095 // coordinates) for the string found. If |final_update| is false, it signals |
| 1095 // that this is not the last Find_Reply message - more will be sent as the | 1096 // that this is not the last Find_Reply message - more will be sent as the |
| 1096 // scoping effort continues. | 1097 // scoping effort continues. |
| 1097 IPC_MESSAGE_ROUTED5(ViewHostMsg_Find_Reply, | 1098 IPC_MESSAGE_ROUTED5(ViewHostMsg_Find_Reply, |
| 1098 int /* request_id */, | 1099 int /* request_id */, |
| 1099 int /* number of matches */, | 1100 int /* number of matches */, |
| 1100 gfx::Rect /* selection_rect */, | 1101 gfx::Rect /* selection_rect */, |
| 1101 int /* active_match_ordinal */, | 1102 int /* active_match_ordinal */, |
| 1102 bool /* final_update */) | 1103 bool /* final_update */) |
| 1103 | 1104 |
| 1105 // Indicates that the render view has been closed in respose to a | |
| 1106 // Close message. | |
|
jsbell
2014/06/03 16:56:39
Nit: extra space
michaeln
2014/06/03 18:58:09
Done.
| |
| 1107 IPC_MESSAGE_CONTROL1(ViewHostMsg_Close_ACK, | |
| 1108 int /* old_route_id */); | |
| 1109 | |
| 1104 // Indicates that the current page has been closed, after a ClosePage | 1110 // Indicates that the current page has been closed, after a ClosePage |
| 1105 // message. | 1111 // message. |
| 1106 IPC_MESSAGE_ROUTED0(ViewHostMsg_ClosePage_ACK) | 1112 IPC_MESSAGE_ROUTED0(ViewHostMsg_ClosePage_ACK) |
| 1107 | 1113 |
| 1108 // Notifies the browser that we have session history information. | 1114 // Notifies the browser that we have session history information. |
| 1109 // page_id: unique ID that allows us to distinguish between history entries. | 1115 // page_id: unique ID that allows us to distinguish between history entries. |
| 1110 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, | 1116 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, |
| 1111 int32 /* page_id */, | 1117 int32 /* page_id */, |
| 1112 content::PageState /* state */) | 1118 content::PageState /* state */) |
| 1113 | 1119 |
| (...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1723 // synchronously (see crbug.com/120597). This IPC message sends the character | 1729 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 1724 // bounds after every composition change to always have correct bound info. | 1730 // bounds after every composition change to always have correct bound info. |
| 1725 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1731 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 1726 gfx::Range /* composition range */, | 1732 gfx::Range /* composition range */, |
| 1727 std::vector<gfx::Rect> /* character bounds */) | 1733 std::vector<gfx::Rect> /* character bounds */) |
| 1728 #endif | 1734 #endif |
| 1729 | 1735 |
| 1730 // Adding a new message? Stick to the sort order above: first platform | 1736 // Adding a new message? Stick to the sort order above: first platform |
| 1731 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1737 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1732 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1738 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |