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

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

Issue 23592024: Make the metro viewer responsible for relaunching browser in desktop mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a few nits. Created 7 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_root_window_host_win.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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 bool, /* success */ 85 bool, /* success */
86 std::vector<base::FilePath>) /* filenames */ 86 std::vector<base::FilePath>) /* filenames */
87 87
88 // Informs the browser of the result of a select folder operation. 88 // Informs the browser of the result of a select folder operation.
89 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_SelectFolderDone, 89 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_SelectFolderDone,
90 bool, /* success */ 90 bool, /* success */
91 base::FilePath) /* filepath*/ 91 base::FilePath) /* filepath*/
92 92
93 // Messages sent from the browser to the viewer: 93 // Messages sent from the browser to the viewer:
94 94
95 // Requests the viewer to open a URL in desktop mode.
96 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_OpenURLOnDesktop,
97 base::FilePath, /* shortcut */
98 string16 /* url */);
99
95 // Requests the viewer to change the pointer to a new cursor. 100 // Requests the viewer to change the pointer to a new cursor.
96 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SetCursor, 101 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SetCursor,
97 int64 /* cursor */); 102 int64 /* cursor */);
98 103
99 // This structure contains the parameters sent to the viewer process to display 104 // This structure contains the parameters sent to the viewer process to display
100 // the file save dialog. 105 // the file save dialog.
101 IPC_STRUCT_BEGIN(MetroViewerHostMsg_SaveAsDialogParams) 106 IPC_STRUCT_BEGIN(MetroViewerHostMsg_SaveAsDialogParams)
102 107
103 // The title of the file save dialog if any. 108 // The title of the file save dialog if any.
104 IPC_STRUCT_MEMBER(string16, title) 109 IPC_STRUCT_MEMBER(string16, title)
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 string16) /* url */ 155 string16) /* url */
151 156
152 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SearchRequest, 157 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SearchRequest,
153 string16) /* search_string */ 158 string16) /* search_string */
154 159
155 // Sent from the metro viewer process to the browser process to indicate that 160 // Sent from the metro viewer process to the browser process to indicate that
156 // the viewer window size has changed. 161 // the viewer window size has changed.
157 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_WindowSizeChanged, 162 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_WindowSizeChanged,
158 uint32, /* width */ 163 uint32, /* width */
159 uint32) /* height */ 164 uint32) /* height */
OLDNEW
« no previous file with comments | « ui/aura/remote_root_window_host_win.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