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 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1119 // Indicates that the current page has been closed, after a ClosePage | 1119 // Indicates that the current page has been closed, after a ClosePage |
1120 // message. | 1120 // message. |
1121 IPC_MESSAGE_ROUTED0(ViewHostMsg_ClosePage_ACK) | 1121 IPC_MESSAGE_ROUTED0(ViewHostMsg_ClosePage_ACK) |
1122 | 1122 |
1123 // Notifies the browser that we have session history information. | 1123 // Notifies the browser that we have session history information. |
1124 // page_id: unique ID that allows us to distinguish between history entries. | 1124 // page_id: unique ID that allows us to distinguish between history entries. |
1125 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, | 1125 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, |
1126 int32 /* page_id */, | 1126 int32 /* page_id */, |
1127 content::PageState /* state */) | 1127 content::PageState /* state */) |
1128 | 1128 |
1129 // Changes the title for the page in the UI when the page is navigated or the | |
1130 // title changes. | |
1131 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateTitle, | |
1132 int32 /* page_id */, | |
1133 base::string16 /* title */, | |
1134 blink::WebTextDirection /* title direction */) | |
1135 | |
1136 // Change the encoding name of the page in UI when the page has detected | |
1137 // proper encoding name. | |
1138 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, | |
1139 std::string /* new encoding name */) | |
1140 | |
1141 // Notifies the browser that we want to show a destination url for a potential | 1129 // Notifies the browser that we want to show a destination url for a potential |
1142 // action (e.g. when the user is hovering over a link). | 1130 // action (e.g. when the user is hovering over a link). |
1143 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL, | 1131 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL, |
1144 int32, | 1132 int32, |
1145 GURL) | 1133 GURL) |
1146 | 1134 |
1147 // Sent when the renderer main frame has made progress loading. | 1135 // Sent when the renderer main frame has made progress loading. |
1148 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeLoadProgress, | 1136 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeLoadProgress, |
1149 double /* load_progress */) | 1137 double /* load_progress */) |
1150 | 1138 |
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1780 // synchronously (see crbug.com/120597). This IPC message sends the character | 1768 // synchronously (see crbug.com/120597). This IPC message sends the character |
1781 // bounds after every composition change to always have correct bound info. | 1769 // bounds after every composition change to always have correct bound info. |
1782 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1770 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1783 gfx::Range /* composition range */, | 1771 gfx::Range /* composition range */, |
1784 std::vector<gfx::Rect> /* character bounds */) | 1772 std::vector<gfx::Rect> /* character bounds */) |
1785 #endif | 1773 #endif |
1786 | 1774 |
1787 // Adding a new message? Stick to the sort order above: first platform | 1775 // Adding a new message? Stick to the sort order above: first platform |
1788 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1776 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1789 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1777 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |