Lines Matching refs:item_

43       item_(*item),
55 item_(ash::LauncherItem()),
72 if (item_.type == ash::TYPE_APP_SHORTCUT ||
73 item_.type == ash::TYPE_WINDOWED_APP) {
75 if (!controller_->IsPlatformApp(item_.id)) {
81 l10n_util::GetStringUTF16(controller_->IsPinned(item_.id) ?
84 if (controller_->IsOpen(item_.id)) {
88 if (!controller_->IsPlatformApp(item_.id) &&
89 item_.type != ash::TYPE_WINDOWED_APP) {
116 } else if (item_.type == ash::TYPE_BROWSER_SHORTCUT) {
124 if (item_.type == ash::TYPE_PLATFORM_APP) {
129 if (controller_->IsOpen(item_.id)) {
135 if (item_.type == ash::TYPE_APP_SHORTCUT ||
136 item_.type == ash::TYPE_WINDOWED_APP ||
137 item_.type == ash::TYPE_PLATFORM_APP) {
138 std::string app_id = controller_->GetAppIDForLauncherID(item_.id);
175 if (item_.type == ash::TYPE_PLATFORM_APP) {
178 switch (controller_->GetLaunchType(item_.id)) {
194 return controller_->GetLaunchType(item_.id) ==
197 return controller_->GetLaunchType(item_.id) ==
200 return controller_->GetLaunchType(item_.id) ==
203 return controller_->GetLaunchType(item_.id) ==
216 return controller_->IsPinnable(item_.id);
246 controller_->Launch(item_.id, ui::EF_NONE);
249 controller_->Close(item_.id);
254 controller_->TogglePinned(item_.id);
257 controller_->SetLaunchType(item_.id, extensions::LAUNCH_TYPE_PINNED);
266 launch_type = controller_->GetLaunchType(item_.id) ==
271 controller_->SetLaunchType(item_.id, launch_type);
275 controller_->SetLaunchType(item_.id, extensions::LAUNCH_TYPE_WINDOW);
278 controller_->SetLaunchType(item_.id, extensions::LAUNCH_TYPE_FULLSCREEN);