Searched refs:ShelfID (Results 1 - 25 of 36) sorted by relevance

12

/external/chromium_org/ash/shelf/
H A Dshelf_item_delegate_manager.h35 void SetShelfItemDelegate(ShelfID id,
39 ShelfItemDelegate* GetShelfItemDelegate(ShelfID id);
43 virtual void ShelfItemRemoved(int index, ShelfID id) OVERRIDE;
52 typedef std::map<ShelfID, ShelfItemDelegate*> ShelfIDToItemDelegateMap;
55 void RemoveShelfItemDelegate(ShelfID id);
H A Dshelf_util.h19 extern const aura::WindowProperty<ShelfID>* const kShelfID;
27 ASH_EXPORT void SetShelfIDForWindow(ShelfID id, aura::Window* window);
31 // Note: Window of a tabbed browser will return the |ShelfID| of the
33 ASH_EXPORT ShelfID GetShelfIDForWindow(const aura::Window* window);
H A Dshelf_model.h48 int ItemIndexByID(ShelfID id) const;
65 ShelfID next_id() const { return next_id_; }
68 ShelfID reserve_external_id() { return next_id_++; }
72 ShelfItems::const_iterator ItemByID(ShelfID id) const;
90 ShelfID next_id_;
H A Dshelf_delegate.h29 virtual ShelfID GetShelfIDForAppID(const std::string& app_id) = 0;
32 virtual const std::string& GetAppIDForShelfID(ShelfID id) = 0;
H A Dshelf_item_types.h16 typedef int ShelfID; typedef in namespace:ash
67 ShelfID id;
H A Dshelf_item_delegate_manager.cc28 ShelfID id,
37 ShelfItemDelegate* ShelfItemDelegateManager::GetShelfItemDelegate(ShelfID id) {
49 void ShelfItemDelegateManager::ShelfItemRemoved(int index, ShelfID id) {
64 void ShelfItemDelegateManager::RemoveShelfItemDelegate(ShelfID id) {
H A Dshelf_model_observer.h22 virtual void ShelfItemRemoved(int index, ShelfID id) = 0;
H A Dshelf_util.cc10 DECLARE_WINDOW_PROPERTY_TYPE(ash::ShelfID); variable
15 DEFINE_WINDOW_PROPERTY_KEY(ShelfID, kShelfID, kInvalidShelfID);
23 void SetShelfIDForWindow(ShelfID id, aura::Window* window) {
30 ShelfID GetShelfIDForWindow(const aura::Window* window) {
H A Dshelf_window_watcher_unittest.cc40 ShelfID CreateShelfItem(aura::Window* window) {
41 ShelfID id = model_->next_id();
63 ShelfID id_w1 = CreateShelfItem(w1.get());
70 ShelfID id_w2 = CreateShelfItem(w2.get());
94 ShelfID id_w1 = CreateShelfItem(w1.get());
100 ShelfID id_w2 = CreateShelfItem(w2.get());
123 ShelfID id = CreateShelfItem(window.get());
149 ShelfID id = CreateShelfItem(window.get());
184 ShelfID id = CreateShelfItem(window.get());
220 ShelfID i
[all...]
H A Dshelf_view_unittest.cc240 virtual ShelfID GetShelfIDForAppID(const std::string& app_id) OVERRIDE {
241 ShelfID id = 0;
246 virtual const std::string& GetAppIDForShelfID(ShelfID id) OVERRIDE {
267 ShelfID id = 0;
317 void CreateAndSetShelfItemDelegateForID(ShelfID id) {
322 ShelfID AddBrowserShortcut() {
326 ShelfID id = model_->next_id();
333 ShelfID AddAppShortcut() {
338 ShelfID id = model_->next_id();
345 ShelfID AddPane
[all...]
H A Dshelf_model_unittest.cc46 virtual void ShelfItemRemoved(int index, ShelfID id) OVERRIDE {
117 ShelfID original_id = model_->items()[index].id;
153 std::set<ShelfID> ids;
308 ShelfID id = model_->next_id();
318 ShelfID id2 = model_->next_id();
H A Dshelf_view.h82 gfx::Rect GetIdealBoundsOfItemIcon(ShelfID id);
85 void UpdatePanelIconPosition(ShelfID id, const gfx::Point& midpoint);
258 virtual void ShelfItemRemoved(int model_index, ShelfID id) OVERRIDE;
368 ShelfID context_menu_id_;
406 ShelfID drag_and_drop_shelf_id_;
/external/chromium_org/chrome/browser/ui/ash/launcher/
H A Dchrome_launcher_controller.h151 ash::ShelfID CreateAppLauncherItem(LauncherItemController* controller,
157 void SetItemStatus(ash::ShelfID id, ash::ShelfItemStatus status);
161 void SetItemController(ash::ShelfID id, LauncherItemController* controller);
164 void CloseLauncherItem(ash::ShelfID id);
167 void Pin(ash::ShelfID id);
170 void Unpin(ash::ShelfID id);
173 bool IsPinned(ash::ShelfID id);
176 void TogglePinned(ash::ShelfID id);
180 bool IsPinnable(ash::ShelfID id) const;
184 void Install(ash::ShelfID i
[all...]
H A Dlauncher_item_controller.h47 ash::ShelfID shelf_id() const { return shelf_id_; }
48 void set_shelf_id(ash::ShelfID id) { shelf_id_ = id; }
96 ash::ShelfID shelf_id_;
H A Dchrome_launcher_controller.cc464 ash::ShelfID ChromeLauncherController::CreateAppLauncherItem(
480 void ChromeLauncherController::SetItemStatus(ash::ShelfID id,
494 ash::ShelfID id,
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 i
[all...]
H A Dchrome_launcher_controller_browsertest.cc128 ash::ShelfID CreateAppShortcutLauncherItem(const std::string& name) {
145 LauncherItemController* GetItemController(ash::ShelfID id) {
228 ash::ShelfID CreateShortcut(const char* name) {
240 ash::ShelfID shortcut_id = controller_->CreateAppShortcutLauncherItem(
250 void RemoveShortcut(ash::ShelfID id) {
259 ash::ShelfID PinFakeApp(const std::string& name) {
367 ash::ShelfID shortcut_id = CreateAppShortcutLauncherItem(app_id);
398 ash::ShelfID id = item1.id;
403 ash::ShelfID foo_id = CreateAppShortcutLauncherItem("foo");
417 ash::ShelfID bar_i
[all...]
H A Dlauncher_context_menu.h53 ash::ShelfID id() const { return item_.id; }
/external/chromium_org/ash/shell/
H A Dshelf_delegate_impl.cc30 ShelfID ShelfDelegateImpl::GetShelfIDForAppID(const std::string& app_id) {
34 const std::string& ShelfDelegateImpl::GetAppIDForShelfID(ShelfID id) {
H A Dshelf_delegate_impl.h30 virtual ShelfID GetShelfIDForAppID(const std::string& app_id) OVERRIDE;
31 virtual const std::string& GetAppIDForShelfID(ShelfID id) OVERRIDE;
H A Dwindow_watcher.h34 aura::Window* GetWindowByID(ash::ShelfID id);
49 typedef std::map<ash::ShelfID, aura::Window*> IDToWindow;
H A Dwindow_watcher_shelf_item_delegate.h21 WindowWatcherShelfItemDelegate(ShelfID id, WindowWatcher* watcher);
34 ShelfID id_;
H A Dwindow_watcher_shelf_item_delegate.cc15 ShelfID id,
H A Dwindow_watcher.cc87 aura::Window* WindowWatcher::GetWindowByID(ash::ShelfID id) {
104 ash::ShelfID id = model->next_id();
/external/chromium_org/ash/test/
H A Dtest_shelf_delegate.cc43 ShelfID id = model_->next_id();
57 ShelfID id = GetShelfIDForWindow(window);
85 ShelfID TestShelfDelegate::GetShelfIDForAppID(const std::string& app_id) {
89 const std::string& TestShelfDelegate::GetAppIDForShelfID(ShelfID id) {
H A Dtest_shelf_delegate.h42 virtual ShelfID GetShelfIDForAppID(const std::string& app_id) OVERRIDE;
43 virtual const std::string& GetAppIDForShelfID(ShelfID id) OVERRIDE;

Completed in 140 milliseconds

12