| 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 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 // background.scripts. | 65 // background.scripts. |
| 66 extern const char kGeneratedBackgroundPageFilename[]; | 66 extern const char kGeneratedBackgroundPageFilename[]; |
| 67 } | 67 } |
| 68 | 68 |
| 69 // Keys in the dictionary returned by Extension::GetBasicInfo(). | 69 // Keys in the dictionary returned by Extension::GetBasicInfo(). |
| 70 namespace extension_info_keys { | 70 namespace extension_info_keys { |
| 71 extern const char kDescriptionKey[]; | 71 extern const char kDescriptionKey[]; |
| 72 extern const char kEnabledKey[]; | 72 extern const char kEnabledKey[]; |
| 73 extern const char kHomepageUrlKey[]; | 73 extern const char kHomepageUrlKey[]; |
| 74 extern const char kIdKey[]; | 74 extern const char kIdKey[]; |
| 75 extern const char kMayDisableKey[]; | |
| 76 extern const char kNameKey[]; | 75 extern const char kNameKey[]; |
| 77 extern const char kOfflineEnabledKey[]; | 76 extern const char kOfflineEnabledKey[]; |
| 78 extern const char kOptionsUrlKey[]; | 77 extern const char kOptionsUrlKey[]; |
| 79 extern const char kVersionKey[]; | 78 extern const char kVersionKey[]; |
| 80 } | 79 } |
| 81 | 80 |
| 82 namespace extension_misc { | 81 namespace extension_misc { |
| 83 // Matches chrome.windows.WINDOW_ID_NONE. | 82 // Matches chrome.windows.WINDOW_ID_NONE. |
| 84 const int kUnknownWindowId = -1; | 83 const int kUnknownWindowId = -1; |
| 85 | 84 |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 extern const char kAppStateRunning[]; | 251 extern const char kAppStateRunning[]; |
| 253 extern const char kAppStateCannotRun[]; | 252 extern const char kAppStateCannotRun[]; |
| 254 extern const char kAppStateReadyToRun[]; | 253 extern const char kAppStateReadyToRun[]; |
| 255 | 254 |
| 256 // Error indicating that the app notifications API is not accessible by split | 255 // Error indicating that the app notifications API is not accessible by split |
| 257 // mode extensions in incognito windows. | 256 // mode extensions in incognito windows. |
| 258 extern const char kAppNotificationsIncognitoError[]; | 257 extern const char kAppNotificationsIncognitoError[]; |
| 259 } // extension_misc | 258 } // extension_misc |
| 260 | 259 |
| 261 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 260 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| OLD | NEW |