OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include <map> | 5 #include <map> |
6 #include <set> | 6 #include <set> |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 1316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1327 // Initiates a download based on user actions like 'ALT+click'. | 1327 // Initiates a download based on user actions like 'ALT+click'. |
1328 IPC_MESSAGE_ROUTED2(ViewHostMsg_DownloadUrl, | 1328 IPC_MESSAGE_ROUTED2(ViewHostMsg_DownloadUrl, |
1329 GURL /* url */, | 1329 GURL /* url */, |
1330 GURL /* referrer */) | 1330 GURL /* referrer */) |
1331 | 1331 |
1332 // Used to go to the session history entry at the given offset (ie, -1 will | 1332 // Used to go to the session history entry at the given offset (ie, -1 will |
1333 // return the "back" item). | 1333 // return the "back" item). |
1334 IPC_MESSAGE_ROUTED1(ViewHostMsg_GoToEntryAtOffset, | 1334 IPC_MESSAGE_ROUTED1(ViewHostMsg_GoToEntryAtOffset, |
1335 int /* offset (from current) of history item to get */) | 1335 int /* offset (from current) of history item to get */) |
1336 | 1336 |
1337 IPC_SYNC_MESSAGE_ROUTED4_2(ViewHostMsg_RunJavaScriptMessage, | 1337 IPC_SYNC_MESSAGE_ROUTED5_2(ViewHostMsg_RunJavaScriptMessage, |
1338 std::wstring /* in - alert message */, | 1338 std::wstring /* in - alert message */, |
1339 std::wstring /* in - default prompt */, | 1339 std::wstring /* in - default prompt */, |
1340 GURL /* in - originating page URL */, | 1340 GURL /* in - originating page URL */, |
1341 int /* in - dialog flags */, | 1341 int /* in - dialog flags */, |
| 1342 bool /* in - unload handler being run? */, |
1342 bool /* out - success */, | 1343 bool /* out - success */, |
1343 std::wstring /* out - prompt field */) | 1344 std::wstring /* out - prompt field */) |
1344 | 1345 |
1345 // Provides the contents for the given page that was loaded recently. | 1346 // Provides the contents for the given page that was loaded recently. |
1346 IPC_MESSAGE_ROUTED5(ViewHostMsg_PageContents, | 1347 IPC_MESSAGE_ROUTED5(ViewHostMsg_PageContents, |
1347 GURL /* URL of the page */, | 1348 GURL /* URL of the page */, |
1348 int32 /* page id */, | 1349 int32 /* page id */, |
1349 string16 /* page contents */, | 1350 string16 /* page contents */, |
1350 std::string /* page ISO639_1 language code */, | 1351 std::string /* page ISO639_1 language code */, |
1351 bool /* whether the page can be translated */) | 1352 bool /* whether the page can be translated */) |
(...skipping 951 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2303 // while performing stress testing. | 2304 // while performing stress testing. |
2304 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2305 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
2305 int /* cmd */, | 2306 int /* cmd */, |
2306 int /* param */) | 2307 int /* param */) |
2307 | 2308 |
2308 // Register a new handler for URL requests with the given scheme. | 2309 // Register a new handler for URL requests with the given scheme. |
2309 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, | 2310 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, |
2310 std::string /* scheme */, | 2311 std::string /* scheme */, |
2311 GURL /* url */, | 2312 GURL /* url */, |
2312 string16 /* title */) | 2313 string16 /* title */) |
OLD | NEW |