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

Side by Side Diff: chrome/common/mac/app_shim_messages.h

Issue 585123004: Mac: Give app_shim code a nicer home (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: various cleanups Created 6 years, 2 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 | « chrome/common/mac/app_shim_launch.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include <vector> 8 #include <vector>
9 9
10 #include "apps/app_shim/app_shim_launch.h"
11 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "chrome/common/mac/app_shim_launch.h"
12 #include "ipc/ipc_message_macros.h" 12 #include "ipc/ipc_message_macros.h"
13 #include "ipc/ipc_message_utils.h" 13 #include "ipc/ipc_message_utils.h"
14 #include "ipc/param_traits_macros.h" 14 #include "ipc/param_traits_macros.h"
15 15
16 #define IPC_MESSAGE_START AppShimMsgStart 16 #define IPC_MESSAGE_START AppShimMsgStart
17 17
18 IPC_ENUM_TRAITS_MAX_VALUE(apps::AppShimLaunchType, 18 IPC_ENUM_TRAITS_MAX_VALUE(apps::AppShimLaunchType,
19 apps::APP_SHIM_LAUNCH_NUM_TYPES - 1) 19 apps::APP_SHIM_LAUNCH_NUM_TYPES - 1)
20 IPC_ENUM_TRAITS_MAX_VALUE(apps::AppShimLaunchResult, 20 IPC_ENUM_TRAITS_MAX_VALUE(apps::AppShimLaunchResult,
21 apps::APP_SHIM_LAUNCH_NUM_RESULTS - 1) 21 apps::APP_SHIM_LAUNCH_NUM_RESULTS - 1)
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 // Sent when the shim process receives a request to terminate. Once all of the 63 // Sent when the shim process receives a request to terminate. Once all of the
64 // app's windows have closed, and the extension is unloaded, the AppShimHost 64 // app's windows have closed, and the extension is unloaded, the AppShimHost
65 // closes the channel. The shim process then completes the terminate request 65 // closes the channel. The shim process then completes the terminate request
66 // and exits. 66 // and exits.
67 IPC_MESSAGE_CONTROL0(AppShimHostMsg_QuitApp) 67 IPC_MESSAGE_CONTROL0(AppShimHostMsg_QuitApp)
68 68
69 // Instructs the shim to request or cancel user attention. 69 // Instructs the shim to request or cancel user attention.
70 IPC_MESSAGE_CONTROL1(AppShimMsg_SetUserAttention, 70 IPC_MESSAGE_CONTROL1(AppShimMsg_SetUserAttention,
71 apps::AppShimAttentionType /* attention_type */) 71 apps::AppShimAttentionType /* attention_type */)
OLDNEW
« no previous file with comments | « chrome/common/mac/app_shim_launch.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698