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

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

Issue 130223002: Have browser process shutdown metro viewer on Metro -> Metro restart. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use scoped_ptr.get() instead of relying on conversion. Created 6 years, 11 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/aura/remote_root_window_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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 bool, /* success */ 98 bool, /* success */
99 base::FilePath) /* filepath*/ 99 base::FilePath) /* filepath*/
100 100
101 // Messages sent from the browser to the viewer: 101 // Messages sent from the browser to the viewer:
102 102
103 // Requests the viewer to activate desktop mode. 103 // Requests the viewer to activate desktop mode.
104 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_ActivateDesktop, 104 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_ActivateDesktop,
105 base::FilePath /* shortcut */, 105 base::FilePath /* shortcut */,
106 bool /* ash exit */); 106 bool /* ash exit */);
107 107
108 // Request the viewer to close itself gracefully.
109 IPC_MESSAGE_CONTROL0(MetroViewerHostMsg_MetroExit);
110
108 // Requests the viewer to open a URL in desktop mode. 111 // Requests the viewer to open a URL in desktop mode.
109 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_OpenURLOnDesktop, 112 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_OpenURLOnDesktop,
110 base::FilePath, /* shortcut */ 113 base::FilePath, /* shortcut */
111 base::string16 /* url */); 114 base::string16 /* url */);
112 115
113 // Requests the viewer to change the pointer to a new cursor. 116 // Requests the viewer to change the pointer to a new cursor.
114 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SetCursor, 117 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SetCursor,
115 int64 /* cursor */); 118 int64 /* cursor */);
116 119
117 // This structure contains the parameters sent to the viewer process to display 120 // This structure contains the parameters sent to the viewer process to display
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 IPC_STRUCT_TRAITS_MEMBER(right) 214 IPC_STRUCT_TRAITS_MEMBER(right)
212 IPC_STRUCT_TRAITS_MEMBER(bottom) 215 IPC_STRUCT_TRAITS_MEMBER(bottom)
213 IPC_STRUCT_TRAITS_END() 216 IPC_STRUCT_TRAITS_END()
214 217
215 // Requests the viewer to update the document context such as attached 218 // Requests the viewer to update the document context such as attached
216 // InputScopes and character bounds. 219 // InputScopes and character bounds.
217 IPC_MESSAGE_CONTROL2( 220 IPC_MESSAGE_CONTROL2(
218 MetroViewerHostMsg_ImeTextInputClientUpdated, 221 MetroViewerHostMsg_ImeTextInputClientUpdated,
219 std::vector<int32>, /* InputScope enums */ 222 std::vector<int32>, /* InputScope enums */
220 std::vector<metro_viewer::CharacterBounds>) /* character bounds */ 223 std::vector<metro_viewer::CharacterBounds>) /* character bounds */
OLDNEW
« no previous file with comments | « ui/aura/remote_root_window_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