/external/chromium_org/chrome/browser/download/ |
D | download_shelf_unittest.cc | 47 TestDownloadShelf* shelf() { in shelf() function in __anon5a0328580111::DownloadShelfTest 105 shelf()->Show(); in TEST_F() 106 EXPECT_TRUE(shelf()->IsShowing()); in TEST_F() 107 shelf()->Hide(); in TEST_F() 108 EXPECT_FALSE(shelf()->IsShowing()); in TEST_F() 109 shelf()->Unhide(); in TEST_F() 110 EXPECT_TRUE(shelf()->IsShowing()); in TEST_F() 114 shelf()->Show(); in TEST_F() 115 shelf()->Hide(); in TEST_F() 116 shelf()->Close(DownloadShelf::AUTOMATIC); in TEST_F() [all …]
|
/external/chromium_org/ash/shelf/ |
D | shelf_layout_manager_unittest.cc | 62 return Shell::GetPrimaryRootWindowController()->shelf(); in GetShelfWidget() 336 void SetState(ShelfLayoutManager* shelf, in SetState() argument 338 shelf->SetState(state); in SetState() 385 ShelfLayoutManager* shelf = GetShelfLayoutManager(); in RunGestureDragTests() local 386 shelf->SetAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_NEVER); in RunGestureDragTests() 396 shelf->LayoutShelf(); in RunGestureDragTests() 400 EXPECT_EQ(SHELF_VISIBLE, shelf->visibility_state()); in RunGestureDragTests() 402 shelf->SetAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS); in RunGestureDragTests() 403 shelf->LayoutShelf(); in RunGestureDragTests() 404 EXPECT_EQ(SHELF_AUTO_HIDE_HIDDEN, shelf->auto_hide_state()); in RunGestureDragTests() [all …]
|
D | shelf_widget_unittest.cc | 166 ShelfWidget* shelf = NULL; in TEST_F() local 172 if (!(*i)->shelf()->launcher()) { in TEST_F() 173 shelf = (*i)->shelf(); in TEST_F() 177 ASSERT_TRUE(shelf != NULL); in TEST_F() 182 Launcher* launcher = shelf->launcher(); in TEST_F() 186 shelf->status_area_widget()->GetWindowBoundsInScreen().width(); in TEST_F() 189 shelf->GetContentsView()->width() - in TEST_F()
|
D | shelf_tooltip_manager_unittest.cc | 49 LauncherTestAPI(controller->shelf()->launcher()).shelf_view())); in SetUp() 160 internal::ShelfLayoutManager* shelf = in TEST_F() local 162 shelf->SetAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS); in TEST_F() 163 shelf->UpdateAutoHideState(); in TEST_F() 164 ASSERT_EQ(SHELF_AUTO_HIDE_HIDDEN, shelf->auto_hide_state()); in TEST_F()
|
D | shelf_bezel_event_filter.cc | 16 ShelfLayoutManager* shelf) in ShelfBezelEventFilter() argument 17 : shelf_(shelf), in ShelfBezelEventFilter()
|
D | shelf_layout_manager.cc | 113 explicit AutoHideEventFilter(ShelfLayoutManager* shelf); 131 ShelfLayoutManager* shelf) in AutoHideEventFilter() argument 132 : shelf_(shelf), in AutoHideEventFilter() 169 explicit UpdateShelfObserver(ShelfLayoutManager* shelf) : shelf_(shelf) { in UpdateShelfObserver() argument 197 ShelfLayoutManager::ShelfLayoutManager(ShelfWidget* shelf) in ShelfLayoutManager() argument 198 : root_window_(shelf->GetNativeView()->GetRootWindow()), in ShelfLayoutManager() 202 shelf_(shelf), in ShelfLayoutManager() 553 ShelfWidget* shelf = RootWindowController::ForLauncher(window)->shelf(); in ForLauncher() local 554 return shelf ? shelf->shelf_layout_manager() : NULL; in ForLauncher()
|
/external/chromium_org/chrome/browser/ui/ash/ |
D | shelf_browsertest.cc | 19 ash::internal::ShelfLayoutManager* shelf = in IN_PROC_BROWSER_TEST_F() local 22 EXPECT_TRUE(shelf->IsVisible()); in IN_PROC_BROWSER_TEST_F() 30 shelf->GetIdealBounds().y() - old_bounds.y()); in IN_PROC_BROWSER_TEST_F() 32 EXPECT_FALSE(shelf->window_overlaps_shelf()); in IN_PROC_BROWSER_TEST_F() 37 shelf->UpdateVisibilityState(); in IN_PROC_BROWSER_TEST_F() 40 EXPECT_FALSE(shelf->window_overlaps_shelf()); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/ash/system/web_notification/ |
D | web_notification_tray_unittest.cc | 44 return Shell::GetPrimaryRootWindowController()->shelf()-> in GetTray() 55 return controllers[i]->shelf()-> in GetSecondaryTray() 68 return Shell::GetPrimaryRootWindowController()->shelf()-> in GetSystemTray() 373 internal::ShelfLayoutManager* shelf = in TEST_F() local 375 shelf->SetAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS); in TEST_F() 377 EXPECT_EQ(SHELF_AUTO_HIDE_HIDDEN, shelf->auto_hide_state()); in TEST_F() 383 EXPECT_EQ(SHELF_AUTO_HIDE_SHOWN, shelf->auto_hide_state()); in TEST_F() 393 EXPECT_EQ(SHELF_AUTO_HIDE_SHOWN, shelf->auto_hide_state()); in TEST_F() 401 EXPECT_EQ(SHELF_AUTO_HIDE_SHOWN, shelf->auto_hide_state()); in TEST_F() 408 shelf->UpdateAutoHideState(); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ui/cocoa/download/ |
D | download_shelf_mac_unittest.mm | 64 DownloadShelfMac shelf(browser(), 70 DownloadShelfMac shelf(browser(), 73 shelf.Show(); 78 DownloadShelfMac shelf(browser(), 81 shelf.Close(DownloadShelf::AUTOMATIC); 87 DownloadShelfMac shelf(browser(), 90 shelf.Close(DownloadShelf::USER_ACTION); 96 DownloadShelfMac shelf(browser(), 99 shelf.IsShowing();
|
D | download_shelf_controller_unittest.mm | 65 // seconds before closing the shelf (unless it is cancelled during this 144 // Removing the last download from the shelf should cause it to close 156 // The shelf should be closed without scheduling an autoClose. 160 // Test that the shelf doesn't close automatically after a removal if there are 161 // active download items still on the shelf. 177 // DownloadShelf::Unhide() should cause the shelf to be displayed if there are 193 // DownloadShelf::Unhide() shouldn't cause the shelf to be displayed if all 194 // active downloads are removed from the shelf while the shelf was hidden. 210 // the download shelf at the time the autoclose is scheduled. 222 // The mouse enters the shelf. [all …]
|
D | download_shelf_controller.mm | 31 // Download shelf autoclose behavior: 33 // The download shelf autocloses if all of this is true: 34 // 1) An item on the shelf has just been opened or removed. 35 // 2) All remaining items on the shelf have been opened in the past. 36 // 3) The mouse leaves the shelf and remains off the shelf for 5 seconds. 38 // If the mouse re-enters the shelf within the 5 second grace period, the 40 // shelf item being opened or removed. If an item is opened and then the 44 // If the shelf is manually closed while a download is still in progress, that 45 // download is marked as "opened" for these purposes. If the shelf is later 61 // Duration for download shelf closing animation, in seconds. [all …]
|
D | download_item_controller.h | 78 shelf:(DownloadShelfController*)shelf
|
/external/chromium_org/ash/wm/gestures/ |
D | shelf_gesture_handler.cc | 44 ShelfLayoutManager* shelf = controller->GetShelfLayoutManager(); in ProcessGestureEvent() local 54 shelf->StartGestureDrag(event); in ProcessGestureEvent() 65 } else if (shelf->UpdateGestureDrag(event) == in ProcessGestureEvent() 82 shelf->CompleteGestureDrag(event); in ProcessGestureEvent() 87 shelf->CancelGestureDrag(); in ProcessGestureEvent()
|
/external/chromium_org/ash/ |
D | ash.gyp | 190 'shelf/alternate_app_list_button.cc', 191 'shelf/alternate_app_list_button.h', 192 'shelf/app_list_button.cc', 193 'shelf/app_list_button.h', 194 'shelf/app_list_shelf_item_delegate.cc', 195 'shelf/app_list_shelf_item_delegate.h', 196 'shelf/background_animator.cc', 197 'shelf/background_animator.h', 198 'shelf/overflow_bubble.cc', 199 'shelf/overflow_bubble.h', [all …]
|
/external/chromium/chrome/browser/ui/cocoa/download/ |
D | download_shelf_mac_unittest.mm | 62 DownloadShelfMac shelf(browser_helper_.browser(), 68 DownloadShelfMac shelf(browser_helper_.browser(), 71 shelf.Show(); 76 DownloadShelfMac shelf(browser_helper_.browser(), 79 shelf.Close(); 84 DownloadShelfMac shelf(browser_helper_.browser(), 87 shelf.IsShowing();
|
D | download_shelf_controller.mm | 31 // Download shelf autoclose behavior: 33 // The download shelf autocloses if all of this is true: 34 // 1) An item on the shelf has just been opened. 35 // 2) All remaining items on the shelf have been opened in the past. 36 // 3) The mouse leaves the shelf and remains off the shelf for 5 seconds. 38 // If the mouse re-enters the shelf within the 5 second grace period, the 40 // shelf item being opened or removed. If an item is opened and then the 44 // If the shelf is manually closed while a download is still in progress, that 45 // download is marked as "opened" for these purposes. If the shelf is later 61 // Duration for download shelf closing animation, in seconds. [all …]
|
D | download_item_controller.h | 65 shelf:(DownloadShelfController*)shelf;
|
D | download_shelf_view.mm | 33 // We want our backgrounds for the shelf to be phased from the upper 61 // Mouse down events on the download shelf should not allow dragging the parent
|
/external/chromium_org/chrome/browser/resources/chromeos/first_run/ |
D | step.js | 123 shelf: 'left', property 127 shelf: 'right', property 137 shelf: 'bottom', property 141 shelf: 'left', property 151 shelf: 'bottom', property 155 shelf: 'left', property 189 rule.shelf === shelfAlignment;
|
/external/chromium_org/ash/wm/ |
D | workspace_controller.cc | 36 bool IsDockedAreaVisible(const ShelfLayoutManager* shelf) { in IsDockedAreaVisible() argument 37 return shelf->dock_bounds().width() > 0; in IsDockedAreaVisible() 108 void WorkspaceController::SetShelf(ShelfLayoutManager* shelf) { in SetShelf() argument 109 shelf_ = shelf; in SetShelf() 110 layout_manager_->SetShelf(shelf); in SetShelf()
|
D | workspace_controller_unittest.cc | 127 return Shell::GetPrimaryRootWindowController()->shelf(); in shelf_widget() 351 ShelfLayoutManager* shelf = shelf_layout_manager(); in TEST_F() local 352 shelf->SetAutoHideBehavior(ash::SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS); in TEST_F() 354 0, shelf->GetIdealBounds().y() - 10, 101, 102); in TEST_F() 375 EXPECT_EQ(SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F() 379 EXPECT_EQ(SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F() 380 EXPECT_EQ(SHELF_AUTO_HIDE_HIDDEN, shelf->auto_hide_state()); in TEST_F() 384 EXPECT_EQ(SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F() 389 EXPECT_EQ(SHELF_HIDDEN, shelf->visibility_state()); in TEST_F() 393 EXPECT_EQ(SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F() [all …]
|
D | status_area_layout_manager.cc | 20 StatusAreaLayoutManager::StatusAreaLayoutManager(ShelfWidget* shelf) in StatusAreaLayoutManager() argument 22 shelf_(shelf) { in StatusAreaLayoutManager()
|
D | immersive_fullscreen_controller_unittest.cc | 921 ash::internal::ShelfLayoutManager* shelf = in TEST_F() local 927 ASSERT_EQ(ash::SHELF_VISIBLE, shelf->visibility_state()); in TEST_F() 932 EXPECT_EQ(ash::SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F() 938 EXPECT_EQ(ash::SHELF_VISIBLE, shelf->visibility_state()); in TEST_F() 941 shelf->SetAutoHideBehavior(ash::SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS); in TEST_F() 942 EXPECT_EQ(ash::SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F() 947 EXPECT_EQ(ash::SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F() 953 EXPECT_EQ(ash::SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F()
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
D | immersive_mode_controller_ash_unittest.cc | 223 ash::internal::ShelfLayoutManager* shelf = in TEST_F() local 225 ASSERT_EQ(ash::SHELF_VISIBLE, shelf->visibility_state()); in TEST_F() 231 EXPECT_EQ(ash::SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F() 236 EXPECT_EQ(ash::SHELF_HIDDEN, shelf->visibility_state()); in TEST_F() 243 EXPECT_EQ(ash::SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F() 252 EXPECT_EQ(ash::SHELF_VISIBLE, shelf->visibility_state()); in TEST_F()
|
/external/chromium_org/ash/system/ |
D | tray_update.cc | 114 Shell::GetPrimaryRootWindowController()->shelf()->status_area_widget(); in ~UpdateNagger() 139 if (Shell::GetPrimaryRootWindowController()->shelf()->IsVisible()) in OnLayerAnimationEnded() 197 if (!Shell::GetPrimaryRootWindowController()->shelf()->IsVisible() && in OnUpdateRecommended()
|