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