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

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

Issue 3170020: Completely revert all my IPC work to see if this was what regressed the page cycler. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Rebase Created 10 years, 4 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.cc ('k') | chrome/common/render_messages_unittest.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 14
15 #include "base/file_path.h" 15 #include "base/file_path.h"
16 #include "base/nullable_string16.h" 16 #include "base/nullable_string16.h"
17 #include "base/platform_file.h" 17 #include "base/platform_file.h"
18 #include "base/sync_socket.h" 18 #include "base/sync_socket.h"
19 #include "base/time.h"
20 #include "base/values.h"
19 #include "chrome/common/content_settings.h" 21 #include "chrome/common/content_settings.h"
22 #include "chrome/common/extensions/update_manifest.h"
20 #include "chrome/common/geoposition.h" 23 #include "chrome/common/geoposition.h"
21 #include "chrome/common/nacl_types.h" 24 #include "chrome/common/nacl_types.h"
22 #include "chrome/common/notification_type.h" 25 #include "chrome/common/notification_type.h"
23 #include "chrome/common/page_zoom.h" 26 #include "chrome/common/page_zoom.h"
27 #include "chrome/common/thumbnail_score.h"
24 #include "chrome/common/translate_errors.h" 28 #include "chrome/common/translate_errors.h"
25 #include "chrome/common/window_container_type.h" 29 #include "chrome/common/window_container_type.h"
30 #include "gfx/rect.h"
31 #include "ipc/ipc_channel_handle.h"
32 #include "ipc/ipc_message.h"
26 #include "ipc/ipc_message_macros.h" 33 #include "ipc/ipc_message_macros.h"
34 #include "third_party/skia/include/core/SkBitmap.h"
35 #include "webkit/glue/dom_operations.h"
36 #include "webkit/glue/form_field.h"
37 #include "webkit/glue/webcursor.h"
27 38
28 #if defined(OS_POSIX) 39 #if defined(OS_POSIX)
29 #include "base/file_descriptor_posix.h" 40 #include "base/file_descriptor_posix.h"
30 #endif 41 #endif
31 42
32 #if defined(OS_MACOSX) 43 #if defined(OS_MACOSX)
33 #include "chrome/common/font_descriptor_mac.h" 44 #include "chrome/common/font_descriptor_mac.h"
34 #endif 45 #endif
35 46
36 // TODO(mpcomplete): rename ViewMsg and ViewHostMsg to something that makes 47 // TODO(mpcomplete): rename ViewMsg and ViewHostMsg to something that makes
37 // more sense with our current design. 48 // more sense with our current design.
38 49
39 // IPC_MESSAGE macros choke on extra , in the std::map, when expanding. We need 50 // IPC_MESSAGE macros choke on extra , in the std::map, when expanding. We need
40 // to typedef it to avoid that. 51 // to typedef it to avoid that.
41 // Substitution map for l10n messages. 52 // Substitution map for l10n messages.
42 typedef std::map<std::string, std::string> SubstitutionMap; 53 typedef std::map<std::string, std::string> SubstitutionMap;
43 54
44 class SkBitmap;
45 struct ThumbnailScore;
46 class WebCursor;
47
48 namespace IPC {
49 struct ChannelHandle;
50 class Message;
51 }
52
53 //----------------------------------------------------------------------------- 55 //-----------------------------------------------------------------------------
54 // RenderView messages 56 // RenderView messages
55 // These are messages sent from the browser to the renderer process. 57 // These are messages sent from the browser to the renderer process.
56 58
57 IPC_BEGIN_MESSAGES(View) 59 IPC_BEGIN_MESSAGES(View)
58 // Used typically when recovering from a crash. The new rendering process 60 // Used typically when recovering from a crash. The new rendering process
59 // sets its global "next page id" counter to the given value. 61 // sets its global "next page id" counter to the given value.
60 IPC_MESSAGE_CONTROL1(ViewMsg_SetNextPageID, 62 IPC_MESSAGE_CONTROL1(ViewMsg_SetNextPageID,
61 int32 /* next_page_id */) 63 int32 /* next_page_id */)
62 64
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 // by webkit, the specified edit commands shall be executed against current 183 // by webkit, the specified edit commands shall be executed against current
182 // focused frame. 184 // focused frame.
183 // Parameters 185 // Parameters
184 // * edit_commands (see chrome/common/edit_command_types.h) 186 // * edit_commands (see chrome/common/edit_command_types.h)
185 // Contains one or more edit commands. 187 // Contains one or more edit commands.
186 // See third_party/WebKit/WebCore/editing/EditorCommand.cpp for detailed 188 // See third_party/WebKit/WebCore/editing/EditorCommand.cpp for detailed
187 // definition of webkit edit commands. 189 // definition of webkit edit commands.
188 // 190 //
189 // This message must be sent just before sending a key event. 191 // This message must be sent just before sending a key event.
190 IPC_MESSAGE_ROUTED1(ViewMsg_SetEditCommandsForNextKeyEvent, 192 IPC_MESSAGE_ROUTED1(ViewMsg_SetEditCommandsForNextKeyEvent,
191 std::vector<EditCommand> /* edit_commands */) 193 EditCommands /* edit_commands */)
192 194
193 // Message payload is the name/value of a WebCore edit command to execute. 195 // Message payload is the name/value of a WebCore edit command to execute.
194 IPC_MESSAGE_ROUTED2(ViewMsg_ExecuteEditCommand, 196 IPC_MESSAGE_ROUTED2(ViewMsg_ExecuteEditCommand,
195 std::string, /* name */ 197 std::string, /* name */
196 std::string /* value */) 198 std::string /* value */)
197 199
198 IPC_MESSAGE_ROUTED0(ViewMsg_MouseCaptureLost) 200 IPC_MESSAGE_ROUTED0(ViewMsg_MouseCaptureLost)
199 201
200 // TODO(darin): figure out how this meshes with RestoreFocus 202 // TODO(darin): figure out how this meshes with RestoreFocus
201 IPC_MESSAGE_ROUTED1(ViewMsg_SetFocus, bool /* enable */) 203 IPC_MESSAGE_ROUTED1(ViewMsg_SetFocus, bool /* enable */)
(...skipping 2413 matching lines...) Expand 10 before | Expand all | Expand 10 after
2615 2617
2616 // A RenderView requests to start receiving device orientation updates. 2618 // A RenderView requests to start receiving device orientation updates.
2617 IPC_MESSAGE_CONTROL1(ViewHostMsg_DeviceOrientation_StartUpdating, 2619 IPC_MESSAGE_CONTROL1(ViewHostMsg_DeviceOrientation_StartUpdating,
2618 int /* render_view_id */) 2620 int /* render_view_id */)
2619 2621
2620 // A RenderView requests to stop receiving device orientation updates. 2622 // A RenderView requests to stop receiving device orientation updates.
2621 IPC_MESSAGE_CONTROL1(ViewHostMsg_DeviceOrientation_StopUpdating, 2623 IPC_MESSAGE_CONTROL1(ViewHostMsg_DeviceOrientation_StopUpdating,
2622 int /* render_view_id */) 2624 int /* render_view_id */)
2623 2625
2624 IPC_END_MESSAGES(ViewHost) 2626 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/render_messages.cc ('k') | chrome/common/render_messages_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698