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