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

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 400012: Refactor the keyboard events handling code related to RenderViewHostDelegate:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 // Tells the renderer to dump as much memory as it can, perhaps because we 144 // Tells the renderer to dump as much memory as it can, perhaps because we
145 // have memory pressure or the renderer is (or will be) paged out. This 145 // have memory pressure or the renderer is (or will be) paged out. This
146 // should only result in purging objects we can recalculate, e.g. caches or 146 // should only result in purging objects we can recalculate, e.g. caches or
147 // JS garbage, not in purging irreplaceable objects. 147 // JS garbage, not in purging irreplaceable objects.
148 IPC_MESSAGE_CONTROL0(ViewMsg_PurgeMemory) 148 IPC_MESSAGE_CONTROL0(ViewMsg_PurgeMemory)
149 149
150 // Tells the render view that a ViewHostMsg_ScrollRect message was processed. 150 // Tells the render view that a ViewHostMsg_ScrollRect message was processed.
151 // This signals the render view that it can send another ScrollRect message. 151 // This signals the render view that it can send another ScrollRect message.
152 IPC_MESSAGE_ROUTED0(ViewMsg_ScrollRect_ACK) 152 IPC_MESSAGE_ROUTED0(ViewMsg_ScrollRect_ACK)
153 153
154 // Message payload is a blob that should be cast to WebInputEvent 154 // Message payload includes:
155 // 1. A blob that should be cast to WebInputEvent
156 // 2. An optional boolean value indicating if a RawKeyDown event is associated
157 // to a keyboard shortcut of the browser.
155 IPC_MESSAGE_ROUTED0(ViewMsg_HandleInputEvent) 158 IPC_MESSAGE_ROUTED0(ViewMsg_HandleInputEvent)
156 159
157 // This message notifies the renderer that the next key event is bound to one 160 // This message notifies the renderer that the next key event is bound to one
158 // or more pre-defined edit commands. If the next key event is not handled 161 // or more pre-defined edit commands. If the next key event is not handled
159 // by webkit, the specified edit commands shall be executed against current 162 // by webkit, the specified edit commands shall be executed against current
160 // focused frame. 163 // focused frame.
161 // Parameters 164 // Parameters
162 // * edit_commands (see chrome/common/edit_command_types.h) 165 // * edit_commands (see chrome/common/edit_command_types.h)
163 // Contains one or more edit commands. 166 // Contains one or more edit commands.
164 // See third_party/WebKit/WebCore/editing/EditorCommand.cpp for detailed 167 // See third_party/WebKit/WebCore/editing/EditorCommand.cpp for detailed
(...skipping 1895 matching lines...) Expand 10 before | Expand all | Expand 10 after
2060 string16 /* word */, 2063 string16 /* word */,
2061 int /* document tag */, 2064 int /* document tag */,
2062 bool /* correct */) 2065 bool /* correct */)
2063 2066
2064 IPC_SYNC_MESSAGE_CONTROL1_1( 2067 IPC_SYNC_MESSAGE_CONTROL1_1(
2065 ViewHostMsg_SpellChecker_PlatformFillSuggestionList, 2068 ViewHostMsg_SpellChecker_PlatformFillSuggestionList,
2066 string16 /* word */, 2069 string16 /* word */,
2067 std::vector<string16> /* suggestions */) 2070 std::vector<string16> /* suggestions */)
2068 2071
2069 IPC_END_MESSAGES(ViewHost) 2072 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/browser/views/tab_contents/tab_contents_view_win.cc ('k') | chrome/renderer/render_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698