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

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

Issue 271543009: Send the device scale factor from Windows 8 ASH during initialization via the MetroViewerHostMsg_Se… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed tabs Created 6 years, 7 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
« no previous file with comments | « ui/gfx/win/dpi.cc ('k') | win8/metro_driver/chrome_app_view_ash.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 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 15 matching lines...) Expand all
26 IPC_STRUCT_MEMBER(ui::EventType, event_type) 26 IPC_STRUCT_MEMBER(ui::EventType, event_type)
27 IPC_STRUCT_MEMBER(uint32, flags) 27 IPC_STRUCT_MEMBER(uint32, flags)
28 IPC_STRUCT_MEMBER(ui::EventFlags, changed_button) 28 IPC_STRUCT_MEMBER(ui::EventFlags, changed_button)
29 IPC_STRUCT_MEMBER(bool, is_horizontal_wheel) 29 IPC_STRUCT_MEMBER(bool, is_horizontal_wheel)
30 30
31 IPC_STRUCT_END() 31 IPC_STRUCT_END()
32 32
33 // Messages sent from the viewer to the browser: 33 // Messages sent from the viewer to the browser:
34 34
35 // Inform the browser of the surface to target for compositing. 35 // Inform the browser of the surface to target for compositing.
36 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SetTargetSurface, 36 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_SetTargetSurface,
37 gfx::NativeViewId /* target hwnd */) 37 gfx::NativeViewId /* target hwnd */,
38 float /* device scale */)
38 // Informs the browser that the mouse moved. 39 // Informs the browser that the mouse moved.
39 IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_MouseMoved, 40 IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_MouseMoved,
40 int32, /* x-coordinate */ 41 int32, /* x-coordinate */
41 int32, /* y-coordinate */ 42 int32, /* y-coordinate */
42 int32 /* flags */) 43 int32 /* flags */)
43 // Informs the brower that a mouse button was pressed. 44 // Informs the brower that a mouse button was pressed.
44 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_MouseButton, 45 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_MouseButton,
45 MetroViewerHostMsg_MouseButtonParams) 46 MetroViewerHostMsg_MouseButtonParams)
46 // Informs the browser that a key was pressed. 47 // Informs the browser that a key was pressed.
47 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_KeyDown, 48 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_KeyDown,
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 IPC_STRUCT_TRAITS_MEMBER(right) 219 IPC_STRUCT_TRAITS_MEMBER(right)
219 IPC_STRUCT_TRAITS_MEMBER(bottom) 220 IPC_STRUCT_TRAITS_MEMBER(bottom)
220 IPC_STRUCT_TRAITS_END() 221 IPC_STRUCT_TRAITS_END()
221 222
222 // Requests the viewer to update the document context such as attached 223 // Requests the viewer to update the document context such as attached
223 // InputScopes and character bounds. 224 // InputScopes and character bounds.
224 IPC_MESSAGE_CONTROL2( 225 IPC_MESSAGE_CONTROL2(
225 MetroViewerHostMsg_ImeTextInputClientUpdated, 226 MetroViewerHostMsg_ImeTextInputClientUpdated,
226 std::vector<int32>, /* InputScope enums */ 227 std::vector<int32>, /* InputScope enums */
227 std::vector<metro_viewer::CharacterBounds>) /* character bounds */ 228 std::vector<metro_viewer::CharacterBounds>) /* character bounds */
OLDNEW
« no previous file with comments | « ui/gfx/win/dpi.cc ('k') | win8/metro_driver/chrome_app_view_ash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698