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" |
32 #include "third_party/skia/include/core/SkBitmap.h" | 33 #include "third_party/skia/include/core/SkBitmap.h" |
33 #include "webkit/appcache/appcache_interfaces.h" | 34 #include "webkit/appcache/appcache_interfaces.h" |
34 #include "webkit/glue/dom_operations.h" | 35 #include "webkit/glue/dom_operations.h" |
35 #include "webkit/glue/webcursor.h" | 36 #include "webkit/glue/webcursor.h" |
36 #include "webkit/glue/webplugin.h" | 37 #include "webkit/glue/webplugin.h" |
37 | 38 |
38 #if defined(OS_POSIX) | 39 #if defined(OS_POSIX) |
39 #include "base/file_descriptor_posix.h" | 40 #include "base/file_descriptor_posix.h" |
40 #endif | 41 #endif |
41 | 42 |
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
832 IPC_MESSAGE_CONTROL1(ViewMsg_SocketStream_Closed, | 833 IPC_MESSAGE_CONTROL1(ViewMsg_SocketStream_Closed, |
833 int /* socket_id */) | 834 int /* socket_id */) |
834 | 835 |
835 #if defined(SPELLCHECKER_IN_RENDERER) | 836 #if defined(SPELLCHECKER_IN_RENDERER) |
836 // SpellChecker messages. | 837 // SpellChecker messages. |
837 | 838 |
838 // Passes some initialization params to the renderer's spellchecker. This can | 839 // Passes some initialization params to the renderer's spellchecker. This can |
839 // be called directly after startup or in (async) response to a | 840 // be called directly after startup or in (async) response to a |
840 // RequestDictionary ViewHost message. | 841 // RequestDictionary ViewHost message. |
841 IPC_MESSAGE_CONTROL4(ViewMsg_SpellChecker_Init, | 842 IPC_MESSAGE_CONTROL4(ViewMsg_SpellChecker_Init, |
842 base::FileDescriptor /* bdict_file */, | 843 IPC::PlatformFileForTransit /* bdict_file */, |
843 std::vector<std::string> /* custom_dict_words */, | 844 std::vector<std::string> /* custom_dict_words */, |
844 std::string /* language */, | 845 std::string /* language */, |
845 bool /* auto spell correct */) | 846 bool /* auto spell correct */) |
846 | 847 |
847 // A word has been added to the custom dictionary; update the local custom | 848 // A word has been added to the custom dictionary; update the local custom |
848 // word list. | 849 // word list. |
849 IPC_MESSAGE_CONTROL1(ViewMsg_SpellChecker_WordAdded, | 850 IPC_MESSAGE_CONTROL1(ViewMsg_SpellChecker_WordAdded, |
850 std::string /* word */) | 851 std::string /* word */) |
851 | 852 |
852 // Toggle the auto spell correct functionality. | 853 // Toggle the auto spell correct functionality. |
(...skipping 1159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2012 std::string /* signed public key and challenge */) | 2013 std::string /* signed public key and challenge */) |
2013 | 2014 |
2014 #if defined(SPELLCHECKER_IN_RENDERER) | 2015 #if defined(SPELLCHECKER_IN_RENDERER) |
2015 // The renderer has tried to spell check a word, but couldn't because no | 2016 // The renderer has tried to spell check a word, but couldn't because no |
2016 // dictionary was available to load. Request that the browser find an | 2017 // dictionary was available to load. Request that the browser find an |
2017 // appropriate dictionary and return it. | 2018 // appropriate dictionary and return it. |
2018 IPC_MESSAGE_CONTROL0(ViewHostMsg_SpellChecker_RequestDictionary) | 2019 IPC_MESSAGE_CONTROL0(ViewHostMsg_SpellChecker_RequestDictionary) |
2019 #endif | 2020 #endif |
2020 | 2021 |
2021 IPC_END_MESSAGES(ViewHost) | 2022 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |