diff options
author | jcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-10 22:18:27 +0000 |
---|---|---|
committer | jcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-10 22:18:27 +0000 |
commit | b556c2ea563365710107e788eea58d09239b9b50 (patch) | |
tree | 9069761166905b0bb2f7abc1002d81d61897fd84 /content/common | |
parent | f78087aa2c43bb7298d027078b7c353b77ad6e98 (diff) | |
download | chromium_src-b556c2ea563365710107e788eea58d09239b9b50.zip chromium_src-b556c2ea563365710107e788eea58d09239b9b50.tar.gz chromium_src-b556c2ea563365710107e788eea58d09239b9b50.tar.bz2 |
Adding selection text direction to SelectionBoundsChanged.
Adding the selection text direction to the notification that the selection
bounds have changed. This is used with touch UI.
BUG=138944
TEST=All tests should pass.
Review URL: https://chromiumcodereview.appspot.com/10855036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151137 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common')
-rw-r--r-- | content/common/view_messages.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/content/common/view_messages.h b/content/common/view_messages.h index 14aaf3e5..71c730a 100644 --- a/content/common/view_messages.h +++ b/content/common/view_messages.h @@ -1856,9 +1856,11 @@ IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, ui::Range /* selection range in the document */) // Notification that the selection bounds have changed. -IPC_MESSAGE_ROUTED2(ViewHostMsg_SelectionBoundsChanged, +IPC_MESSAGE_ROUTED4(ViewHostMsg_SelectionBoundsChanged, gfx::Rect /* start rect */, - gfx::Rect /* end rect */) + WebKit::WebTextDirection /* start text dir */, + gfx::Rect /* end rect */, + WebKit::WebTextDirection /* end text dir */) // Asks the browser to open the color chooser. IPC_MESSAGE_ROUTED2(ViewHostMsg_OpenColorChooser, |