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

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

Issue 11858007: Splits SmoothGestureController from RenderWidgetHostImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 7 years, 10 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 "base/string16.h" 10 #include "base/string16.h"
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 // Ack goes directly from browser -> renderer. This is not used for the threaded 847 // Ack goes directly from browser -> renderer. This is not used for the threaded
848 // compositor path. 848 // compositor path.
849 IPC_MESSAGE_ROUTED0(ViewMsg_SwapBuffers_ACK) 849 IPC_MESSAGE_ROUTED0(ViewMsg_SwapBuffers_ACK)
850 850
851 // Sends an input event to the render widget. 851 // Sends an input event to the render widget.
852 IPC_MESSAGE_ROUTED2(ViewMsg_HandleInputEvent, 852 IPC_MESSAGE_ROUTED2(ViewMsg_HandleInputEvent,
853 IPC::WebInputEventPointer /* event */, 853 IPC::WebInputEventPointer /* event */,
854 bool /* is_keyboard_shortcut */) 854 bool /* is_keyboard_shortcut */)
855 855
856 // Tells the render widget that a smooth scroll completed. 856 // Tells the render widget that a smooth scroll completed.
857 IPC_MESSAGE_ROUTED1(ViewMsg_SmoothScrollCompleted, 857 IPC_MESSAGE_ROUTED0(ViewMsg_SmoothScrollCompleted)
858 int /* gesture_id */)
859 858
860 // This message notifies the renderer that the next key event is bound to one 859 // This message notifies the renderer that the next key event is bound to one
861 // or more pre-defined edit commands. If the next key event is not handled 860 // or more pre-defined edit commands. If the next key event is not handled
862 // by webkit, the specified edit commands shall be executed against current 861 // by webkit, the specified edit commands shall be executed against current
863 // focused frame. 862 // focused frame.
864 // Parameters 863 // Parameters
865 // * edit_commands (see chrome/common/edit_command_types.h) 864 // * edit_commands (see chrome/common/edit_command_types.h)
866 // Contains one or more edit commands. 865 // Contains one or more edit commands.
867 // See third_party/WebKit/Source/WebCore/editing/EditorCommand.cpp for detailed 866 // See third_party/WebKit/Source/WebCore/editing/EditorCommand.cpp for detailed
868 // definition of webkit edit commands. 867 // definition of webkit edit commands.
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after
1669 WebKit::WebInputEvent::Type, 1668 WebKit::WebInputEvent::Type,
1670 content::InputEventAckState /* ack_result */) 1669 content::InputEventAckState /* ack_result */)
1671 1670
1672 IPC_STRUCT_BEGIN(ViewHostMsg_BeginSmoothScroll_Params) 1671 IPC_STRUCT_BEGIN(ViewHostMsg_BeginSmoothScroll_Params)
1673 IPC_STRUCT_MEMBER(bool, scroll_down) 1672 IPC_STRUCT_MEMBER(bool, scroll_down)
1674 IPC_STRUCT_MEMBER(int, pixels_to_scroll) 1673 IPC_STRUCT_MEMBER(int, pixels_to_scroll)
1675 IPC_STRUCT_MEMBER(int, mouse_event_x) 1674 IPC_STRUCT_MEMBER(int, mouse_event_x)
1676 IPC_STRUCT_MEMBER(int, mouse_event_y) 1675 IPC_STRUCT_MEMBER(int, mouse_event_y)
1677 IPC_STRUCT_END() 1676 IPC_STRUCT_END()
1678 1677
1679 IPC_MESSAGE_ROUTED2(ViewHostMsg_BeginSmoothScroll, 1678 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_BeginSmoothScroll,
1680 int /* gesture_id */, 1679 ViewHostMsg_BeginSmoothScroll_Params /* params */,
1681 ViewHostMsg_BeginSmoothScroll_Params /* params */) 1680 bool /* smooth_scroll_started */)
1682 1681
1683 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) 1682 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus)
1684 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) 1683 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur)
1685 1684
1686 // Message sent from renderer to the browser when focus changes inside the 1685 // Message sent from renderer to the browser when focus changes inside the
1687 // webpage. The parameter says whether the newly focused element needs 1686 // webpage. The parameter says whether the newly focused element needs
1688 // keyboard input (true for textfields, text areas and content editable divs). 1687 // keyboard input (true for textfields, text areas and content editable divs).
1689 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged, 1688 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged,
1690 bool /* is_editable_node */) 1689 bool /* is_editable_node */)
1691 1690
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
2414 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 2413 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
2415 // for details. 2414 // for details.
2416 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 2415 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
2417 LOGFONT /* font_data */, 2416 LOGFONT /* font_data */,
2418 string16 /* characters */) 2417 string16 /* characters */)
2419 #endif 2418 #endif
2420 2419
2421 // Adding a new message? Stick to the sort order above: first platform 2420 // Adding a new message? Stick to the sort order above: first platform
2422 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2421 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2423 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2422 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698