| 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 EXTENSIONS_COMMON_CONSTANTS_H_ | 5 #ifndef EXTENSIONS_COMMON_CONSTANTS_H_ |
| 6 #define EXTENSIONS_COMMON_CONSTANTS_H_ | 6 #define EXTENSIONS_COMMON_CONSTANTS_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "ui/base/layout.h" | 10 #include "ui/base/layout.h" |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 SOURCE_RESTART, | 119 SOURCE_RESTART, |
| 120 SOURCE_LOAD_AND_LAUNCH, | 120 SOURCE_LOAD_AND_LAUNCH, |
| 121 SOURCE_COMMAND_LINE, | 121 SOURCE_COMMAND_LINE, |
| 122 SOURCE_FILE_HANDLER, | 122 SOURCE_FILE_HANDLER, |
| 123 SOURCE_URL_HANDLER, | 123 SOURCE_URL_HANDLER, |
| 124 | 124 |
| 125 SOURCE_SYSTEM_TRAY, | 125 SOURCE_SYSTEM_TRAY, |
| 126 SOURCE_ABOUT_PAGE, | 126 SOURCE_ABOUT_PAGE, |
| 127 SOURCE_KEYBOARD, | 127 SOURCE_KEYBOARD, |
| 128 | 128 |
| 129 SOURCE_SETTINGS_PAGE, |
| 130 SOURCE_MANAGEMENT_API, |
| 131 SOURCE_EPHEMERAL, |
| 132 SOURCE_BACKGROUND, |
| 133 SOURCE_KIOSK, |
| 134 SOURCE_CHROME_INTERNAL, |
| 135 |
| 129 NUM_APP_LAUNCH_SOURCES | 136 NUM_APP_LAUNCH_SOURCES |
| 130 }; | 137 }; |
| 131 | 138 |
| 132 // This enum is used for the launch type the user wants to use for an | 139 // This enum is used for the launch type the user wants to use for an |
| 133 // application. | 140 // application. |
| 134 // Do not remove items or re-order this enum as it is used in preferences | 141 // Do not remove items or re-order this enum as it is used in preferences |
| 135 // and histograms. | 142 // and histograms. |
| 136 enum LaunchType { | 143 enum LaunchType { |
| 137 LAUNCH_TYPE_INVALID = -1, | 144 LAUNCH_TYPE_INVALID = -1, |
| 138 LAUNCH_TYPE_FIRST = 0, | 145 LAUNCH_TYPE_FIRST = 0, |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 const ui::ScaleFactor scale; | 204 const ui::ScaleFactor scale; |
| 198 }; | 205 }; |
| 199 | 206 |
| 200 // The icon representations for extension actions. | 207 // The icon representations for extension actions. |
| 201 extern const IconRepresentationInfo kExtensionActionIconSizes[]; | 208 extern const IconRepresentationInfo kExtensionActionIconSizes[]; |
| 202 const size_t kNumExtensionActionIconSizes = 2u; | 209 const size_t kNumExtensionActionIconSizes = 2u; |
| 203 | 210 |
| 204 } // namespace extension_misc | 211 } // namespace extension_misc |
| 205 | 212 |
| 206 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ | 213 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ |
| OLD | NEW |