OLD | NEW |
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> |
(...skipping 2858 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2869 // default values. If |remember| is true, then the zoom setting is applied to | 2869 // default values. If |remember| is true, then the zoom setting is applied to |
2870 // other pages in the site and is saved, otherwise it only applies to this | 2870 // other pages in the site and is saved, otherwise it only applies to this |
2871 // tab. | 2871 // tab. |
2872 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateZoomLimits, | 2872 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateZoomLimits, |
2873 int /* minimum_percent */, | 2873 int /* minimum_percent */, |
2874 int /* maximum_percent */, | 2874 int /* maximum_percent */, |
2875 bool /* remember */) | 2875 bool /* remember */) |
2876 | 2876 |
2877 // Requests the speech input service to start speech recognition on behalf of | 2877 // Requests the speech input service to start speech recognition on behalf of |
2878 // the given |render_view_id|. | 2878 // the given |render_view_id|. |
2879 IPC_MESSAGE_CONTROL4(ViewHostMsg_SpeechInput_StartRecognition, | 2879 IPC_MESSAGE_CONTROL5(ViewHostMsg_SpeechInput_StartRecognition, |
2880 int /* render_view_id */, | 2880 int /* render_view_id */, |
2881 int /* request id */, | 2881 int /* request_id */, |
2882 gfx::Rect /* element rect in render view coordinates */, | 2882 gfx::Rect /* element_rect */, |
| 2883 std::string /* language */, |
2883 std::string /* grammar */) | 2884 std::string /* grammar */) |
2884 | 2885 |
2885 // Requests the speech input service to cancel speech recognition on behalf of | 2886 // Requests the speech input service to cancel speech recognition on behalf of |
2886 // the given |render_view_id|. If speech recognition is not happening nor or | 2887 // the given |render_view_id|. If speech recognition is not happening nor or |
2887 // is happening on behalf of some other render view, this call does nothing. | 2888 // is happening on behalf of some other render view, this call does nothing. |
2888 IPC_MESSAGE_CONTROL2(ViewHostMsg_SpeechInput_CancelRecognition, | 2889 IPC_MESSAGE_CONTROL2(ViewHostMsg_SpeechInput_CancelRecognition, |
2889 int /* render_view_id */, | 2890 int /* render_view_id */, |
2890 int /* request id */) | 2891 int /* request id */) |
2891 | 2892 |
2892 // Requests the speech input service to stop audio recording on behalf of | 2893 // Requests the speech input service to stop audio recording on behalf of |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3060 base::PlatformFileInfo, /* info */ | 3061 base::PlatformFileInfo, /* info */ |
3061 base::PlatformFileError /* error_code */) | 3062 base::PlatformFileError /* error_code */) |
3062 | 3063 |
3063 // Get the directory's contents. | 3064 // Get the directory's contents. |
3064 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, | 3065 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, |
3065 FilePath /* path */, | 3066 FilePath /* path */, |
3066 PepperDirContents, /* contents */ | 3067 PepperDirContents, /* contents */ |
3067 base::PlatformFileError /* error_code */) | 3068 base::PlatformFileError /* error_code */) |
3068 | 3069 |
3069 IPC_END_MESSAGES(ViewHost) | 3070 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |