OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include <map> | 5 #include <map> |
6 #include <set> | 6 #include <set> |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
885 | 885 |
886 // Let the RenderView know its window's frame has changed. | 886 // Let the RenderView know its window's frame has changed. |
887 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged, | 887 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged, |
888 gfx::Rect /* window frame */, | 888 gfx::Rect /* window frame */, |
889 gfx::Rect /* content view frame */) | 889 gfx::Rect /* content view frame */) |
890 | 890 |
891 // Tell the renderer that text has been retured from plugin IME. | 891 // Tell the renderer that text has been retured from plugin IME. |
892 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionConfirmed, | 892 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionConfirmed, |
893 string16 /* text */, | 893 string16 /* text */, |
894 int /* plugin_id */) | 894 int /* plugin_id */) |
| 895 |
| 896 // Tells the renderer to send back the character index for a point. |
| 897 IPC_MESSAGE_ROUTED1(ViewMsg_CharacterIndexForPoint, |
| 898 gfx::Point) |
| 899 |
| 900 // Tells the renderer to send back the rectangle for a given character range. |
| 901 IPC_MESSAGE_ROUTED2(ViewMsg_FirstRectForCharacterRange, |
| 902 uint /* location */, |
| 903 uint /* length */) |
| 904 |
| 905 // Tells the renderer to send back the text fragment in a given range. |
| 906 IPC_MESSAGE_ROUTED2(ViewMsg_StringForRange, |
| 907 uint /* location */, |
| 908 uint /* length */) |
895 #endif | 909 #endif |
896 | 910 |
897 // Response message to ViewHostMsg_CreateShared/DedicatedWorker. | 911 // Response message to ViewHostMsg_CreateShared/DedicatedWorker. |
898 // Sent when the worker has started. | 912 // Sent when the worker has started. |
899 IPC_MESSAGE_ROUTED0(ViewMsg_WorkerCreated) | 913 IPC_MESSAGE_ROUTED0(ViewMsg_WorkerCreated) |
900 | 914 |
901 // Tell the renderer which browser window it's being attached to. | 915 // Tell the renderer which browser window it's being attached to. |
902 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateBrowserWindowId, | 916 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateBrowserWindowId, |
903 int /* id of browser window */) | 917 int /* id of browser window */) |
904 | 918 |
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1642 | 1656 |
1643 #if defined(OS_MACOSX) | 1657 #if defined(OS_MACOSX) |
1644 IPC_MESSAGE_CONTROL1(ViewHostMsg_ClipboardFindPboardWriteStringAsync, | 1658 IPC_MESSAGE_CONTROL1(ViewHostMsg_ClipboardFindPboardWriteStringAsync, |
1645 string16 /* text */) | 1659 string16 /* text */) |
1646 | 1660 |
1647 // Request that the browser load a font into shared memory for us. | 1661 // Request that the browser load a font into shared memory for us. |
1648 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_LoadFont, | 1662 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_LoadFont, |
1649 FontDescriptor /* font to load */, | 1663 FontDescriptor /* font to load */, |
1650 uint32 /* buffer size */, | 1664 uint32 /* buffer size */, |
1651 base::SharedMemoryHandle /* font data */) | 1665 base::SharedMemoryHandle /* font data */) |
| 1666 |
| 1667 IPC_MESSAGE_ROUTED1(ViewHostMsg_GotCharacterIndexForPoint, |
| 1668 uint) |
| 1669 IPC_MESSAGE_ROUTED1(ViewHostMsg_GotFirstRectForRange, gfx::Rect) |
| 1670 IPC_MESSAGE_ROUTED1(ViewHostMsg_GotStringForRange, |
| 1671 string16) |
1652 #endif | 1672 #endif |
1653 | 1673 |
1654 #if defined(OS_WIN) | 1674 #if defined(OS_WIN) |
1655 // Request that the given font be loaded by the browser so it's cached by the | 1675 // Request that the given font be loaded by the browser so it's cached by the |
1656 // OS. Please see ChildProcessHost::PreCacheFont for details. | 1676 // OS. Please see ChildProcessHost::PreCacheFont for details. |
1657 IPC_SYNC_MESSAGE_CONTROL1_0(ViewHostMsg_PreCacheFont, | 1677 IPC_SYNC_MESSAGE_CONTROL1_0(ViewHostMsg_PreCacheFont, |
1658 LOGFONT /* font data */) | 1678 LOGFONT /* font data */) |
1659 #endif // defined(OS_WIN) | 1679 #endif // defined(OS_WIN) |
1660 | 1680 |
1661 // Returns WebScreenInfo corresponding to the view. | 1681 // Returns WebScreenInfo corresponding to the view. |
(...skipping 968 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2630 int /* request_id */, | 2650 int /* request_id */, |
2631 PP_Flash_NetAddress /* addr */) | 2651 PP_Flash_NetAddress /* addr */) |
2632 | 2652 |
2633 // JavaScript related messages ----------------------------------------------- | 2653 // JavaScript related messages ----------------------------------------------- |
2634 | 2654 |
2635 // Notify the JavaScript engine in the render to change its parameters | 2655 // Notify the JavaScript engine in the render to change its parameters |
2636 // while performing stress testing. | 2656 // while performing stress testing. |
2637 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2657 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
2638 int /* cmd */, | 2658 int /* cmd */, |
2639 int /* param */) | 2659 int /* param */) |
OLD | NEW |