Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 150125: Send port disconnect events when a frame is unloaded. (Closed)
Patch Set: from linux Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 1365 matching lines...) Expand 10 before | Expand all | Expand 10 after
1376 int /* routing_id */, 1376 int /* routing_id */,
1377 std::string /* extension_id */, 1377 std::string /* extension_id */,
1378 int /* port_id */) 1378 int /* port_id */)
1379 1379
1380 // Send a message to an extension process. The handle is the value returned 1380 // Send a message to an extension process. The handle is the value returned
1381 // by ViewHostMsg_OpenChannelToExtension. 1381 // by ViewHostMsg_OpenChannelToExtension.
1382 IPC_MESSAGE_ROUTED2(ViewHostMsg_ExtensionPostMessage, 1382 IPC_MESSAGE_ROUTED2(ViewHostMsg_ExtensionPostMessage,
1383 int /* port_id */, 1383 int /* port_id */,
1384 std::string /* message */) 1384 std::string /* message */)
1385 1385
1386 // Send a message to an extension process. The handle is the value returned
1387 // by ViewHostMsg_OpenChannelToExtension.
1388 IPC_MESSAGE_CONTROL1(ViewHostMsg_ExtensionCloseChannel,
1389 int /* port_id */)
1390
1386 // Message to show a popup menu using native cocoa controls (Mac only). 1391 // Message to show a popup menu using native cocoa controls (Mac only).
1387 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowPopup, 1392 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowPopup,
1388 ViewHostMsg_ShowPopup_Params) 1393 ViewHostMsg_ShowPopup_Params)
1389 1394
1390 // Sent as a result of a focus change in the renderer (if accessibility is 1395 // Sent as a result of a focus change in the renderer (if accessibility is
1391 // enabled), to notify the browser side that its accessibility focus needs to 1396 // enabled), to notify the browser side that its accessibility focus needs to
1392 // change as well. Takes the id of the accessibility object that now has 1397 // change as well. Takes the id of the accessibility object that now has
1393 // focus. 1398 // focus.
1394 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityFocusChange, 1399 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityFocusChange,
1395 int /* accessibility object id */) 1400 int /* accessibility object id */)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
1429 // web resource. |error_message| is a user-readable explanation of what 1434 // web resource. |error_message| is a user-readable explanation of what
1430 // went wrong. 1435 // went wrong.
1431 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Failed, 1436 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Failed,
1432 std::string /* error_message, if any */) 1437 std::string /* error_message, if any */)
1433 1438
1434 // Sent by the renderer process to acknowledge receipt of a 1439 // Sent by the renderer process to acknowledge receipt of a
1435 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame. 1440 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame.
1436 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted) 1441 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted)
1437 1442
1438 IPC_END_MESSAGES(ViewHost) 1443 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/browser_render_process_host.cc ('k') | chrome/renderer/extensions/event_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698