| OLD | NEW |
| 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 "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 905 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 916 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, string16 /* text */) | 916 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, string16 /* text */) |
| 917 | 917 |
| 918 IPC_MESSAGE_ROUTED0(ViewMsg_Unselect) | 918 IPC_MESSAGE_ROUTED0(ViewMsg_Unselect) |
| 919 | 919 |
| 920 // Requests the renderer to select the region between two points. | 920 // Requests the renderer to select the region between two points. |
| 921 // Expects a SelectRange_ACK message when finished. | 921 // Expects a SelectRange_ACK message when finished. |
| 922 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange, | 922 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange, |
| 923 gfx::Point /* start */, | 923 gfx::Point /* start */, |
| 924 gfx::Point /* end */) | 924 gfx::Point /* end */) |
| 925 | 925 |
| 926 // Requests the renderer to move the caret selection toward the point. |
| 927 // Expects a MoveCaret_ACK message when finished. |
| 928 IPC_MESSAGE_ROUTED1(ViewMsg_MoveCaret, |
| 929 gfx::Point /* location */) |
| 930 |
| 926 // Copies the image at location x, y to the clipboard (if there indeed is an | 931 // Copies the image at location x, y to the clipboard (if there indeed is an |
| 927 // image at that location). | 932 // image at that location). |
| 928 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, | 933 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, |
| 929 int /* x */, | 934 int /* x */, |
| 930 int /* y */) | 935 int /* y */) |
| 931 | 936 |
| 932 // Tells the renderer to perform the given action on the media player | 937 // Tells the renderer to perform the given action on the media player |
| 933 // located at the given point. | 938 // located at the given point. |
| 934 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt, | 939 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt, |
| 935 gfx::Point, /* location */ | 940 gfx::Point, /* location */ |
| (...skipping 993 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1929 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_DestroyPluginContainer, | 1934 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_DestroyPluginContainer, |
| 1930 gfx::PluginWindowHandle /* id */) | 1935 gfx::PluginWindowHandle /* id */) |
| 1931 #endif | 1936 #endif |
| 1932 | 1937 |
| 1933 // Send the tooltip text for the current mouse position to the browser. | 1938 // Send the tooltip text for the current mouse position to the browser. |
| 1934 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, | 1939 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, |
| 1935 string16 /* tooltip text string */, | 1940 string16 /* tooltip text string */, |
| 1936 WebKit::WebTextDirection /* text direction hint */) | 1941 WebKit::WebTextDirection /* text direction hint */) |
| 1937 | 1942 |
| 1938 IPC_MESSAGE_ROUTED0(ViewHostMsg_SelectRange_ACK) | 1943 IPC_MESSAGE_ROUTED0(ViewHostMsg_SelectRange_ACK) |
| 1944 IPC_MESSAGE_ROUTED0(ViewHostMsg_MoveCaret_ACK) |
| 1939 | 1945 |
| 1940 // Notification that the text selection has changed. | 1946 // Notification that the text selection has changed. |
| 1941 // Note: The secound parameter is the character based offset of the string16 | 1947 // Note: The secound parameter is the character based offset of the string16 |
| 1942 // text in the document. | 1948 // text in the document. |
| 1943 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, | 1949 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, |
| 1944 string16 /* text covers the selection range */, | 1950 string16 /* text covers the selection range */, |
| 1945 size_t /* the offset of the text in the document */, | 1951 size_t /* the offset of the text in the document */, |
| 1946 ui::Range /* selection range in the document */) | 1952 ui::Range /* selection range in the document */) |
| 1947 | 1953 |
| 1948 // Notification that the selection bounds have changed. | 1954 // Notification that the selection bounds have changed. |
| (...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2364 int /* arb_robustness_status_code */) | 2370 int /* arb_robustness_status_code */) |
| 2365 | 2371 |
| 2366 #if defined(OS_WIN) | 2372 #if defined(OS_WIN) |
| 2367 // Request that the given font characters be loaded by the browser so it's | 2373 // Request that the given font characters be loaded by the browser so it's |
| 2368 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2374 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 2369 // for details. | 2375 // for details. |
| 2370 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2376 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 2371 LOGFONT /* font_data */, | 2377 LOGFONT /* font_data */, |
| 2372 string16 /* characters */) | 2378 string16 /* characters */) |
| 2373 #endif | 2379 #endif |
| OLD | NEW |