Lines Matching defs:ChromeLauncherController
105 ChromeLauncherController* ChromeLauncherController::instance_ = NULL;
233 ChromeLauncherController* controller)
260 // The owning ChromeLauncherController.
261 ChromeLauncherController* controller_;
315 ChromeLauncherController::ChromeLauncherController(Profile* profile,
393 ChromeLauncherController::~ChromeLauncherController() {
431 ChromeLauncherController* ChromeLauncherController::CreateInstance(
434 // We do not check here for re-creation of the ChromeLauncherController since
435 // it appears that it might be intentional that the ChromeLauncherController
437 instance_ = new ChromeLauncherController(profile, model);
441 void ChromeLauncherController::Init() {
464 ash::ShelfID ChromeLauncherController::CreateAppLauncherItem(
480 void ChromeLauncherController::SetItemStatus(ash::ShelfID id,
493 void ChromeLauncherController::SetItemController(
505 void ChromeLauncherController::CloseLauncherItem(ash::ShelfID id) {
522 void ChromeLauncherController::Pin(ash::ShelfID id) {
542 void ChromeLauncherController::Unpin(ash::ShelfID id) {
556 bool ChromeLauncherController::IsPinned(ash::ShelfID id) {
564 void ChromeLauncherController::TogglePinned(ash::ShelfID id) {
574 bool ChromeLauncherController::IsPinnable(ash::ShelfID id) const {
586 void ChromeLauncherController::Install(ash::ShelfID id) {
602 bool ChromeLauncherController::CanInstall(ash::ShelfID id) {
614 void ChromeLauncherController::LockV1AppWithID(
627 void ChromeLauncherController::UnlockV1AppWithID(const std::string& app_id) {
637 void ChromeLauncherController::Launch(ash::ShelfID id, int event_flags) {
643 void ChromeLauncherController::Close(ash::ShelfID id) {
649 bool ChromeLauncherController::IsOpen(ash::ShelfID id) {
655 bool ChromeLauncherController::IsPlatformApp(ash::ShelfID id) {
666 void ChromeLauncherController::LaunchApp(const std::string& app_id,
709 void ChromeLauncherController::ActivateApp(const std::string& app_id,
730 extensions::LaunchType ChromeLauncherController::GetLaunchType(
745 ash::ShelfID ChromeLauncherController::GetShelfIDForAppID(
758 const std::string& ChromeLauncherController::GetAppIDForShelfID(
764 void ChromeLauncherController::SetAppImage(const std::string& id,
785 void ChromeLauncherController::OnAutoHideBehaviorChanged(
791 void ChromeLauncherController::SetLauncherItemImage(
802 bool ChromeLauncherController::CanPin() const {
808 bool ChromeLauncherController::IsAppPinned(const std::string& app_id) {
818 bool ChromeLauncherController::IsWindowedAppInLauncher(
828 void ChromeLauncherController::PinAppWithID(const std::string& app_id) {
835 void ChromeLauncherController::SetLaunchType(
846 void ChromeLauncherController::UnpinAppWithID(const std::string& app_id) {
853 bool ChromeLauncherController::IsLoggedInAsGuest() {
857 void ChromeLauncherController::CreateNewWindow() {
862 void ChromeLauncherController::CreateNewIncognitoWindow() {
868 void ChromeLauncherController::PersistPinnedState() {
906 base::Bind(&ChromeLauncherController::UpdateAppLaunchersFromPref,
910 ash::ShelfModel* ChromeLauncherController::model() {
914 Profile* ChromeLauncherController::profile() {
918 ash::ShelfAutoHideBehavior ChromeLauncherController::GetShelfAutoHideBehavior(
940 bool ChromeLauncherController::CanUserModifyShelfAutoHideBehavior(
946 void ChromeLauncherController::ToggleShelfAutoHideBehavior(
956 void ChromeLauncherController::UpdateAppState(content::WebContents* contents,
993 ash::ShelfID ChromeLauncherController::GetShelfIDForWebContents(
1012 void ChromeLauncherController::SetRefocusURLPatternForTest(ash::ShelfID id,
1033 const Extension* ChromeLauncherController::GetExtensionForAppID(
1040 void ChromeLauncherController::ActivateWindowOrMinimizeIfActive(
1075 void ChromeLauncherController::OnShelfCreated(ash::Shelf* shelf) {
1080 void ChromeLauncherController::OnShelfDestroyed(ash::Shelf* shelf) {
1086 void ChromeLauncherController::ShelfItemAdded(int index) {
1094 void ChromeLauncherController::ShelfItemRemoved(int index, ash::ShelfID id) {
1097 void ChromeLauncherController::ShelfItemMoved(int start_index,
1107 void ChromeLauncherController::ShelfItemChanged(
1112 void ChromeLauncherController::ShelfStatusChanged() {
1115 void ChromeLauncherController::ActiveUserChanged(
1147 void ChromeLauncherController::AdditionalUserAddedToSession(Profile* profile) {
1152 void ChromeLauncherController::Observe(
1195 void ChromeLauncherController::OnShelfAlignmentChanged(
1222 void ChromeLauncherController::OnDisplayConfigurationChanged() {
1226 void ChromeLauncherController::OnIsSyncingChanged() {
1236 void ChromeLauncherController::OnAppSyncUIStatusChanged() {
1243 void ChromeLauncherController::ExtensionEnableFlowFinished() {
1250 void ChromeLauncherController::ExtensionEnableFlowAborted(bool user_initiated) {
1254 ChromeLauncherAppMenuItems ChromeLauncherController::GetApplicationList(
1267 ChromeLauncherController::GetV1ApplicationsFromAppId(std::string app_id) {
1280 void ChromeLauncherController::ActivateShellApp(const std::string& app_id,
1293 bool ChromeLauncherController::IsWebContentHandledByApplication(
1303 bool ChromeLauncherController::ContentCanBeHandledByGmailApp(
1320 gfx::Image ChromeLauncherController::GetAppListIcon(
1333 base::string16 ChromeLauncherController::GetAppListTitle(
1349 ash::ShelfID ChromeLauncherController::CreateAppShortcutLauncherItem(
1357 void ChromeLauncherController::SetAppTabHelperForTest(AppTabHelper* helper) {
1361 void ChromeLauncherController::SetAppIconLoaderForTest(
1366 const std::string& ChromeLauncherController::GetAppIdFromShelfIdForTest(
1371 void ChromeLauncherController::SetShelfItemDelegateManagerForTest(
1376 void ChromeLauncherController::RememberUnpinnedRunningApplicationOrder() {
1387 void ChromeLauncherController::RestoreUnpinnedRunningApplicationOrder(
1412 ash::ShelfID ChromeLauncherController::CreateAppShortcutLauncherItemWithType(
1423 LauncherItemController* ChromeLauncherController::GetLauncherItemController(
1430 bool ChromeLauncherController::IsBrowserFromActiveUser(Browser* browser) {
1439 void ChromeLauncherController::LauncherItemClosed(ash::ShelfID id) {
1452 void ChromeLauncherController::DoPinAppWithID(const std::string& app_id) {
1469 void ChromeLauncherController::DoUnpinAppWithID(const std::string& app_id) {
1475 int ChromeLauncherController::PinRunningAppInternal(int index,
1493 void ChromeLauncherController::UnpinRunningAppInternal(int index) {
1507 void ChromeLauncherController::UpdateAppLaunchersFromPref() {
1651 void ChromeLauncherController::SetShelfAutoHideBehaviorPrefs(
1679 void ChromeLauncherController::SetShelfAutoHideBehaviorFromPrefs() {
1689 void ChromeLauncherController::SetShelfAlignmentFromPrefs() {
1714 ChromeLauncherController::SetShelfBehaviorsFromPrefs() {
1720 void ChromeLauncherController::SetVirtualKeyboardBehaviorFromPrefs() {
1734 ash::ShelfItemStatus ChromeLauncherController::GetAppState(
1758 ash::ShelfID ChromeLauncherController::InsertAppLauncherItem(
1789 bool ChromeLauncherController::HasItemController(ash::ShelfID id) const {
1795 ChromeLauncherController::GetV1ApplicationsFromController(
1804 ChromeLauncherController::GetBrowserShortcutLauncherItemController() {
1820 ash::ShelfID ChromeLauncherController::CreateBrowserShortcutLauncherItem() {
1836 void ChromeLauncherController::PersistChromeItemIndex(int index) {
1840 int ChromeLauncherController::GetChromeIconIndexFromPref() const {
1848 void ChromeLauncherController::MoveChromeOrApplistToFinalPosition(
1871 int ChromeLauncherController::FindInsertionPoint(bool is_app_list) {
1890 int ChromeLauncherController::GetChromeIconIndexForCreation() {
1911 ChromeLauncherController::GetListOfPinnedAppsAndBrowser() {
1977 bool ChromeLauncherController::IsIncognito(
1984 void ChromeLauncherController::CloseWindowedAppsFromRemovedExtension(
2010 void ChromeLauncherController::SetShelfItemDelegate(
2020 void ChromeLauncherController::AttachProfile(Profile* profile) {
2039 base::Bind(&ChromeLauncherController::UpdateAppLaunchersFromPref,
2043 base::Bind(&ChromeLauncherController::SetShelfAlignmentFromPrefs,
2047 base::Bind(&ChromeLauncherController::
2052 base::Bind(&ChromeLauncherController::SetShelfBehaviorsFromPrefs,
2057 base::Bind(&ChromeLauncherController::SetVirtualKeyboardBehaviorFromPrefs,
2062 void ChromeLauncherController::ReleaseProfile() {