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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 APP_LAUNCH_NTP_WEBSTORE, | 439 APP_LAUNCH_NTP_WEBSTORE, |
440 | 440 |
441 // App launched after the user re-enabled it on the NTP. | 441 // App launched after the user re-enabled it on the NTP. |
442 APP_LAUNCH_NTP_APP_RE_ENABLE, | 442 APP_LAUNCH_NTP_APP_RE_ENABLE, |
443 | 443 |
444 // URL launched using the --app cmd line option, but the URL does not | 444 // URL launched using the --app cmd line option, but the URL does not |
445 // correspond to an installed app. These launches are left over from a | 445 // correspond to an installed app. These launches are left over from a |
446 // feature that let you make desktop shortcuts from the file menu. | 446 // feature that let you make desktop shortcuts from the file menu. |
447 APP_LAUNCH_CMD_LINE_APP_LEGACY, | 447 APP_LAUNCH_CMD_LINE_APP_LEGACY, |
448 | 448 |
| 449 // User clicked web store link on the NTP footer. |
| 450 APP_LAUNCH_NTP_WEBSTORE_FOOTER, |
| 451 |
449 APP_LAUNCH_BUCKET_BOUNDARY, | 452 APP_LAUNCH_BUCKET_BOUNDARY, |
450 APP_LAUNCH_BUCKET_INVALID | 453 APP_LAUNCH_BUCKET_INVALID |
451 }; | 454 }; |
452 | 455 |
453 #if defined(OS_CHROMEOS) | 456 #if defined(OS_CHROMEOS) |
454 // The directory path on a ChromeOS device where accessibility extensions are | 457 // The directory path on a ChromeOS device where accessibility extensions are |
455 // stored. | 458 // stored. |
456 extern const char kAccessExtensionPath[]; | 459 extern const char kAccessExtensionPath[]; |
457 extern const char kChromeVoxDirectoryName[]; | 460 extern const char kChromeVoxDirectoryName[]; |
458 #endif | 461 #endif |
(...skipping 11 matching lines...) Expand all Loading... |
470 | 473 |
471 enum UnloadedExtensionReason { | 474 enum UnloadedExtensionReason { |
472 UNLOAD_REASON_DISABLE, // Extension is being disabled. | 475 UNLOAD_REASON_DISABLE, // Extension is being disabled. |
473 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. | 476 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. |
474 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. | 477 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. |
475 UNLOAD_REASON_TERMINATE, // Extension has terminated. | 478 UNLOAD_REASON_TERMINATE, // Extension has terminated. |
476 }; | 479 }; |
477 } // extension_misc | 480 } // extension_misc |
478 | 481 |
479 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 482 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
OLD | NEW |