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

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

Issue 2873090: New IPC definitions, only applied to async ROUTED and CONTROL messages. (Closed)
Patch Set: Undo WebCursor for now to fix windows build. 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/service_messages.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" 19 #include "base/time.h"
20 #include "base/values.h" 20 #include "base/values.h"
21 #include "chrome/common/content_settings.h" 21 #include "chrome/common/content_settings.h"
22 #include "chrome/common/extensions/update_manifest.h" 22 #include "chrome/common/extensions/update_manifest.h"
23 #include "chrome/common/geoposition.h" 23 #include "chrome/common/geoposition.h"
24 #include "chrome/common/nacl_types.h" 24 #include "chrome/common/nacl_types.h"
25 #include "chrome/common/notification_type.h" 25 #include "chrome/common/notification_type.h"
26 #include "chrome/common/page_zoom.h" 26 #include "chrome/common/page_zoom.h"
27 #include "chrome/common/thumbnail_score.h"
28 #include "chrome/common/translate_errors.h" 27 #include "chrome/common/translate_errors.h"
29 #include "chrome/common/window_container_type.h" 28 #include "chrome/common/window_container_type.h"
30 #include "gfx/rect.h" 29 #include "gfx/rect.h"
31 #include "ipc/ipc_channel_handle.h" 30 #include "ipc/ipc_channel_handle.h"
32 #include "ipc/ipc_message.h" 31 #include "ipc/ipc_message.h"
33 #include "ipc/ipc_message_macros.h" 32 #include "ipc/ipc_message_macros.h"
34 #include "third_party/skia/include/core/SkBitmap.h" 33 #include "third_party/skia/include/core/SkBitmap.h"
35 #include "webkit/glue/dom_operations.h" 34 #include "webkit/glue/dom_operations.h"
36 #include "webkit/glue/form_field.h" 35 #include "webkit/glue/form_field.h"
37 #include "webkit/glue/webcursor.h"
38 36
39 #if defined(OS_POSIX) 37 #if defined(OS_POSIX)
40 #include "base/file_descriptor_posix.h" 38 #include "base/file_descriptor_posix.h"
41 #endif 39 #endif
42 40
43 #if defined(OS_MACOSX) 41 #if defined(OS_MACOSX)
44 #include "chrome/common/font_descriptor_mac.h" 42 #include "chrome/common/font_descriptor_mac.h"
45 #endif 43 #endif
46 44
47 // TODO(mpcomplete): rename ViewMsg and ViewHostMsg to something that makes 45 // TODO(mpcomplete): rename ViewMsg and ViewHostMsg to something that makes
48 // more sense with our current design. 46 // more sense with our current design.
49 47
50 // IPC_MESSAGE macros choke on extra , in the std::map, when expanding. We need 48 // IPC_MESSAGE macros choke on extra , in the std::map, when expanding. We need
51 // to typedef it to avoid that. 49 // to typedef it to avoid that.
52 // Substitution map for l10n messages. 50 // Substitution map for l10n messages.
53 typedef std::map<std::string, std::string> SubstitutionMap; 51 typedef std::map<std::string, std::string> SubstitutionMap;
54 52
53 struct ThumbnailScore;
54 class WebCursor;
55
55 //----------------------------------------------------------------------------- 56 //-----------------------------------------------------------------------------
56 // RenderView messages 57 // RenderView messages
57 // These are messages sent from the browser to the renderer process. 58 // These are messages sent from the browser to the renderer process.
58 59
59 IPC_BEGIN_MESSAGES(View) 60 IPC_BEGIN_MESSAGES(View)
60 // Used typically when recovering from a crash. The new rendering process 61 // Used typically when recovering from a crash. The new rendering process
61 // sets its global "next page id" counter to the given value. 62 // sets its global "next page id" counter to the given value.
62 IPC_MESSAGE_CONTROL1(ViewMsg_SetNextPageID, 63 IPC_MESSAGE_CONTROL1(ViewMsg_SetNextPageID,
63 int32 /* next_page_id */) 64 int32 /* next_page_id */)
64 65
(...skipping 2506 matching lines...) Expand 10 before | Expand all | Expand 10 after
2571 int /* render_view_id */) 2572 int /* render_view_id */)
2572 2573
2573 // Requests the speech input service to stop audio recording on behalf of 2574 // Requests the speech input service to stop audio recording on behalf of
2574 // the given |render_view_id|. Any audio recorded so far will be fed to the 2575 // the given |render_view_id|. Any audio recorded so far will be fed to the
2575 // speech recognizer. If speech recognition is not happening nor or is 2576 // speech recognizer. If speech recognition is not happening nor or is
2576 // happening on behalf of some other render view, this call does nothing. 2577 // happening on behalf of some other render view, this call does nothing.
2577 IPC_MESSAGE_CONTROL1(ViewHostMsg_SpeechInput_StopRecording, 2578 IPC_MESSAGE_CONTROL1(ViewHostMsg_SpeechInput_StopRecording,
2578 int /* render_view_id */) 2579 int /* render_view_id */)
2579 2580
2580 IPC_END_MESSAGES(ViewHost) 2581 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/render_messages.cc ('k') | chrome/common/service_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698