Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1273)

Unified Diff: content/common/hyphenator_messages.h

Issue 10854245: In-te-grate hy-phen-ator to con-tent. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/hyphenator_messages.h
===================================================================
--- content/common/hyphenator_messages.h (revision 0)
+++ content/common/hyphenator_messages.h (revision 0)
@@ -0,0 +1,24 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// IPC messages for hyphenation.
+// Message definition file, included multiple times, hence no include guard.
+
+#include "ipc/ipc_message_macros.h"
+#include "ipc/ipc_platform_file.h"
+
+#define IPC_MESSAGE_START HyphenatorMsgStart
+
+// Opens the specified hyphenation dictionary. This message is expected to be
+// sent when WebKit calls the canHyphenate function, i.e. when it starts
+// layouting text. At this time, WebKit does not actually need this dictionary
+// to hyphenate words. Therefore, a renderer does not need to wait for a browser
+// to open the specified dictionary.
+IPC_MESSAGE_CONTROL1(HyphenatorHostMsg_OpenDictionary,
+ string16 /* locale */)
+
+// Sends the hyphenation dictionary to the renderer. This messages is sent in
+// response to a HyphenatorHostMsg_OpenDictionary message.
+IPC_MESSAGE_CONTROL1(HyphenatorMsg_SetDictionary,
+ IPC::PlatformFileForTransit /* dict_file */)
Property changes on: content\common\hyphenator_messages.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698