OLD | NEW |
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 Loading... |
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 */) |
OLD | NEW |