OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 11 matching lines...) Expand all Loading... |
22 #include "base/values.h" | 22 #include "base/values.h" |
23 #include "chrome/common/css_colors.h" | 23 #include "chrome/common/css_colors.h" |
24 #include "chrome/common/extensions/update_manifest.h" | 24 #include "chrome/common/extensions/update_manifest.h" |
25 #include "chrome/common/nacl_types.h" | 25 #include "chrome/common/nacl_types.h" |
26 #include "chrome/common/notification_type.h" | 26 #include "chrome/common/notification_type.h" |
27 #include "chrome/common/transport_dib.h" | 27 #include "chrome/common/transport_dib.h" |
28 #include "chrome/common/view_types.h" | 28 #include "chrome/common/view_types.h" |
29 #include "ipc/ipc_channel_handle.h" | 29 #include "ipc/ipc_channel_handle.h" |
30 #include "ipc/ipc_message.h" | 30 #include "ipc/ipc_message.h" |
31 #include "ipc/ipc_message_macros.h" | 31 #include "ipc/ipc_message_macros.h" |
32 #include "ipc/ipc_platform_file.h" | |
33 #include "third_party/skia/include/core/SkBitmap.h" | 32 #include "third_party/skia/include/core/SkBitmap.h" |
34 #include "webkit/appcache/appcache_interfaces.h" | 33 #include "webkit/appcache/appcache_interfaces.h" |
35 #include "webkit/glue/dom_operations.h" | 34 #include "webkit/glue/dom_operations.h" |
36 #include "webkit/glue/webcursor.h" | 35 #include "webkit/glue/webcursor.h" |
37 #include "webkit/glue/webplugin.h" | 36 #include "webkit/glue/webplugin.h" |
38 | 37 |
39 #if defined(OS_POSIX) | 38 #if defined(OS_POSIX) |
40 #include "base/file_descriptor_posix.h" | 39 #include "base/file_descriptor_posix.h" |
41 #endif | 40 #endif |
42 | 41 |
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
833 IPC_MESSAGE_CONTROL1(ViewMsg_SocketStream_Closed, | 832 IPC_MESSAGE_CONTROL1(ViewMsg_SocketStream_Closed, |
834 int /* socket_id */) | 833 int /* socket_id */) |
835 | 834 |
836 #if defined(SPELLCHECKER_IN_RENDERER) | 835 #if defined(SPELLCHECKER_IN_RENDERER) |
837 // SpellChecker messages. | 836 // SpellChecker messages. |
838 | 837 |
839 // Passes some initialization params to the renderer's spellchecker. This can | 838 // Passes some initialization params to the renderer's spellchecker. This can |
840 // be called directly after startup or in (async) response to a | 839 // be called directly after startup or in (async) response to a |
841 // RequestDictionary ViewHost message. | 840 // RequestDictionary ViewHost message. |
842 IPC_MESSAGE_CONTROL4(ViewMsg_SpellChecker_Init, | 841 IPC_MESSAGE_CONTROL4(ViewMsg_SpellChecker_Init, |
843 IPC::PlatformFileForTransit /* bdict_file */, | 842 base::FileDescriptor /* bdict_file */, |
844 std::vector<std::string> /* custom_dict_words */, | 843 std::vector<std::string> /* custom_dict_words */, |
845 std::string /* language */, | 844 std::string /* language */, |
846 bool /* auto spell correct */) | 845 bool /* auto spell correct */) |
847 | 846 |
848 // A word has been added to the custom dictionary; update the local custom | 847 // A word has been added to the custom dictionary; update the local custom |
849 // word list. | 848 // word list. |
850 IPC_MESSAGE_CONTROL1(ViewMsg_SpellChecker_WordAdded, | 849 IPC_MESSAGE_CONTROL1(ViewMsg_SpellChecker_WordAdded, |
851 std::string /* word */) | 850 std::string /* word */) |
852 | 851 |
853 // Toggle the auto spell correct functionality. | 852 // Toggle the auto spell correct functionality. |
(...skipping 1181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2035 std::string /* signed public key and challenge */) | 2034 std::string /* signed public key and challenge */) |
2036 | 2035 |
2037 #if defined(SPELLCHECKER_IN_RENDERER) | 2036 #if defined(SPELLCHECKER_IN_RENDERER) |
2038 // The renderer has tried to spell check a word, but couldn't because no | 2037 // The renderer has tried to spell check a word, but couldn't because no |
2039 // dictionary was available to load. Request that the browser find an | 2038 // dictionary was available to load. Request that the browser find an |
2040 // appropriate dictionary and return it. | 2039 // appropriate dictionary and return it. |
2041 IPC_MESSAGE_CONTROL0(ViewHostMsg_SpellChecker_RequestDictionary) | 2040 IPC_MESSAGE_CONTROL0(ViewHostMsg_SpellChecker_RequestDictionary) |
2042 #endif | 2041 #endif |
2043 | 2042 |
2044 IPC_END_MESSAGES(ViewHost) | 2043 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |