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/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
877 // process to release the magnified image. | 877 // process to release the magnified image. |
878 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupBitmap, | 878 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupBitmap, |
879 cc::SharedBitmapId /* id */) | 879 cc::SharedBitmapId /* id */) |
880 | 880 |
881 // Notifies the renderer that a snapshot has been retrieved. | 881 // Notifies the renderer that a snapshot has been retrieved. |
882 IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted, | 882 IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted, |
883 int /* snapshot_id */, | 883 int /* snapshot_id */, |
884 gfx::Size /* size */, | 884 gfx::Size /* size */, |
885 std::vector<unsigned char> /* png */) | 885 std::vector<unsigned char> /* png */) |
886 | 886 |
887 IPC_MESSAGE_ROUTED0(ViewMsg_GetRenderedText) | |
Alexei Svitkine (slow)
2014/06/27 13:01:34
Add a comment.
| |
888 | |
887 #if defined(OS_MACOSX) | 889 #if defined(OS_MACOSX) |
888 IPC_ENUM_TRAITS_MAX_VALUE(blink::ScrollerStyle, blink::ScrollerStyleOverlay) | 890 IPC_ENUM_TRAITS_MAX_VALUE(blink::ScrollerStyle, blink::ScrollerStyleOverlay) |
889 | 891 |
890 // Notification of a change in scrollbar appearance and/or behavior. | 892 // Notification of a change in scrollbar appearance and/or behavior. |
891 IPC_MESSAGE_CONTROL5(ViewMsg_UpdateScrollbarTheme, | 893 IPC_MESSAGE_CONTROL5(ViewMsg_UpdateScrollbarTheme, |
892 float /* initial_button_delay */, | 894 float /* initial_button_delay */, |
893 float /* autoscroll_button_delay */, | 895 float /* autoscroll_button_delay */, |
894 bool /* jump_on_track_click */, | 896 bool /* jump_on_track_click */, |
895 blink::ScrollerStyle /* preferred_scroller_style */, | 897 blink::ScrollerStyle /* preferred_scroller_style */, |
896 bool /* redraw */) | 898 bool /* redraw */) |
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1664 uint32 /* font id */) | 1666 uint32 /* font id */) |
1665 | 1667 |
1666 // Informs the browser that a plugin has gained or lost focus. | 1668 // Informs the browser that a plugin has gained or lost focus. |
1667 IPC_MESSAGE_ROUTED2(ViewHostMsg_PluginFocusChanged, | 1669 IPC_MESSAGE_ROUTED2(ViewHostMsg_PluginFocusChanged, |
1668 bool, /* focused */ | 1670 bool, /* focused */ |
1669 int /* plugin_id */) | 1671 int /* plugin_id */) |
1670 | 1672 |
1671 // Instructs the browser to start plugin IME. | 1673 // Instructs the browser to start plugin IME. |
1672 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) | 1674 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) |
1673 | 1675 |
1676 // Receives content of a webpage as plain text. | |
1677 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string); | |
1678 | |
1674 #elif defined(OS_WIN) | 1679 #elif defined(OS_WIN) |
1675 // Request that the given font characters be loaded by the browser so it's | 1680 // Request that the given font characters be loaded by the browser so it's |
1676 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1681 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
1677 // for details. | 1682 // for details. |
1678 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1683 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
1679 LOGFONT /* font_data */, | 1684 LOGFONT /* font_data */, |
1680 base::string16 /* characters */) | 1685 base::string16 /* characters */) |
1681 #endif | 1686 #endif |
1682 | 1687 |
1683 #if defined(OS_POSIX) | 1688 #if defined(OS_POSIX) |
(...skipping 13 matching lines...) Expand all Loading... | |
1697 // Since the browser keeps handles to the allocated transport DIBs, this | 1702 // Since the browser keeps handles to the allocated transport DIBs, this |
1698 // message is sent to tell the browser that it may release them when the | 1703 // message is sent to tell the browser that it may release them when the |
1699 // renderer is finished with them. | 1704 // renderer is finished with them. |
1700 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1705 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
1701 TransportDIB::Id /* DIB id */) | 1706 TransportDIB::Id /* DIB id */) |
1702 #endif | 1707 #endif |
1703 | 1708 |
1704 // Adding a new message? Stick to the sort order above: first platform | 1709 // Adding a new message? Stick to the sort order above: first platform |
1705 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1710 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1706 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1711 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |