OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // IPC messages for hyphenation. | |
6 // Message definition file, included multiple times, hence no include guard. | |
7 | |
8 #include "ipc/ipc_message_macros.h" | |
9 #include "ipc/ipc_platform_file.h" | |
10 | |
11 #define IPC_MESSAGE_START HyphenatorMsgStart | |
12 | |
13 // Opens the specified hyphenation dictionary. This message is expected to be | |
14 // sent when WebKit calls the canHyphenate function, i.e. when it starts | |
15 // layouting text. At this time, WebKit does not actually need this dictionary | |
16 // to hyphenate words. Therefore, a renderer does not need to wait for a browser | |
17 // to open the specified dictionary. | |
18 IPC_MESSAGE_CONTROL1(HyphenatorHostMsg_OpenDictionary, | |
19 string16 /* locale */) | |
20 | |
21 // Sends the hyphenation dictionary to the renderer. This messages is sent in | |
22 // response to a HyphenatorHostMsg_OpenDictionary message. | |
23 IPC_MESSAGE_CONTROL1(HyphenatorMsg_SetDictionary, | |
24 IPC::PlatformFileForTransit /* dict_file */) | |
OLD | NEW |