OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 | 10 |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 | 340 |
341 // Nvigated to an app from within a web page (like by clicking a link). | 341 // Nvigated to an app from within a web page (like by clicking a link). |
342 APP_LAUNCH_CONTENT_NAVIGATION, | 342 APP_LAUNCH_CONTENT_NAVIGATION, |
343 | 343 |
344 // Launch from session restore. | 344 // Launch from session restore. |
345 APP_LAUNCH_SESSION_RESTORE, | 345 APP_LAUNCH_SESSION_RESTORE, |
346 | 346 |
347 // Autolaunched at startup, like for pinned tabs. | 347 // Autolaunched at startup, like for pinned tabs. |
348 APP_LAUNCH_AUTOLAUNCH, | 348 APP_LAUNCH_AUTOLAUNCH, |
349 | 349 |
350 // Launched from omnibox app links (not implemented yet). | 350 // Launched from omnibox app links. |
351 APP_LAUNCH_OMNIBOX_APP, | 351 APP_LAUNCH_OMNIBOX_APP, |
352 | 352 |
353 // App URL typed directly into the omnibox (w/ instant turned off). | 353 // App URL typed directly into the omnibox (w/ instant turned off). |
354 APP_LAUNCH_OMNIBOX_LOCATION, | 354 APP_LAUNCH_OMNIBOX_LOCATION, |
355 | 355 |
356 // Navigate to an app URL via instant. | 356 // Navigate to an app URL via instant. |
357 APP_LAUNCH_OMNIBOX_INSTANT, | 357 APP_LAUNCH_OMNIBOX_INSTANT, |
358 | 358 |
359 // Launch via chrome.management.launchApp. | 359 // Launch via chrome.management.launchApp. |
360 APP_LAUNCH_EXTENSION_API, | 360 APP_LAUNCH_EXTENSION_API, |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 INSTALL_CAUSE_UNSET = 0, | 392 INSTALL_CAUSE_UNSET = 0, |
393 INSTALL_CAUSE_USER_DOWNLOAD, | 393 INSTALL_CAUSE_USER_DOWNLOAD, |
394 INSTALL_CAUSE_UPDATE, | 394 INSTALL_CAUSE_UPDATE, |
395 INSTALL_CAUSE_EXTERNAL_FILE, | 395 INSTALL_CAUSE_EXTERNAL_FILE, |
396 INSTALL_CAUSE_AUTOMATION, | 396 INSTALL_CAUSE_AUTOMATION, |
397 NUM_INSTALL_CAUSES | 397 NUM_INSTALL_CAUSES |
398 }; | 398 }; |
399 } // extension_misc | 399 } // extension_misc |
400 | 400 |
401 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 401 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
OLD | NEW |