| 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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 | 321 |
| 322 // The file to write our decoded images to, relative to the extension_path. | 322 // The file to write our decoded images to, relative to the extension_path. |
| 323 extern const char kDecodedImagesFilename[]; | 323 extern const char kDecodedImagesFilename[]; |
| 324 | 324 |
| 325 // The file to write our decoded message catalogs to, relative to the | 325 // The file to write our decoded message catalogs to, relative to the |
| 326 // extension_path. | 326 // extension_path. |
| 327 extern const char kDecodedMessageCatalogsFilename[]; | 327 extern const char kDecodedMessageCatalogsFilename[]; |
| 328 } | 328 } |
| 329 | 329 |
| 330 namespace extension_misc { | 330 namespace extension_misc { |
| 331 // Matches chrome.windows.WINDOW_ID_NONE. |
| 331 const int kUnknownWindowId = -1; | 332 const int kUnknownWindowId = -1; |
| 332 | 333 |
| 334 // Matches chrome.windows.WINDOW_ID_CURRENT. |
| 335 const int kCurrentWindowId = -2; |
| 336 |
| 333 // The extension id of the bookmark manager. | 337 // The extension id of the bookmark manager. |
| 334 extern const char kBookmarkManagerId[]; | 338 extern const char kBookmarkManagerId[]; |
| 335 | 339 |
| 336 // The extension id of the Web Store component application. | 340 // The extension id of the Web Store component application. |
| 337 extern const char kWebStoreAppId[]; | 341 extern const char kWebStoreAppId[]; |
| 338 | 342 |
| 339 // The extension id of the Cloud Print component application. | 343 // The extension id of the Cloud Print component application. |
| 340 extern const char kCloudPrintAppId[]; | 344 extern const char kCloudPrintAppId[]; |
| 341 | 345 |
| 342 // Note: this structure is an ASN.1 which encodes the algorithm used | 346 // Note: this structure is an ASN.1 which encodes the algorithm used |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 | 458 |
| 455 enum UnloadedExtensionReason { | 459 enum UnloadedExtensionReason { |
| 456 UNLOAD_REASON_DISABLE, // Extension is being disabled. | 460 UNLOAD_REASON_DISABLE, // Extension is being disabled. |
| 457 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. | 461 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. |
| 458 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. | 462 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. |
| 459 UNLOAD_REASON_TERMINATE, // Extension has terminated. | 463 UNLOAD_REASON_TERMINATE, // Extension has terminated. |
| 460 }; | 464 }; |
| 461 } // extension_misc | 465 } // extension_misc |
| 462 | 466 |
| 463 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 467 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| OLD | NEW |