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

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

Issue 8727010: Send one WebKeyboardEvent to the RenderWidget at a time. Move keyboard (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 | « content/browser/renderer_host/render_widget_host.cc ('k') | content/renderer/render_widget.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 IPC_MESSAGE_ROUTED4(ViewMsg_PaintAtSize, 720 IPC_MESSAGE_ROUTED4(ViewMsg_PaintAtSize,
721 TransportDIB::Handle /* dib_handle */, 721 TransportDIB::Handle /* dib_handle */,
722 int /* tag */, 722 int /* tag */,
723 gfx::Size /* page_size */, 723 gfx::Size /* page_size */,
724 gfx::Size /* desired_size */) 724 gfx::Size /* desired_size */)
725 725
726 // Tells the render view that a ViewHostMsg_UpdateRect message was processed. 726 // Tells the render view that a ViewHostMsg_UpdateRect message was processed.
727 // This signals the render view that it can send another UpdateRect message. 727 // This signals the render view that it can send another UpdateRect message.
728 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateRect_ACK) 728 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateRect_ACK)
729 729
730 // Message payload includes: 730 // Message payload includes a blob that should be cast to WebInputEvent
731 // 1. A blob that should be cast to WebInputEvent
732 // 2. An optional boolean value indicating if a RawKeyDown event is associated
733 // to a keyboard shortcut of the browser.
734 IPC_MESSAGE_ROUTED0(ViewMsg_HandleInputEvent) 731 IPC_MESSAGE_ROUTED0(ViewMsg_HandleInputEvent)
735 732
736 // This message notifies the renderer that the next key event is bound to one 733 // This message notifies the renderer that the next key event is bound to one
737 // or more pre-defined edit commands. If the next key event is not handled 734 // or more pre-defined edit commands. If the next key event is not handled
738 // by webkit, the specified edit commands shall be executed against current 735 // by webkit, the specified edit commands shall be executed against current
739 // focused frame. 736 // focused frame.
740 // Parameters 737 // Parameters
741 // * edit_commands (see chrome/common/edit_command_types.h) 738 // * edit_commands (see chrome/common/edit_command_types.h)
742 // Contains one or more edit commands. 739 // Contains one or more edit commands.
743 // See third_party/WebKit/Source/WebCore/editing/EditorCommand.cpp for detailed 740 // See third_party/WebKit/Source/WebCore/editing/EditorCommand.cpp for detailed
(...skipping 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after
1907 media::MediaLogEvent /* event */) 1904 media::MediaLogEvent /* event */)
1908 1905
1909 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message 1906 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message
1910 // being sent back. 1907 // being sent back.
1911 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) 1908 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse)
1912 1909
1913 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent 1910 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent
1914 // whenever the mouse is unlocked (which may or may not be caused by 1911 // whenever the mouse is unlocked (which may or may not be caused by
1915 // ViewHostMsg_UnlockMouse). 1912 // ViewHostMsg_UnlockMouse).
1916 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) 1913 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host.cc ('k') | content/renderer/render_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698