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

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

Issue 546503002: Notify the Chrome browser process about the window being activated from the viewer process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review comments Created 6 years, 3 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
« no previous file with comments | « ui/aura/remote_window_tree_host_win.cc ('k') | win8/metro_driver/chrome_app_view_ash.cc » ('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 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // Informs the browser that the Metro window has been activated. 64 // Informs the browser that the Metro window has been activated.
65 IPC_MESSAGE_CONTROL0(MetroViewerHostMsg_WindowActivated); 65 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_WindowActivated,
66 bool /* Whether the window should be repainted */);
66 67
67 // Informs the browser that the user has completed an edge gesture. 68 // Informs the browser that the user has completed an edge gesture.
68 IPC_MESSAGE_CONTROL0(MetroViewerHostMsg_EdgeGesture) 69 IPC_MESSAGE_CONTROL0(MetroViewerHostMsg_EdgeGesture)
69 70
70 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_TouchDown, 71 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_TouchDown,
71 int32, /* x-coordinate */ 72 int32, /* x-coordinate */
72 int32, /* y-coordinate */ 73 int32, /* y-coordinate */
73 uint64, /* timestamp */ 74 uint64, /* timestamp */
74 uint32) /* pointer_id */ 75 uint32) /* pointer_id */
75 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_TouchUp, 76 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_TouchUp,
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 IPC_STRUCT_TRAITS_MEMBER(right) 220 IPC_STRUCT_TRAITS_MEMBER(right)
220 IPC_STRUCT_TRAITS_MEMBER(bottom) 221 IPC_STRUCT_TRAITS_MEMBER(bottom)
221 IPC_STRUCT_TRAITS_END() 222 IPC_STRUCT_TRAITS_END()
222 223
223 // Requests the viewer to update the document context such as attached 224 // Requests the viewer to update the document context such as attached
224 // InputScopes and character bounds. 225 // InputScopes and character bounds.
225 IPC_MESSAGE_CONTROL2( 226 IPC_MESSAGE_CONTROL2(
226 MetroViewerHostMsg_ImeTextInputClientUpdated, 227 MetroViewerHostMsg_ImeTextInputClientUpdated,
227 std::vector<int32>, /* InputScope enums */ 228 std::vector<int32>, /* InputScope enums */
228 std::vector<metro_viewer::CharacterBounds>) /* character bounds */ 229 std::vector<metro_viewer::CharacterBounds>) /* character bounds */
OLDNEW
« no previous file with comments | « ui/aura/remote_window_tree_host_win.cc ('k') | win8/metro_driver/chrome_app_view_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698