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 15 matching lines...) Expand all Loading... |
26 const char kUserDidNotReEnableError[] = | 26 const char kUserDidNotReEnableError[] = |
27 "The user did not accept the re-enable dialog."; | 27 "The user did not accept the re-enable dialog."; |
28 const char kGestureNeededForCreateAppShortcutError[] = | 28 const char kGestureNeededForCreateAppShortcutError[] = |
29 "chrome.management.createAppShortcut requires a user gesture."; | 29 "chrome.management.createAppShortcut requires a user gesture."; |
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 kGestureNeededForGenerateAppForLinkError[] = |
| 37 "chrome.management.generateAppForLink requires a user gesture."; |
| 38 const char kNoFaviconServiceToGenerateAppForLink[] = |
| 39 "There is no favicon service to generate app for link."; |
| 40 const char kInvalidURLError[] = "The URL \"*\" is invalid."; |
| 41 const char kEmptyTitleError[] = "The title can not be empty."; |
| 42 const char kGenerateAppForLinkInstallError[] = |
| 43 "Failed to install the generated app."; |
36 | 44 |
37 } // namespace extension_management_api_constants | 45 } // namespace extension_management_api_constants |
OLD | NEW |