[content shell] hook up testRunner.dumpEditingCallbacks
[chromium-blink-merge.git] / content / common / hyphenator_messages.h
blobe68985d01ce2851ea25ce98a4e381ca4ddc6c0b4
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.
5 // IPC messages for hyphenation.
6 // Message definition file, included multiple times, hence no include guard.
8 #include "ipc/ipc_message_macros.h"
9 #include "ipc/ipc_platform_file.h"
11 #define IPC_MESSAGE_START HyphenatorMsgStart
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 */)
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 */)