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

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

Issue 10544060: Merge 140030 - Revert 124453 - WebWidgetClient::screenInfo() no longer does a synchronous IPC. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1132/src/
Patch Set: Created 8 years, 6 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 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 IPC_STRUCT_MEMBER(int, opener_route_id) 640 IPC_STRUCT_MEMBER(int, opener_route_id)
641 641
642 // Whether the RenderView should initially be swapped out. 642 // Whether the RenderView should initially be swapped out.
643 IPC_STRUCT_MEMBER(bool, swapped_out) 643 IPC_STRUCT_MEMBER(bool, swapped_out)
644 644
645 // The initial page ID to use for this view, which must be larger than any 645 // The initial page ID to use for this view, which must be larger than any
646 // existing navigation that might be loaded in the view. Page IDs are unique 646 // existing navigation that might be loaded in the view. Page IDs are unique
647 // to a view and are only updated by the renderer after this initial value. 647 // to a view and are only updated by the renderer after this initial value.
648 IPC_STRUCT_MEMBER(int32, next_page_id) 648 IPC_STRUCT_MEMBER(int32, next_page_id)
649 649
650 // The properties of the screen associated with the view.
651 IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info)
652
653 // Indicates whether this newly created RenderView will be hosted by another 650 // Indicates whether this newly created RenderView will be hosted by another
654 // RenderView. 651 // RenderView.
655 IPC_STRUCT_MEMBER(bool, guest) 652 IPC_STRUCT_MEMBER(bool, guest)
656 653
657 // The accessibility mode of the renderer. 654 // The accessibility mode of the renderer.
658 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) 655 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode)
659 IPC_STRUCT_END() 656 IPC_STRUCT_END()
660 657
661 // Messages sent from the browser to the renderer. 658 // Messages sent from the browser to the renderer.
662 659
(...skipping 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after
1702 1699
1703 #if defined(OS_MACOSX) 1700 #if defined(OS_MACOSX)
1704 // Request that the browser load a font into shared memory for us. 1701 // Request that the browser load a font into shared memory for us.
1705 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, 1702 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont,
1706 FontDescriptor /* font to load */, 1703 FontDescriptor /* font to load */,
1707 uint32 /* buffer size */, 1704 uint32 /* buffer size */,
1708 base::SharedMemoryHandle /* font data */, 1705 base::SharedMemoryHandle /* font data */,
1709 uint32 /* font id */) 1706 uint32 /* font id */)
1710 #endif 1707 #endif
1711 1708
1709 // Returns WebScreenInfo corresponding to the view.
1710 // TODO(shess): Provide a mapping from reply_msg->routing_id() to
1711 // HWND so that we can eliminate the NativeViewId parameter.
1712 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetScreenInfo,
1713 gfx::NativeViewId /* view */,
1714 WebKit::WebScreenInfo /* results */)
1715
1712 // Send the tooltip text for the current mouse position to the browser. 1716 // Send the tooltip text for the current mouse position to the browser.
1713 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, 1717 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText,
1714 string16 /* tooltip text string */, 1718 string16 /* tooltip text string */,
1715 WebKit::WebTextDirection /* text direction hint */) 1719 WebKit::WebTextDirection /* text direction hint */)
1716 1720
1717 // Notification that the text selection has changed. 1721 // Notification that the text selection has changed.
1718 // Note: The secound parameter is the character based offset of the string16 1722 // Note: The secound parameter is the character based offset of the string16
1719 // text in the document. 1723 // text in the document.
1720 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, 1724 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged,
1721 string16 /* text covers the selection range */, 1725 string16 /* text covers the selection range */,
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
2028 int /* automation_id */) 2032 int /* automation_id */)
2029 2033
2030 // Sent to the browser when the renderer detects it is blocked on a pepper 2034 // Sent to the browser when the renderer detects it is blocked on a pepper
2031 // plugin message for too long. This is also sent when it becomes unhung 2035 // plugin message for too long. This is also sent when it becomes unhung
2032 // (according to the value of is_hung). The browser can give the user the 2036 // (according to the value of is_hung). The browser can give the user the
2033 // option of killing the plugin. 2037 // option of killing the plugin.
2034 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, 2038 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung,
2035 int /* plugin_child_id */, 2039 int /* plugin_child_id */,
2036 FilePath /* path */, 2040 FilePath /* path */,
2037 bool /* is_hung */) 2041 bool /* is_hung */)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698