OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 #ifdef CHROME_PERSONALIZATION | 442 #ifdef CHROME_PERSONALIZATION |
443 IPC_MESSAGE_ROUTED2(ViewMsg_PersonalizationEvent, | 443 IPC_MESSAGE_ROUTED2(ViewMsg_PersonalizationEvent, |
444 std::string /* event name */, | 444 std::string /* event name */, |
445 std::string /* event arguments */) | 445 std::string /* event arguments */) |
446 #endif | 446 #endif |
447 // Posts a message to the renderer. | 447 // Posts a message to the renderer. |
448 IPC_MESSAGE_ROUTED2(ViewMsg_HandleMessageFromExternalHost, | 448 IPC_MESSAGE_ROUTED2(ViewMsg_HandleMessageFromExternalHost, |
449 std::string /* The target for the message */, | 449 std::string /* The target for the message */, |
450 std::string /* The message */) | 450 std::string /* The message */) |
451 | 451 |
| 452 // Sent to the renderer when a popup window should no longer count against |
| 453 // the current popup count (either because it's not a popup or because it was |
| 454 // a generated by a user action or because a constrained popup got turned |
| 455 // into a full window). |
| 456 IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount) |
| 457 |
452 IPC_END_MESSAGES(View) | 458 IPC_END_MESSAGES(View) |
453 | 459 |
454 | 460 |
455 //----------------------------------------------------------------------------- | 461 //----------------------------------------------------------------------------- |
456 // WebContents messages | 462 // WebContents messages |
457 // These are messages sent from the renderer to the browser process. | 463 // These are messages sent from the renderer to the browser process. |
458 | 464 |
459 IPC_BEGIN_MESSAGES(ViewHost, 2) | 465 IPC_BEGIN_MESSAGES(ViewHost, 2) |
460 // Sent by the renderer when it is creating a new view. The browser creates | 466 // Sent by the renderer when it is creating a new view. The browser creates |
461 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is | 467 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is |
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1047 // beforeunload or unload handler. | 1053 // beforeunload or unload handler. |
1048 IPC_MESSAGE_ROUTED1(ViewHostMsg_UnloadListenerChanged, | 1054 IPC_MESSAGE_ROUTED1(ViewHostMsg_UnloadListenerChanged, |
1049 bool /* has_listener */) | 1055 bool /* has_listener */) |
1050 | 1056 |
1051 // Returns the window location of the window this widget is embeded in. | 1057 // Returns the window location of the window this widget is embeded in. |
1052 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetRootWindowRect, | 1058 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetRootWindowRect, |
1053 HWND /* window */, | 1059 HWND /* window */, |
1054 gfx::Rect /* Out: Window location */) | 1060 gfx::Rect /* Out: Window location */) |
1055 | 1061 |
1056 IPC_END_MESSAGES(ViewHost) | 1062 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |