OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #include "chrome/browser/extensions/api/management/management_api_constants.h" | 5 #include "chrome/browser/extensions/api/management/management_api_constants.h" |
6 | 6 |
7 namespace extension_management_api_constants { | 7 namespace extension_management_api_constants { |
8 | 8 |
9 const char kDisabledReasonKey[] = "disabledReason"; | 9 const char kDisabledReasonKey[] = "disabledReason"; |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 const char kNoBrowserToCreateShortcut[] = | 30 const char kNoBrowserToCreateShortcut[] = |
31 "There is no browser window to create shortcut."; | 31 "There is no browser window to create shortcut."; |
32 const char kCreateOnlyPackagedAppShortcutMac[] = | 32 const char kCreateOnlyPackagedAppShortcutMac[] = |
33 "Shortcuts can only be created for new-style packaged apps on Mac."; | 33 "Shortcuts can only be created for new-style packaged apps on Mac."; |
34 const char kCreateShortcutCanceledError[] = | 34 const char kCreateShortcutCanceledError[] = |
35 "App shortcuts creation canceled by user."; | 35 "App shortcuts creation canceled by user."; |
36 const char kGestureNeededForSetLaunchTypeError[] = | 36 const char kGestureNeededForSetLaunchTypeError[] = |
37 "chrome.management.setLaunchType requires a user gesture."; | 37 "chrome.management.setLaunchType requires a user gesture."; |
38 const char kLaunchTypeNotAvailableError[] = | 38 const char kLaunchTypeNotAvailableError[] = |
39 "The launch type is not available for this app."; | 39 "The launch type is not available for this app."; |
| 40 const char kGestureNeededForGenerateAppForLinkError[] = |
| 41 "chrome.management.generateAppForLink requires a user gesture."; |
| 42 const char kInvalidURLError[] = "The URL \"*\" is invalid."; |
| 43 const char kEmptyTitleError[] = "The title can not be empty."; |
| 44 const char kGenerateAppForLinkInstallError[] = |
| 45 "Failed to install the generated app."; |
40 | 46 |
41 } // namespace extension_management_api_constants | 47 } // namespace extension_management_api_constants |
OLD | NEW |