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

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

Issue 6388004: Move non-file-system Pepper IPC messages to chrome/common/pepper_messages.*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/renderer
Patch Set: Fix size_t-size-correctness. Created 9 years, 11 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.cc ('k') | chrome/renderer/pepper_plugin_delegate_impl.cc » ('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) 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 // TODO(mpcomplete): rename ViewMsg and ViewHostMsg to something that makes 43 // TODO(mpcomplete): rename ViewMsg and ViewHostMsg to something that makes
44 // more sense with our current design. 44 // more sense with our current design.
45 45
46 // IPC_MESSAGE macros choke on extra , in the std::map, when expanding. We need 46 // IPC_MESSAGE macros choke on extra , in the std::map, when expanding. We need
47 // to typedef it to avoid that. 47 // to typedef it to avoid that.
48 // Substitution map for l10n messages. 48 // Substitution map for l10n messages.
49 typedef std::map<std::string, std::string> SubstitutionMap; 49 typedef std::map<std::string, std::string> SubstitutionMap;
50 50
51 class Value; 51 class Value;
52 class GPUInfo; 52 class GPUInfo;
53 struct PP_Flash_NetAddress;
54 class SkBitmap; 53 class SkBitmap;
55 struct ThumbnailScore; 54 struct ThumbnailScore;
56 class WebCursor; 55 class WebCursor;
57 56
58 namespace gfx { 57 namespace gfx {
59 class Rect; 58 class Rect;
60 } 59 }
61 60
62 namespace IPC { 61 namespace IPC {
63 struct ChannelHandle; 62 struct ChannelHandle;
(...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after
1063 IPC::PlatformFileForTransit /* model_file */) 1062 IPC::PlatformFileForTransit /* model_file */)
1064 1063
1065 // External popup menus. 1064 // External popup menus.
1066 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, 1065 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem,
1067 int /* selected index, -1 means no selection */) 1066 int /* selected index, -1 means no selection */)
1068 1067
1069 // Indicate whether speech input API is enabled or not. 1068 // Indicate whether speech input API is enabled or not.
1070 IPC_MESSAGE_CONTROL1(ViewMsg_SpeechInput_SetFeatureEnabled, 1069 IPC_MESSAGE_CONTROL1(ViewMsg_SpeechInput_SetFeatureEnabled,
1071 bool /* enabled */) 1070 bool /* enabled */)
1072 1071
1073 // The response to ViewHostMsg_PepperConnectTcp(Address).
1074 IPC_MESSAGE_ROUTED4(ViewMsg_PepperConnectTcpACK,
1075 int /* request_id */,
1076 IPC::PlatformFileForTransit /* socket */,
1077 PP_Flash_NetAddress /* local_addr */,
1078 PP_Flash_NetAddress /* remote_addr */)
1079
1080 // Sent in response to a ViewHostMsg_ContextMenu to let the renderer know that 1072 // Sent in response to a ViewHostMsg_ContextMenu to let the renderer know that
1081 // the menu has been closed. 1073 // the menu has been closed.
1082 IPC_MESSAGE_ROUTED0(ViewMsg_ContextMenuClosed) 1074 IPC_MESSAGE_ROUTED0(ViewMsg_ContextMenuClosed)
1083 1075
1084 //----------------------------------------------------------------------------- 1076 //-----------------------------------------------------------------------------
1085 // TabContents messages 1077 // TabContents messages
1086 // These are messages sent from the renderer to the browser process. 1078 // These are messages sent from the renderer to the browser process.
1087 1079
1088 // Sent by the renderer when it is creating a new window. The browser creates 1080 // Sent by the renderer when it is creating a new window. The browser creates
1089 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is 1081 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is
(...skipping 1495 matching lines...) Expand 10 before | Expand all | Expand 10 after
2585 int /* id */, 2577 int /* id */,
2586 ListValue /* result */) 2578 ListValue /* result */)
2587 2579
2588 // Updates the content restrictions, i.e. to disable print/copy. 2580 // Updates the content restrictions, i.e. to disable print/copy.
2589 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions, 2581 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions,
2590 int /* restrictions */) 2582 int /* restrictions */)
2591 2583
2592 // The currently displayed PDF has an unsupported feature. 2584 // The currently displayed PDF has an unsupported feature.
2593 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) 2585 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature)
2594 2586
2595 // Pepper-related messages -----------------------------------------------------
2596
2597 IPC_MESSAGE_CONTROL4(ViewHostMsg_PepperConnectTcp,
2598 int /* routing_id */,
2599 int /* request_id */,
2600 std::string /* host */,
2601 uint16 /* port */)
2602
2603 IPC_MESSAGE_CONTROL3(ViewHostMsg_PepperConnectTcpAddress,
2604 int /* routing_id */,
2605 int /* request_id */,
2606 PP_Flash_NetAddress /* addr */)
2607
2608 // JavaScript related messages ----------------------------------------------- 2587 // JavaScript related messages -----------------------------------------------
2609 2588
2610 // Notify the JavaScript engine in the render to change its parameters 2589 // Notify the JavaScript engine in the render to change its parameters
2611 // while performing stress testing. 2590 // while performing stress testing.
2612 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, 2591 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl,
2613 int /* cmd */, 2592 int /* cmd */,
2614 int /* param */) 2593 int /* param */)
OLDNEW
« no previous file with comments | « chrome/common/render_messages.cc ('k') | chrome/renderer/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698