Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / common / mac / app_shim_launch.h
blob9ea650266a3078210f149ced7ab43a692d45ca0d
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
3 // found in the LICENSE file.
5 #ifndef CHROME_COMMON_MAC_APP_SHIM_LAUNCH_H_
6 #define CHROME_COMMON_MAC_APP_SHIM_LAUNCH_H_
8 namespace apps {
10 enum AppShimLaunchType {
11 // Process the app shim's LaunchAppmessage and associate the shim with the
12 // given profile and app id.
13 APP_SHIM_LAUNCH_REGISTER_ONLY = 0,
14 // Do the above and launch the app.
15 APP_SHIM_LAUNCH_NORMAL,
16 // Counter and end marker.
17 APP_SHIM_LAUNCH_NUM_TYPES
20 enum AppShimLaunchResult {
21 // App launched successfully.
22 APP_SHIM_LAUNCH_SUCCESS = 0,
23 // There is already a host registered for this app.
24 APP_SHIM_LAUNCH_DUPLICATE_HOST,
25 // The profile was not found.
26 APP_SHIM_LAUNCH_PROFILE_NOT_FOUND,
27 // The app was not found.
28 APP_SHIM_LAUNCH_APP_NOT_FOUND,
29 // The profile was locked.
30 APP_SHIM_LAUNCH_PROFILE_LOCKED,
31 // Counter and end marker.
32 APP_SHIM_LAUNCH_NUM_RESULTS
35 enum AppShimFocusType {
36 // Just focus the app.
37 APP_SHIM_FOCUS_NORMAL = 0,
38 // Focus the app or launch it if it has no windows open.
39 APP_SHIM_FOCUS_REOPEN,
40 // Open the given file in the app.
41 APP_SHIM_FOCUS_OPEN_FILES,
42 // Counter and end marker.
43 APP_SHIM_FOCUS_NUM_TYPES
46 enum AppShimAttentionType {
47 // Removes any active attention request.
48 APP_SHIM_ATTENTION_CANCEL = 0,
49 // Bounces the shim in the dock briefly.
50 APP_SHIM_ATTENTION_INFORMATIONAL,
51 // Bounces the shim in the dock continuously.
52 APP_SHIM_ATTENTION_CRITICAL,
53 // Counter and end marker.
54 APP_SHIM_ATTENTION_NUM_TYPES
57 } // namespace apps
59 #endif // CHROME_COMMON_MAC_APP_SHIM_LAUNCH_H_