OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
6 // header guard. | 6 // header guard. |
7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1020 std::string /* state */) | 1020 std::string /* state */) |
1021 | 1021 |
1022 // Notifies the browser that a document has been loaded in a frame. | 1022 // Notifies the browser that a document has been loaded in a frame. |
1023 IPC_MESSAGE_ROUTED0(ViewHostMsg_DocumentLoadedInFrame) | 1023 IPC_MESSAGE_ROUTED0(ViewHostMsg_DocumentLoadedInFrame) |
1024 | 1024 |
1025 // Changes the title for the page in the UI when the page is navigated or the | 1025 // Changes the title for the page in the UI when the page is navigated or the |
1026 // title changes. | 1026 // title changes. |
1027 // TODO(darin): use a UTF-8 string to reduce data size | 1027 // TODO(darin): use a UTF-8 string to reduce data size |
1028 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTitle, int32, std::wstring) | 1028 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTitle, int32, std::wstring) |
1029 | 1029 |
| 1030 // Changes the icon url for the page in the UI. |
| 1031 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateIconURL, int32, GURL) |
| 1032 |
1030 // Change the encoding name of the page in UI when the page has detected | 1033 // Change the encoding name of the page in UI when the page has detected |
1031 // proper encoding name. | 1034 // proper encoding name. |
1032 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, | 1035 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, |
1033 std::string /* new encoding name */) | 1036 std::string /* new encoding name */) |
1034 | 1037 |
1035 // Notifies the browser that we want to show a destination url for a potential | 1038 // Notifies the browser that we want to show a destination url for a potential |
1036 // action (e.g. when the user is hovering over a link). | 1039 // action (e.g. when the user is hovering over a link). |
1037 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL, int32, GURL) | 1040 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL, int32, GURL) |
1038 | 1041 |
1039 // Sent when the renderer starts loading the page. This corresponds to | 1042 // Sent when the renderer starts loading the page. This corresponds to |
(...skipping 1261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2301 int /* render_view_id */, | 2304 int /* render_view_id */, |
2302 int /* bridge_id */) | 2305 int /* bridge_id */) |
2303 | 2306 |
2304 // The |render_view_id| and |bridge_id| requests Geolocation service to | 2307 // The |render_view_id| and |bridge_id| requests Geolocation service to |
2305 // resume. | 2308 // resume. |
2306 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, | 2309 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, |
2307 int /* render_view_id */, | 2310 int /* render_view_id */, |
2308 int /* bridge_id */) | 2311 int /* bridge_id */) |
2309 | 2312 |
2310 IPC_END_MESSAGES(ViewHost) | 2313 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |