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

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

Issue 3069034: FBTF: Reapplies r55259, the first new IPC definition patch. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: 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
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 2511 matching lines...) Expand 10 before | Expand all | Expand 10 after
2576 int /* render_view_id */) 2577 int /* render_view_id */)
2577 2578
2578 // Requests the speech input service to stop audio recording on behalf of 2579 // Requests the speech input service to stop audio recording on behalf of
2579 // the given |render_view_id|. Any audio recorded so far will be fed to the 2580 // the given |render_view_id|. Any audio recorded so far will be fed to the
2580 // speech recognizer. If speech recognition is not happening nor or is 2581 // speech recognizer. If speech recognition is not happening nor or is
2581 // happening on behalf of some other render view, this call does nothing. 2582 // happening on behalf of some other render view, this call does nothing.
2582 IPC_MESSAGE_CONTROL1(ViewHostMsg_SpeechInput_StopRecording, 2583 IPC_MESSAGE_CONTROL1(ViewHostMsg_SpeechInput_StopRecording,
2583 int /* render_view_id */) 2584 int /* render_view_id */)
2584 2585
2585 IPC_END_MESSAGES(ViewHost) 2586 IPC_END_MESSAGES(ViewHost)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698