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

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

Issue 155378: Replace ShowAsPopupWithItems to CreatePopupWidgetWithInfo. Also,... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/print_web_view_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 int /* route_id */, 648 int /* route_id */,
649 WindowOpenDisposition /* disposition */, 649 WindowOpenDisposition /* disposition */,
650 gfx::Rect /* initial_pos */, 650 gfx::Rect /* initial_pos */,
651 bool /* opened_by_user_gesture */, 651 bool /* opened_by_user_gesture */,
652 GURL /* creator_url */) 652 GURL /* creator_url */)
653 653
654 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowWidget, 654 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowWidget,
655 int /* route_id */, 655 int /* route_id */,
656 gfx::Rect /* initial_pos */) 656 gfx::Rect /* initial_pos */)
657 657
658 // Message to show a popup menu using native cocoa controls (Mac only).
659 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowPopup,
660 ViewHostMsg_ShowPopup_Params)
661
658 // This message is sent after ViewHostMsg_ShowView to cause the RenderView 662 // This message is sent after ViewHostMsg_ShowView to cause the RenderView
659 // to run in a modal fashion until it is closed. 663 // to run in a modal fashion until it is closed.
660 IPC_SYNC_MESSAGE_ROUTED0_0(ViewHostMsg_RunModal) 664 IPC_SYNC_MESSAGE_ROUTED0_0(ViewHostMsg_RunModal)
661 665
662 IPC_MESSAGE_CONTROL1(ViewHostMsg_UpdatedCacheStats, 666 IPC_MESSAGE_CONTROL1(ViewHostMsg_UpdatedCacheStats,
663 WebKit::WebCache::UsageStats /* stats */) 667 WebKit::WebCache::UsageStats /* stats */)
664 668
665 // Indicates the renderer is ready in response to a ViewMsg_New or 669 // Indicates the renderer is ready in response to a ViewMsg_New or
666 // a ViewMsg_CreatingNew_ACK. 670 // a ViewMsg_CreatingNew_ACK.
667 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady) 671 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady)
(...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after
1424 // by ViewHostMsg_OpenChannelTo*. 1428 // by ViewHostMsg_OpenChannelTo*.
1425 IPC_MESSAGE_ROUTED2(ViewHostMsg_ExtensionPostMessage, 1429 IPC_MESSAGE_ROUTED2(ViewHostMsg_ExtensionPostMessage,
1426 int /* port_id */, 1430 int /* port_id */,
1427 std::string /* message */) 1431 std::string /* message */)
1428 1432
1429 // Send a message to an extension process. The handle is the value returned 1433 // Send a message to an extension process. The handle is the value returned
1430 // by ViewHostMsg_OpenChannelTo*. 1434 // by ViewHostMsg_OpenChannelTo*.
1431 IPC_MESSAGE_CONTROL1(ViewHostMsg_ExtensionCloseChannel, 1435 IPC_MESSAGE_CONTROL1(ViewHostMsg_ExtensionCloseChannel,
1432 int /* port_id */) 1436 int /* port_id */)
1433 1437
1434 // Message to show a popup menu using native cocoa controls (Mac only).
1435 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowPopup,
1436 ViewHostMsg_ShowPopup_Params)
1437
1438 // Sent as a result of a focus change in the renderer (if accessibility is 1438 // Sent as a result of a focus change in the renderer (if accessibility is
1439 // enabled), to notify the browser side that its accessibility focus needs to 1439 // enabled), to notify the browser side that its accessibility focus needs to
1440 // change as well. Takes the id of the accessibility object that now has 1440 // change as well. Takes the id of the accessibility object that now has
1441 // focus. 1441 // focus.
1442 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityFocusChange, 1442 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityFocusChange,
1443 int /* accessibility object id */) 1443 int /* accessibility object id */)
1444 1444
1445 // Message sent from the renderer to the browser to request that the browser 1445 // Message sent from the renderer to the browser to request that the browser
1446 // close all idle sockets. Used for debugging/testing. 1446 // close all idle sockets. Used for debugging/testing.
1447 IPC_MESSAGE_CONTROL0(ViewHostMsg_CloseIdleConnections) 1447 IPC_MESSAGE_CONTROL0(ViewHostMsg_CloseIdleConnections)
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1482 // web resource. |error_message| is a user-readable explanation of what 1482 // web resource. |error_message| is a user-readable explanation of what
1483 // went wrong. 1483 // went wrong.
1484 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Failed, 1484 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Failed,
1485 std::string /* error_message, if any */) 1485 std::string /* error_message, if any */)
1486 1486
1487 // Sent by the renderer process to acknowledge receipt of a 1487 // Sent by the renderer process to acknowledge receipt of a
1488 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame. 1488 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame.
1489 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted) 1489 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted)
1490 1490
1491 IPC_END_MESSAGES(ViewHost) 1491 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/print_web_view_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698