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 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 | 248 |
249 // User clicked [+] icon in apps page. | 249 // User clicked [+] icon in apps page. |
250 APP_LAUNCH_NTP_WEBSTORE_PLUS_ICON, | 250 APP_LAUNCH_NTP_WEBSTORE_PLUS_ICON, |
251 | 251 |
252 // User clicked icon in app launcher main view. | 252 // User clicked icon in app launcher main view. |
253 APP_LAUNCH_APP_LIST_MAIN, | 253 APP_LAUNCH_APP_LIST_MAIN, |
254 | 254 |
255 // User clicked app launcher search result. | 255 // User clicked app launcher search result. |
256 APP_LAUNCH_APP_LIST_SEARCH, | 256 APP_LAUNCH_APP_LIST_SEARCH, |
257 | 257 |
| 258 // User clicked the chrome app icon from the app launcher's main view. |
| 259 APP_LAUNCH_APP_LIST_MAIN_CHROME, |
| 260 |
| 261 // User clicked the webstore icon from the app launcher's main view. |
| 262 APP_LAUNCH_APP_LIST_MAIN_WEBSTORE, |
| 263 |
| 264 // User clicked the chrome app icon from the app launcher's search view. |
| 265 APP_LAUNCH_APP_LIST_SEARCH_CHROME, |
| 266 |
| 267 // User clicked the webstore icon from the app launcher's search view. |
| 268 APP_LAUNCH_APP_LIST_SEARCH_WEBSTORE, |
| 269 |
258 APP_LAUNCH_BUCKET_BOUNDARY, | 270 APP_LAUNCH_BUCKET_BOUNDARY, |
259 APP_LAUNCH_BUCKET_INVALID | 271 APP_LAUNCH_BUCKET_INVALID |
260 }; | 272 }; |
261 | 273 |
262 #if defined(OS_CHROMEOS) | 274 #if defined(OS_CHROMEOS) |
263 // Path to preinstalled ChromeVox screen reader extension. | 275 // Path to preinstalled ChromeVox screen reader extension. |
264 extern const char kChromeVoxExtensionPath[]; | 276 extern const char kChromeVoxExtensionPath[]; |
265 // Path to preinstalled speech synthesis extension. | 277 // Path to preinstalled speech synthesis extension. |
266 extern const char kSpeechSynthesisExtensionPath[]; | 278 extern const char kSpeechSynthesisExtensionPath[]; |
267 // The extension id of the speech synthesis extension. | 279 // The extension id of the speech synthesis extension. |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 // List of sizes for extension icons that can be defined in the manifest. | 334 // List of sizes for extension icons that can be defined in the manifest. |
323 extern const int kExtensionActionIconSizes[]; | 335 extern const int kExtensionActionIconSizes[]; |
324 extern const size_t kNumExtensionActionIconSizes; | 336 extern const size_t kNumExtensionActionIconSizes; |
325 | 337 |
326 // List of sizes for extension icons that can be defined in the manifest. | 338 // List of sizes for extension icons that can be defined in the manifest. |
327 extern const int kScriptBadgeIconSizes[]; | 339 extern const int kScriptBadgeIconSizes[]; |
328 extern const size_t kNumScriptBadgeIconSizes; | 340 extern const size_t kNumScriptBadgeIconSizes; |
329 } // namespace extension_misc | 341 } // namespace extension_misc |
330 | 342 |
331 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 343 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
OLD | NEW |