Home
last modified time | relevance | path

Searched refs:shelf_id (Results 1 – 25 of 100) sorted by relevance

1234

/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/ash/launcher/app_service/
H A Dapp_service_app_window_launcher_controller.cc186 ash::ShelfID shelf_id = in OnWindowPropertyChanged() local
188 if (shelf_id.IsNull()) in OnWindowPropertyChanged()
212 if (shelf_id.IsNull()) in OnWindowVisibilityChanged()
469 if (shelf_id.IsNull()) in SetWindowActivated()
538 const ash::ShelfID shelf_id = app_window->shelf_id(); in AddAppWindowToShelf() local
563 const ash::ShelfID shelf_id = app_window->shelf_id(); in RemoveAppWindowFromShelf() local
612 ash::ShelfID shelf_id; in GetShelfId() local
616 if (!shelf_id.IsNull()) in GetShelfId()
617 return shelf_id; in GetShelfId()
627 if (shelf_id.IsNull()) { in GetShelfId()
[all …]
H A Dapp_service_app_window_arc_tracker.cc80 it.second->shelf_id()); in ActiveUserChanged()
219 it_controller->second->shelf_id()); in OnTaskDestroyed()
316 const ash::ShelfID shelf_id = info->shelf_id(); in AttachControllerToWindow() local
346 const ash::ShelfID& shelf_id, in OnItemDelegateDiscarded() argument
349 arc::ArcAppShelfId::FromString(shelf_id.app_id); in OnItemDelegateDiscarded()
365 return it->second->shelf_id(); in GetShelfId()
382 const ash::ShelfID shelf_id(app_shelf_id.ToString()); in AttachControllerToTask() local
385 shelf_id, app_service_controller_); in AttachControllerToTask()
388 if (!app_service_controller_->owner()->GetItem(shelf_id)) { in AttachControllerToTask()
393 shelf_id, std::move(controller)); in AttachControllerToTask()
[all …]
H A Dapp_service_app_window_crostini_tracker.cc216 ash::ShelfID shelf_id = in GetShelfAppId() local
218 if (shelf_id.app_id == crostini::kCrostiniInstallerShelfId || in GetShelfAppId()
219 shelf_id.app_id == crostini::kCrostiniUpgraderShelfId) { in GetShelfAppId()
220 return shelf_id.app_id; in GetShelfAppId()
237 shelf_id = proxy_->InstanceRegistry().GetShelfId(window); in GetShelfAppId()
238 if (shelf_id.app_id != app_id) { in GetShelfAppId()
240 shelf_id.app_id, window, std::string(), in GetShelfAppId()
H A Dapp_service_instance_registry_helper.cc253 const ash::ShelfID& shelf_id, in OnWindowVisibilityChanged() argument
256 if (shelf_id.app_id != extension_misc::kChromeAppId) { in OnWindowVisibilityChanged()
261 auto windows = GetWindows(shelf_id.app_id); in OnWindowVisibilityChanged()
272 UpdateTabWindow(shelf_id.app_id, it); in OnWindowVisibilityChanged()
275 OnInstances(shelf_id.app_id, it, shelf_id.launch_id, state); in OnWindowVisibilityChanged()
299 const ash::ShelfID& shelf_id, in SetWindowActivated() argument
302 if (shelf_id.app_id != extension_misc::kChromeAppId) { in SetWindowActivated()
307 auto windows = GetWindows(shelf_id.app_id); in SetWindowActivated()
315 UpdateTabWindow(shelf_id.app_id, it); in SetWindowActivated()
318 OnInstances(shelf_id.app_id, it, shelf_id.launch_id, state); in SetWindowActivated()
H A Dapp_service_app_window_launcher_item_controller.cc27 const ash::ShelfID& shelf_id, in AppServiceAppWindowLauncherItemController() argument
29 : AppWindowLauncherItemController(shelf_id), controller_(controller) { in AppServiceAppWindowLauncherItemController()
158 ChromeLauncherController::instance()->SetItemTitle(shelf_id(), title); in OnWindowTitleChanged()
180 return proxy->AppRegistryCache().GetAppType(shelf_id().app_id) == in IsChromeApp()
H A Dapp_service_app_window_launcher_controller.h90 void AddWindowToShelf(aura::Window* window, const ash::ShelfID& shelf_id);
118 void RegisterWindow(aura::Window* window, const ash::ShelfID& shelf_id);
140 const ash::ShelfID& shelf_id,
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/public/cpp/
H A Dshelf_model.cc58 const ShelfID shelf_id(app_id); in PinAppWithID() local
61 if (IsAppPinned(shelf_id.app_id)) in PinAppWithID()
65 const int index = ItemIndexByID(shelf_id); in PinAppWithID()
72 } else if (!shelf_id.IsNull()) { in PinAppWithID()
75 item.id = shelf_id; in PinAppWithID()
229 if (active_shelf_id_ == shelf_id) in SetActiveShelfID()
233 active_shelf_id_ = shelf_id; in SetActiveShelfID()
270 if (i->id == shelf_id) in ItemByID()
293 const ShelfID& shelf_id, in SetShelfItemDelegate() argument
313 const ShelfID& shelf_id) const { in GetShelfItemDelegate()
[all …]
H A Dshelf_model.h85 const ShelfID& shelf_id);
129 void SetActiveShelfID(const ShelfID& shelf_id);
148 int ItemIndexByID(const ShelfID& shelf_id) const;
161 ShelfItems::const_iterator ItemByID(const ShelfID& shelf_id) const;
171 void SetShelfItemDelegate(const ShelfID& shelf_id,
175 ShelfItemDelegate* GetShelfItemDelegate(const ShelfID& shelf_id) const;
180 const ShelfID& shelf_id);
H A Dshelf_item_delegate.h40 explicit ShelfItemDelegate(const ShelfID& shelf_id);
43 const ShelfID& shelf_id() const { return shelf_id_; } in shelf_id() function
44 void set_shelf_id(const ShelfID& shelf_id) { shelf_id_ = shelf_id; } in set_shelf_id() argument
H A Dshelf_item_delegate.cc12 ShelfItemDelegate::ShelfItemDelegate(const ShelfID& shelf_id) in ShelfItemDelegate() argument
13 : shelf_id_(shelf_id) {} in ShelfItemDelegate()
/dports/devel/brz/breezy-3.2.0/breezy/
H A Dshelf_ui.py69 def shelved_id(self, shelf_id): argument
217 self.reporter.shelved_id(shelf_id)
396 if shelf_id is not None:
398 shelf_id = int(shelf_id)
400 raise shelf.InvalidShelfId(shelf_id)
402 shelf_id = manager.last_shelf()
403 if shelf_id is None:
450 self.shelf_id = shelf_id
463 self.shelf_id)
478 self.manager.delete_shelf(self.shelf_id)
[all …]
H A Dshelf.py44 def __init__(self, shelf_id): argument
45 errors.BzrError.__init__(self, shelf_id=shelf_id)
391 def get_shelf_filename(self, shelf_id): argument
392 return 'shelf-%d' % shelf_id
424 def read_shelf(self, shelf_id): argument
435 raise NoSuchShelfId(shelf_id)
437 def get_unshelver(self, shelf_id): argument
442 shelf_file = self.read_shelf(shelf_id)
448 def get_metadata(self, shelf_id): argument
450 shelf_file = self.read_shelf(shelf_id)
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/plugin_vm/
H A Dplugin_vm_test_helper.cc42 explicit FakeShelfItemDelegate(const ash::ShelfID& shelf_id) in FakeShelfItemDelegate() argument
43 : ShelfItemDelegate(shelf_id) {} in FakeShelfItemDelegate()
157 ash::ShelfID shelf_id(kPluginVmShelfAppId); in OpenShelfItem() local
159 std::make_unique<FakeShelfItemDelegate>(shelf_id); in OpenShelfItem()
164 if (laucher_controller->GetItem(shelf_id)) { in OpenShelfItem()
166 shelf_id, std::move(delegate)); in OpenShelfItem()
167 laucher_controller->SetItemStatus(shelf_id, ash::STATUS_RUNNING); in OpenShelfItem()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/ash/launcher/
H A Dchrome_launcher_controller.cc433 const ash::ShelfID shelf_id(app_id); in ActivateApp() local
449 const ash::ShelfID& shelf_id, in SetLauncherItemImage() argument
490 SetItemStatusOrRemove(shelf_id, GetAppState(shelf_id.app_id)); in UpdateAppState()
791 ash::ShelfID shelf_id(app_id); in PinnedItemIndexByAppID() local
892 ash::ShelfID shelf_id(app_id); in OnAppUninstalledPrepared() local
893 if (GetItem(shelf_id)) in OnAppUninstalledPrepared()
900 UnpinShelfItemInternal(shelf_id); in OnAppUninstalledPrepared()
927 const ash::ShelfID& shelf_id, in CreateAppShortcutLauncherItem() argument
933 const ash::ShelfID& shelf_id, in CreateAppShortcutLauncherItem() argument
981 const ash::ShelfID& shelf_id) { in PinRunningAppInternal() argument
[all …]
H A Dapp_window_base.h34 AppWindowBase(const ash::ShelfID& shelf_id, views::Widget* widget);
42 const ash::ShelfID& shelf_id() const { return shelf_id_; } in shelf_id() function
44 void set_shelf_id(const ash::ShelfID& shelf_id) { shelf_id_ = shelf_id; } in set_shelf_id() argument
H A Dsettings_window_observer.cc51 const ash::ShelfID shelf_id(ash::kInternalAppIdSettings); in OnNewSettingsWindow() local
52 window->SetProperty(ash::kShelfIDKey, shelf_id.Serialize()); in OnNewSettingsWindow()
53 window->SetProperty(ash::kAppIDKey, shelf_id.app_id); in OnNewSettingsWindow()
H A Dshelf_spinner_controller.cc193 const ash::ShelfID shelf_id(app_id); in HideSpinner() local
203 owner_->shelf_model()->RemoveItemAndTakeShelfItemDelegate(shelf_id); in HideSpinner()
225 const ash::ShelfID shelf_id(app_id); in RemoveSpinnerFromControllerMap() local
229 : owner_->shelf_model()->GetShelfItemDelegate(shelf_id)); in RemoveSpinnerFromControllerMap()
341 const ash::ShelfID shelf_id(app_id); in AddSpinnerToShelf() local
344 const ash::ShelfItem* item = owner_->GetItem(shelf_id); in AddSpinnerToShelf()
353 owner_->shelf_model()->SetShelfItemDelegate(shelf_id, in AddSpinnerToShelf()
355 owner_->SetItemStatus(shelf_id, ash::STATUS_RUNNING); in AddSpinnerToShelf()
H A Dapp_window_launcher_item_controller.cc63 const ash::ShelfID& shelf_id) in AppWindowLauncherItemController() argument
64 : ash::ShelfItemDelegate(shelf_id) {} in AppWindowLauncherItemController()
214 const ash::ShelfItem* item = controller->GetItem(shelf_id()); in GetContextMenu()
247 ChromeLauncherController::instance()->SetItemStatus(shelf_id(), status); in OnWindowPropertyChanged()
277 ChromeLauncherController::instance()->SetLauncherItemImage(shelf_id(), in UpdateShelfItemIcon()
282 shelf_id().app_id); in UpdateShelfItemIcon()
H A Dshelf_context_menu_unittest.cc301 const ash::ShelfID shelf_id(app_id); in TEST_F() local
306 model()->GetShelfItemDelegate(shelf_id); in TEST_F()
329 item_delegate = model()->GetShelfItemDelegate(shelf_id); in TEST_F()
438 const ash::ShelfID shelf_id(app_id); in TEST_F() local
442 model()->GetShelfItemDelegate(shelf_id); in TEST_F()
528 const ash::ShelfID shelf_id(app_id); in TEST_F() local
534 model()->GetShelfItemDelegate(shelf_id); in TEST_F()
553 const ash::ShelfID shelf_id(app_id); in TEST_F() local
561 model()->GetShelfItemDelegate(shelf_id); in TEST_F()
582 const ash::ShelfID shelf_id(app_id); in TEST_F() local
[all …]
H A Dapp_shortcut_launcher_item_controller.cc249 AppShortcutLauncherItemController::Create(const ash::ShelfID& shelf_id) { in Create() argument
250 if (shelf_id.app_id == arc::kPlayStoreAppId) in Create()
253 new AppShortcutLauncherItemController(shelf_id)); in Create()
257 const ash::ShelfID& shelf_id) in AppShortcutLauncherItemController() argument
258 : ash::ShelfItemDelegate(shelf_id) { in AppShortcutLauncherItemController()
264 shelf_id.app_id, ChromeLauncherController::instance()->profile()); in AppShortcutLauncherItemController()
309 ash::ShelfID(shelf_id()), source, ui::EF_NONE, display_id); in ItemSelected()
371 const ash::ShelfItem* item = controller->GetItem(shelf_id()); in GetContextMenu()
/dports/net-mgmt/observium/observium/includes/discovery/sensors/
H A Dcyan-tengport-mib.inc.php71 list($shelf_id, $mod_id, $xcvr_id, $port_id) = explode(".", $index);
73 $descr = "Transceiver ".$shelf_id."-".$mod_id."-".$xcvr_id." (".$port_id.")";
74 $xcvr_string = $shelf_id."-".$mod_id."-".$xcvr_id;
H A Dcyan-geport-mib.inc.php69 list($shelf_id, $mod_id, $xcvr_id, $port_id) = explode(".", $index);
71 $descr = "Transceiver ".$shelf_id."-".$mod_id."-".$xcvr_id." (".$port_id.")";
72 $xcvr_string = $shelf_id."-".$mod_id."-".$xcvr_id;
/dports/devel/brz/breezy-3.2.0/breezy/tests/
H A Dtest_shelf.py629 shelf_id, shelf_file = manager.new_shelf()
708 shelf_id, shelf_file = manager.new_shelf()
710 self.assertEqual(1, shelf_id)
711 shelf_id, shelf_file = manager.new_shelf()
713 self.assertEqual(2, shelf_id)
715 shelf_id, shelf_file = manager.new_shelf()
717 self.assertEqual(3, shelf_id)
722 shelf_id, shelf_file = manager.new_shelf()
728 shelf_id, shelf_file = manager.new_shelf()
737 shelf_id, shelf_file = manager.new_shelf()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/ash/
H A Dchrome_launcher_prefs.h55 void RemovePinPosition(Profile* profile, const ash::ShelfID& shelf_id);
63 const ash::ShelfID& shelf_id,
H A Dchrome_launcher_prefs.cc639 void RemovePinPosition(Profile* profile, const ash::ShelfID& shelf_id) { in RemovePinPosition() argument
642 const std::string& app_id = shelf_id.app_id; in RemovePinPosition()
643 if (!shelf_id.launch_id.empty()) { in RemovePinPosition()
645 << "' with non-empty launch id '" << shelf_id.launch_id in RemovePinPosition()
657 const ash::ShelfID& shelf_id, in SetPinPosition() argument
662 const std::string& app_id = shelf_id.app_id; in SetPinPosition()
663 if (!shelf_id.launch_id.empty()) { in SetPinPosition()
665 << "' with non-empty launch id '" << shelf_id.launch_id in SetPinPosition()

1234