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

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

Issue 155954: Implement sending actions back to the render for media element context menus. (Closed)
Patch Set: remove uneeded bits. 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
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/render_view.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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget. 58 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget.
59 // similar to the new command, but used when the renderer created a view 59 // similar to the new command, but used when the renderer created a view
60 // first, and we need to update it 60 // first, and we need to update it
61 IPC_MESSAGE_ROUTED1(ViewMsg_CreatingNew_ACK, 61 IPC_MESSAGE_ROUTED1(ViewMsg_CreatingNew_ACK,
62 gfx::NativeViewId /* parent_hwnd */) 62 gfx::NativeViewId /* parent_hwnd */)
63 63
64 // Sends updated preferences to the renderer. 64 // Sends updated preferences to the renderer.
65 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs, 65 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs,
66 RendererPreferences) 66 RendererPreferences)
67 67
68 // Tells the renderer to perform the given action on the media player
69 // located at |x|, |y|.
70 IPC_MESSAGE_ROUTED3(ViewMsg_MediaPlayerActionAt,
71 int32 /* x */,
72 int32 /* y */,
73 MediaPlayerAction)
74
68 // Tells the render view to close. 75 // Tells the render view to close.
69 IPC_MESSAGE_ROUTED0(ViewMsg_Close) 76 IPC_MESSAGE_ROUTED0(ViewMsg_Close)
70 77
71 // Tells the render view to change its size. A ViewHostMsg_PaintRect message 78 // Tells the render view to change its size. A ViewHostMsg_PaintRect message
72 // is generated in response provided new_size is not empty and not equal to 79 // is generated in response provided new_size is not empty and not equal to
73 // the view's current size. The generated ViewHostMsg_PaintRect message will 80 // the view's current size. The generated ViewHostMsg_PaintRect message will
74 // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that 81 // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that
75 // we don't have to fetch it every time WebKit asks for it. 82 // we don't have to fetch it every time WebKit asks for it.
76 IPC_MESSAGE_ROUTED2(ViewMsg_Resize, 83 IPC_MESSAGE_ROUTED2(ViewMsg_Resize,
77 gfx::Size /* new_size */, 84 gfx::Size /* new_size */,
(...skipping 1415 matching lines...) Expand 10 before | Expand all | Expand 10 after
1493 // web resource. |error_message| is a user-readable explanation of what 1500 // web resource. |error_message| is a user-readable explanation of what
1494 // went wrong. 1501 // went wrong.
1495 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Failed, 1502 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Failed,
1496 std::string /* error_message, if any */) 1503 std::string /* error_message, if any */)
1497 1504
1498 // Sent by the renderer process to acknowledge receipt of a 1505 // Sent by the renderer process to acknowledge receipt of a
1499 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame. 1506 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame.
1500 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted) 1507 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted)
1501 1508
1502 IPC_END_MESSAGES(ViewHost) 1509 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698