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

Side by Side Diff: ui/metro_viewer/metro_viewer_messages.h

Issue 1267483003: Combine the WM_CHAR with WM_KEY* for key event flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits. Created 5 years, 4 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 // Multiply-included message file, no include guard. 5 // Multiply-included message file, no include guard.
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_KeyUp, 54 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_KeyUp,
55 uint32, /* virtual key */ 55 uint32, /* virtual key */
56 uint32, /* repeat count */ 56 uint32, /* repeat count */
57 uint32, /* scan code */ 57 uint32, /* scan code */
58 uint32 /* key state */); 58 uint32 /* key state */);
59 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_Character, 59 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_Character,
60 uint32, /* virtual key */ 60 uint32, /* virtual key */
61 uint32, /* repeat count */ 61 uint32, /* repeat count */
62 uint32, /* scan code */ 62 uint32, /* scan code */
63 uint32 /* key state */); 63 uint32 /* key state */);
64 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_CharacterForNextKeyEvent,
65 uint32, /* virtual key */
66 uint32, /* repeat count */
67 uint32, /* scan code */
68 uint32 /* key state */);
64 // Informs the browser that the Metro window has been activated. 69 // Informs the browser that the Metro window has been activated.
65 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_WindowActivated, 70 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_WindowActivated,
66 bool /* Whether the window should be repainted */); 71 bool /* Whether the window should be repainted */);
67 72
68 // Informs the browser that the user has completed an edge gesture. 73 // Informs the browser that the user has completed an edge gesture.
69 IPC_MESSAGE_CONTROL0(MetroViewerHostMsg_EdgeGesture) 74 IPC_MESSAGE_CONTROL0(MetroViewerHostMsg_EdgeGesture)
70 75
71 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_TouchDown, 76 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_TouchDown,
72 int32, /* x-coordinate */ 77 int32, /* x-coordinate */
73 int32, /* y-coordinate */ 78 int32, /* y-coordinate */
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 IPC_STRUCT_TRAITS_MEMBER(right) 225 IPC_STRUCT_TRAITS_MEMBER(right)
221 IPC_STRUCT_TRAITS_MEMBER(bottom) 226 IPC_STRUCT_TRAITS_MEMBER(bottom)
222 IPC_STRUCT_TRAITS_END() 227 IPC_STRUCT_TRAITS_END()
223 228
224 // Requests the viewer to update the document context such as attached 229 // Requests the viewer to update the document context such as attached
225 // InputScopes and character bounds. 230 // InputScopes and character bounds.
226 IPC_MESSAGE_CONTROL2( 231 IPC_MESSAGE_CONTROL2(
227 MetroViewerHostMsg_ImeTextInputClientUpdated, 232 MetroViewerHostMsg_ImeTextInputClientUpdated,
228 std::vector<int32>, /* InputScope enums */ 233 std::vector<int32>, /* InputScope enums */
229 std::vector<metro_viewer::CharacterBounds>) /* character bounds */ 234 std::vector<metro_viewer::CharacterBounds>) /* character bounds */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698