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

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

Issue 79143002: Revert 236254 "Replace old with new synthetic gesture framework." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « trunk/src/content/common/input_messages.h ('k') | trunk/src/content/content_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 905 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateRect_ACK) 916 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateRect_ACK)
917 917
918 // Tells the render view that a SwapBuffers was completed. Typically, 918 // Tells the render view that a SwapBuffers was completed. Typically,
919 // SwapBuffers requests go from renderer -> GPU process -> browser. Most 919 // SwapBuffers requests go from renderer -> GPU process -> browser. Most
920 // platforms still use the GfxCxt3D Echo for receiving the SwapBuffers Ack. 920 // platforms still use the GfxCxt3D Echo for receiving the SwapBuffers Ack.
921 // Using Echo routes the ack from browser -> GPU process -> renderer, while this 921 // Using Echo routes the ack from browser -> GPU process -> renderer, while this
922 // Ack goes directly from browser -> renderer. This is not used for the threaded 922 // Ack goes directly from browser -> renderer. This is not used for the threaded
923 // compositor path. 923 // compositor path.
924 IPC_MESSAGE_ROUTED0(ViewMsg_SwapBuffers_ACK) 924 IPC_MESSAGE_ROUTED0(ViewMsg_SwapBuffers_ACK)
925 925
926 // Tells the render widget that a smooth scroll completed.
927 IPC_MESSAGE_ROUTED0(ViewMsg_SyntheticGestureCompleted)
928
926 // Tells the renderer to focus the first (last if reverse is true) focusable 929 // Tells the renderer to focus the first (last if reverse is true) focusable
927 // node. 930 // node.
928 IPC_MESSAGE_ROUTED1(ViewMsg_SetInitialFocus, 931 IPC_MESSAGE_ROUTED1(ViewMsg_SetInitialFocus,
929 bool /* reverse */) 932 bool /* reverse */)
930 933
931 // Executes custom context menu action that was provided from WebKit. 934 // Executes custom context menu action that was provided from WebKit.
932 IPC_MESSAGE_ROUTED2(ViewMsg_CustomContextMenuAction, 935 IPC_MESSAGE_ROUTED2(ViewMsg_CustomContextMenuAction,
933 content::CustomContextMenuContext /* custom_context */, 936 content::CustomContextMenuContext /* custom_context */,
934 unsigned /* action */) 937 unsigned /* action */)
935 938
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
1658 1661
1659 // Sent to unblock the browser's UI thread if it is waiting on an UpdateRect, 1662 // Sent to unblock the browser's UI thread if it is waiting on an UpdateRect,
1660 // which may get delayed until the browser's UI unblocks. 1663 // which may get delayed until the browser's UI unblocks.
1661 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateIsDelayed) 1664 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateIsDelayed)
1662 1665
1663 // Sent by the renderer when accelerated compositing is enabled or disabled to 1666 // Sent by the renderer when accelerated compositing is enabled or disabled to
1664 // notify the browser whether or not is should do painting. 1667 // notify the browser whether or not is should do painting.
1665 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidActivateAcceleratedCompositing, 1668 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidActivateAcceleratedCompositing,
1666 bool /* true if the accelerated compositor is actve */) 1669 bool /* true if the accelerated compositor is actve */)
1667 1670
1671 IPC_STRUCT_BEGIN(ViewHostMsg_BeginSmoothScroll_Params)
1672 IPC_STRUCT_MEMBER(bool, scroll_down)
1673 IPC_STRUCT_MEMBER(int32, pixels_to_scroll)
1674 IPC_STRUCT_MEMBER(int32, mouse_event_x)
1675 IPC_STRUCT_MEMBER(int32, mouse_event_y)
1676 IPC_STRUCT_END()
1677
1678 IPC_MESSAGE_ROUTED1(ViewHostMsg_BeginSmoothScroll,
1679 ViewHostMsg_BeginSmoothScroll_Params /* params */)
1680
1681 IPC_STRUCT_BEGIN(ViewHostMsg_BeginPinch_Params)
1682 IPC_STRUCT_MEMBER(bool, zoom_in)
1683 IPC_STRUCT_MEMBER(int32, pixels_to_move)
1684 IPC_STRUCT_MEMBER(int32, anchor_x)
1685 IPC_STRUCT_MEMBER(int32, anchor_y)
1686 IPC_STRUCT_END()
1687
1688 IPC_MESSAGE_ROUTED1(ViewHostMsg_BeginPinch,
1689 ViewHostMsg_BeginPinch_Params /* params */)
1690
1668 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) 1691 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus)
1669 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) 1692 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur)
1670 1693
1671 // Message sent from renderer to the browser when focus changes inside the 1694 // Message sent from renderer to the browser when focus changes inside the
1672 // webpage. The parameter says whether the newly focused element needs 1695 // webpage. The parameter says whether the newly focused element needs
1673 // keyboard input (true for textfields, text areas and content editable divs). 1696 // keyboard input (true for textfields, text areas and content editable divs).
1674 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged, 1697 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged,
1675 bool /* is_editable_node */) 1698 bool /* is_editable_node */)
1676 1699
1677 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, 1700 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor,
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
2354 // synchronously (see crbug.com/120597). This IPC message sends the character 2377 // synchronously (see crbug.com/120597). This IPC message sends the character
2355 // bounds after every composition change to always have correct bound info. 2378 // bounds after every composition change to always have correct bound info.
2356 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2379 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2357 gfx::Range /* composition range */, 2380 gfx::Range /* composition range */,
2358 std::vector<gfx::Rect> /* character bounds */) 2381 std::vector<gfx::Rect> /* character bounds */)
2359 #endif 2382 #endif
2360 2383
2361 // Adding a new message? Stick to the sort order above: first platform 2384 // Adding a new message? Stick to the sort order above: first platform
2362 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2385 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2363 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2386 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « trunk/src/content/common/input_messages.h ('k') | trunk/src/content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698