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

Side by Side Diff: apps/app_shim/app_shim_messages.h

Issue 12723011: Giving focus to an app shim brings windows belonging to that app to the foreground. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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, hence no include guard. 5 // Multiply-included message file, hence no include guard.
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "ipc/ipc_message_macros.h" 9 #include "ipc/ipc_message_macros.h"
10 10
11 #define IPC_MESSAGE_START AppShimMsgStart 11 #define IPC_MESSAGE_START AppShimMsgStart
12 12
13 // Signals that a previous LaunchApp message has been processed, and lets the 13 // Signals that a previous LaunchApp message has been processed, and lets the
14 // app shim process know whether the app launch was successful. 14 // app shim process know whether the app launch was successful.
15 IPC_MESSAGE_CONTROL1(AppShimMsg_LaunchApp_Done, 15 IPC_MESSAGE_CONTROL1(AppShimMsg_LaunchApp_Done,
16 bool /* succeeded */) 16 bool /* succeeded */)
17 17
18 // Tells the main Chrome process to launch a particular app with the given 18 // Tells the main Chrome process to launch a particular app with the given
19 // profile name and app id. 19 // profile name and app id.
20 IPC_MESSAGE_CONTROL2(AppShimHostMsg_LaunchApp, 20 IPC_MESSAGE_CONTROL2(AppShimHostMsg_LaunchApp,
21 std::string /* profile name */, 21 std::string /* profile name */,
22 std::string /* app id */) 22 std::string /* app id */)
23
24 IPC_MESSAGE_CONTROL0(AppShimHostMsg_FocusApp)
koz (OOO until 15th September) 2013/03/18 03:33:12 Comment
jeremya 2013/03/18 04:54:05 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698