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

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

Issue 342143004: Defect 248426: Speak rendered text when no selection is made on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a comment for TTS handler in render_widget_host_view_mac Created 6 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
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/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 867 matching lines...) Expand 10 before | Expand all | Expand 10 after
878 // process to release the magnified image. 878 // process to release the magnified image.
879 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupBitmap, 879 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupBitmap,
880 cc::SharedBitmapId /* id */) 880 cc::SharedBitmapId /* id */)
881 881
882 // Notifies the renderer that a snapshot has been retrieved. 882 // Notifies the renderer that a snapshot has been retrieved.
883 IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted, 883 IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted,
884 int /* snapshot_id */, 884 int /* snapshot_id */,
885 gfx::Size /* size */, 885 gfx::Size /* size */,
886 std::vector<unsigned char> /* png */) 886 std::vector<unsigned char> /* png */)
887 887
888 // Fetches complete rendered content of a web page as plain text.
889 IPC_MESSAGE_ROUTED0(ViewMsg_GetRenderedText)
890
888 #if defined(OS_MACOSX) 891 #if defined(OS_MACOSX)
889 IPC_ENUM_TRAITS_MAX_VALUE(blink::ScrollerStyle, blink::ScrollerStyleOverlay) 892 IPC_ENUM_TRAITS_MAX_VALUE(blink::ScrollerStyle, blink::ScrollerStyleOverlay)
890 893
891 // Notification of a change in scrollbar appearance and/or behavior. 894 // Notification of a change in scrollbar appearance and/or behavior.
892 IPC_MESSAGE_CONTROL5(ViewMsg_UpdateScrollbarTheme, 895 IPC_MESSAGE_CONTROL5(ViewMsg_UpdateScrollbarTheme,
893 float /* initial_button_delay */, 896 float /* initial_button_delay */,
894 float /* autoscroll_button_delay */, 897 float /* autoscroll_button_delay */,
895 bool /* jump_on_track_click */, 898 bool /* jump_on_track_click */,
896 blink::ScrollerStyle /* preferred_scroller_style */, 899 blink::ScrollerStyle /* preferred_scroller_style */,
897 bool /* redraw */) 900 bool /* redraw */)
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after
1655 uint32 /* font id */) 1658 uint32 /* font id */)
1656 1659
1657 // Informs the browser that a plugin has gained or lost focus. 1660 // Informs the browser that a plugin has gained or lost focus.
1658 IPC_MESSAGE_ROUTED2(ViewHostMsg_PluginFocusChanged, 1661 IPC_MESSAGE_ROUTED2(ViewHostMsg_PluginFocusChanged,
1659 bool, /* focused */ 1662 bool, /* focused */
1660 int /* plugin_id */) 1663 int /* plugin_id */)
1661 1664
1662 // Instructs the browser to start plugin IME. 1665 // Instructs the browser to start plugin IME.
1663 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) 1666 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme)
1664 1667
1668 // Receives content of a web page as plain text.
1669 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string);
1670
1665 #elif defined(OS_WIN) 1671 #elif defined(OS_WIN)
1666 // Request that the given font characters be loaded by the browser so it's 1672 // Request that the given font characters be loaded by the browser so it's
1667 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 1673 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
1668 // for details. 1674 // for details.
1669 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 1675 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
1670 LOGFONT /* font_data */, 1676 LOGFONT /* font_data */,
1671 base::string16 /* characters */) 1677 base::string16 /* characters */)
1672 #endif 1678 #endif
1673 1679
1674 #if defined(OS_POSIX) 1680 #if defined(OS_POSIX)
(...skipping 13 matching lines...) Expand all
1688 // Since the browser keeps handles to the allocated transport DIBs, this 1694 // Since the browser keeps handles to the allocated transport DIBs, this
1689 // message is sent to tell the browser that it may release them when the 1695 // message is sent to tell the browser that it may release them when the
1690 // renderer is finished with them. 1696 // renderer is finished with them.
1691 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, 1697 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
1692 TransportDIB::Id /* DIB id */) 1698 TransportDIB::Id /* DIB id */)
1693 #endif 1699 #endif
1694 1700
1695 // Adding a new message? Stick to the sort order above: first platform 1701 // Adding a new message? Stick to the sort order above: first platform
1696 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1702 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1697 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1703 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698