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

Unified Diff: chrome/common/render_messages_internal.h

Issue 39252: A tricky fix for Issue 1845.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 | « chrome/common/render_messages.h ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages_internal.h
===================================================================
--- chrome/common/render_messages_internal.h (revision 11937)
+++ chrome/common/render_messages_internal.h (working copy)
@@ -24,6 +24,7 @@
#include "webkit/glue/webcursor.h"
#include "webkit/glue/webinputevent.h"
#include "webkit/glue/webplugin.h"
+#include "webkit/glue/webtextdirection.h"
// TODO(mpcomplete): rename ViewMsg and ViewHostMsg to something that makes
// more sense with our current design.
@@ -511,6 +512,18 @@
// Notification that a move or resize renderer's containing window has
// started.
IPC_MESSAGE_ROUTED0(ViewMsg_MoveOrResizeStarted)
+
+ // Changes the text direction of a selected input field.
+ // * direction (WebTextDirection)
+ // Represents the new text direction.
+ // Its possible values are listed below:
+ // Value New Text Direction
+ // WEB_TEXT_DIRECTION_DEFAULT NaturalWritingDirection ("inherit")
+ // WEB_TEXT_DIRECTION_LTR LeftToRightWritingDirection ("rtl")
+ // WEB_TEXT_DIRECTION_RTL RightToLeftWritingDirection ("ltr")
+ IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection,
+ WebTextDirection /* direction */)
+
IPC_END_MESSAGES(View)
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698