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

Side by Side Diff: content/common/view_messages.h

Issue 10855036: Adding selection text direction to SelectionBoundsChanged. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 1838 matching lines...) Expand 10 before | Expand all | Expand 10 after
1849 1849
1850 // Notification that the text selection has changed. 1850 // Notification that the text selection has changed.
1851 // Note: The secound parameter is the character based offset of the string16 1851 // Note: The secound parameter is the character based offset of the string16
1852 // text in the document. 1852 // text in the document.
1853 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, 1853 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged,
1854 string16 /* text covers the selection range */, 1854 string16 /* text covers the selection range */,
1855 size_t /* the offset of the text in the document */, 1855 size_t /* the offset of the text in the document */,
1856 ui::Range /* selection range in the document */) 1856 ui::Range /* selection range in the document */)
1857 1857
1858 // Notification that the selection bounds have changed. 1858 // Notification that the selection bounds have changed.
1859 IPC_MESSAGE_ROUTED2(ViewHostMsg_SelectionBoundsChanged, 1859 IPC_MESSAGE_ROUTED4(ViewHostMsg_SelectionBoundsChanged,
1860 gfx::Rect /* start rect */, 1860 gfx::Rect /* start rect */,
1861 gfx::Rect /* end rect */) 1861 WebKit::WebTextDirection /* start text dir */,
1862 gfx::Rect /* end rect */,
1863 WebKit::WebTextDirection /* end text dir */)
1862 1864
1863 // Asks the browser to open the color chooser. 1865 // Asks the browser to open the color chooser.
1864 IPC_MESSAGE_ROUTED2(ViewHostMsg_OpenColorChooser, 1866 IPC_MESSAGE_ROUTED2(ViewHostMsg_OpenColorChooser,
1865 int /* id */, 1867 int /* id */,
1866 SkColor /* color */) 1868 SkColor /* color */)
1867 1869
1868 // Asks the browser to end the color chooser. 1870 // Asks the browser to end the color chooser.
1869 IPC_MESSAGE_ROUTED1(ViewHostMsg_EndColorChooser, int /* id */) 1871 IPC_MESSAGE_ROUTED1(ViewHostMsg_EndColorChooser, int /* id */)
1870 1872
1871 // Change the selected color in the color chooser. 1873 // Change the selected color in the color chooser.
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
2176 // (according to the value of is_hung). The browser can give the user the 2178 // (according to the value of is_hung). The browser can give the user the
2177 // option of killing the plugin. 2179 // option of killing the plugin.
2178 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, 2180 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung,
2179 int /* plugin_child_id */, 2181 int /* plugin_child_id */,
2180 FilePath /* path */, 2182 FilePath /* path */,
2181 bool /* is_hung */) 2183 bool /* is_hung */)
2182 2184
2183 // Screen was rotated. Dispatched to the onorientationchange javascript API. 2185 // Screen was rotated. Dispatched to the onorientationchange javascript API.
2184 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, 2186 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent,
2185 int /* orientation */) 2187 int /* orientation */)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_win.cc ('k') | content/port/browser/render_widget_host_view_port.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698