/external/chromium_org/chrome/browser/ui/ash/ |
shelf_browsertest.cc | 6 #include "ash/shelf/shelf_layout_manager.h" 17 // Confirm that a status bubble doesn't cause the shelf to darken. 19 ash::internal::ShelfLayoutManager* shelf = local 22 EXPECT_TRUE(shelf->IsVisible()); 24 // Ensure that the browser abuts the shelf. 30 shelf->GetIdealBounds().y() - old_bounds.y()); 32 EXPECT_FALSE(shelf->window_overlaps_shelf()); 34 // Show status, which will overlap the shelf by a pixel. 37 shelf->UpdateVisibilityState(); 40 EXPECT_FALSE(shelf->window_overlaps_shelf()) [all...] |
/external/chromium_org/ash/wm/gestures/ |
shelf_gesture_handler.cc | 9 #include "ash/shelf/shelf_layout_manager.h" 10 #include "ash/shelf/shelf_types.h" 11 #include "ash/shelf/shelf_widget.h" 44 ShelfLayoutManager* shelf = controller->GetShelfLayoutManager(); local 49 if (fullscreen && !shelf->FullscreenWithMinimalChrome()) 54 shelf->StartGestureDrag(event); 65 } else if (shelf->UpdateGestureDrag(event) == 82 shelf->CompleteGestureDrag(event); 87 shelf->CancelGestureDrag();
|
/external/chromium_org/chrome/browser/download/ |
download_shelf_unittest.cc | 47 TestDownloadShelf* shelf() { function in class:__anon7137::DownloadShelfTest 105 shelf()->Show(); 106 EXPECT_TRUE(shelf()->IsShowing()); 107 shelf()->Hide(); 108 EXPECT_FALSE(shelf()->IsShowing()); 109 shelf()->Unhide(); 110 EXPECT_TRUE(shelf()->IsShowing()); 114 shelf()->Show(); 115 shelf()->Hide(); 116 shelf()->Close(DownloadShelf::AUTOMATIC) [all...] |
/external/chromium_org/ash/shelf/ |
shelf_widget_unittest.cc | 5 #include "ash/shelf/shelf_widget.h" 12 #include "ash/shelf/shelf_layout_manager.h" 167 ShelfWidget* shelf = NULL; local 173 if (!(*i)->shelf()->launcher()) { 174 shelf = (*i)->shelf(); 178 ASSERT_TRUE(shelf != NULL); 183 Launcher* launcher = shelf->launcher(); 187 shelf->status_area_widget()->GetWindowBoundsInScreen().width(); 190 shelf->GetContentsView()->width() [all...] |
shelf_layout_manager_unittest.cc | 5 #include "ash/shelf/shelf_layout_manager.h" 18 #include "ash/shelf/shelf_layout_manager_observer.h" 19 #include "ash/shelf/shelf_widget.h" 62 return Shell::GetPrimaryRootWindowController()->shelf(); 95 // The state of the shelf at the end of the gesture is tested separately. 116 // if the shelf is being dimmed test dimmer bounds as well. 121 // The shelf should never be smaller than the hidden state. 143 // If dragging inwards from the visible state, then the shelf should 150 // If dragging outwards from the visible state, then the shelf 158 // Tests that the shelf sticks with the touch point during the dra 325 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local 605 ShelfWidget* shelf = GetShelfWidget(); local 664 ShelfWidget* shelf = GetShelfWidget(); local 687 ShelfWidget* shelf = GetShelfWidget(); local 738 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local 808 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local 898 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local 952 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local 997 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local 1071 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local 1141 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local 1175 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local 1202 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local 1236 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local 1271 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local 1375 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local 1399 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local 1455 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local 1500 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local 1536 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local 1586 ShelfWidget* shelf = GetShelfWidget(); local 1609 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local [all...] |
shelf_layout_manager.cc | 5 #include "ash/shelf/shelf_layout_manager.h" 19 #include "ash/shelf/shelf_bezel_event_filter.h" 20 #include "ash/shelf/shelf_layout_manager_observer.h" 21 #include "ash/shelf/shelf_widget.h" 59 // To avoid hiding the shelf when the mouse transitions from a message bubble 60 // into the shelf, the hit test area is enlarged by this amount of pixels to 61 // keep the shelf from hiding. 64 // The maximum size of the region on the display opposing the shelf managed by 65 // this ShelfLayoutManager which can trigger showing the shelf. 68 // - Shelf is left aligne 557 ShelfWidget* shelf = RootWindowController::ForLauncher(window)->shelf(); local [all...] |
/external/chromium_org/chrome/browser/ui/views/frame/ |
immersive_mode_controller_ash_browsertest.cc | 9 #include "ash/shelf/shelf_layout_manager.h" 10 #include "ash/shelf/shelf_types.h" 132 // Shelf hide triggered by enabling immersive mode eventually changes the 185 // Shelf hide triggered by enabling immersive mode eventually changes the 333 // Shelf-specific immersive mode tests. 335 // Shelf is visible when the test starts. 336 ash::internal::ShelfLayoutManager* shelf = local 338 ASSERT_EQ(ash::SHELF_VISIBLE, shelf->visibility_state()); 340 // Turning immersive mode on sets the shelf to auto-hide. 344 EXPECT_EQ(ash::SHELF_AUTO_HIDE, shelf->visibility_state()) 373 ash::internal::ShelfLayoutManager* shelf = local [all...] |
/external/chromium_org/ash/launcher/ |
launcher_tooltip_manager_unittest.cc | 8 #include "ash/shelf/shelf_layout_manager.h" 9 #include "ash/shelf/shelf_widget.h" 47 controller->shelf()->launcher()->GetLauncherViewForTest())); 121 // Create a full-screen window to hide the shelf. 130 // Once the shelf is hidden, the tooltip should be invisible. 137 // Do not show the view if the shelf is hidden. 141 // ShowDelayed() doesn't even start the timer for the hidden shelf. 158 internal::ShelfLayoutManager* shelf = local 160 shelf->SetAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS); 161 shelf->UpdateAutoHideState() [all...] |
overflow_button.cc | 8 #include "ash/shelf/shelf_layout_manager.h" 9 #include "ash/shelf/shelf_widget.h" 37 // Padding from the inner edge of the shelf (towards center of display) to 63 ShelfLayoutManager* shelf = local 67 if (shelf->IsHorizontalAlignment()) {
|
launcher_view_unittest.cc | 18 #include "ash/shelf/shelf_layout_manager.h" 19 #include "ash/shelf/shelf_widget.h" 181 ash::ShelfWidget* shelf = Shell::GetPrimaryRootWindowController()->shelf(); local 184 shelf->GetWindowBoundsInScreen().size(); 891 // Enable the alternate shelf layout. 897 // In alternate shelf layout there is no visible hovered state. [all...] |
launcher_view.cc | 24 #include "ash/shelf/shelf_layout_manager.h" 25 #include "ash/shelf/shelf_widget.h" 451 ShelfLayoutManager* shelf = tooltip_->shelf_layout_manager(); local 453 shelf->SelectValueForShelfAlignment( 458 shelf->SelectValueForShelfAlignment( 507 ShelfLayoutManager* shelf = tooltip_->shelf_layout_manager(); local 510 shelf->PrimaryAxisValue(view_model_->ideal_bounds(target_index).x(), 512 shelf->PrimaryAxisValue(midpoint_in_view.x(), midpoint_in_view.y())) { 516 shelf->PrimaryAxisValue( 519 shelf->PrimaryAxisValue(midpoint_in_view.x(), midpoint_in_view.y())) 693 ShelfLayoutManager* shelf = tooltip_->shelf_layout_manager(); local 847 ShelfLayoutManager* shelf = tooltip_->shelf_layout_manager(); local 860 ShelfLayoutManager* shelf = tooltip_->shelf_layout_manager(); local 934 ShelfLayoutManager* shelf = tooltip_->shelf_layout_manager(); local 990 ShelfLayoutManager* shelf = tooltip_->shelf_layout_manager(); local 1211 ShelfLayoutManager* shelf = tooltip_->shelf_layout_manager(); local 1406 ShelfLayoutManager* shelf = tooltip_->shelf_layout_manager(); local 1608 ShelfWidget* shelf = RootWindowController::ForLauncher( local [all...] |
/external/chromium_org/ash/system/user/ |
tray_user_unittest.cc | 8 #include "ash/shelf/shelf_layout_manager.h" 44 ShelfLayoutManager* shelf() { return shelf_; } function in class:ash::internal::TrayUserTest 53 // Note that the ownership of these items is on the shelf. 75 // Show the shelf. 76 shelf()->LayoutShelf(); 77 shelf()->SetAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_NEVER);
|
/external/chromium_org/ash/wm/ |
base_layout_manager_unittest.cc | 9 #include "ash/shelf/shelf_layout_manager.h" 294 internal::ShelfLayoutManager* shelf = local 296 shelf->SetAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS); 305 shelf->UpdateVisibilityState(); 311 shelf->UpdateVisibilityState();
|
workspace_controller_unittest.cc | 12 #include "ash/shelf/shelf_layout_manager.h" 13 #include "ash/shelf/shelf_widget.h" 126 return Shell::GetPrimaryRootWindowController()->shelf(); 337 // it isn't over the shelf. 344 ShelfLayoutManager* shelf = shelf_layout_manager(); local 345 shelf->SetAutoHideBehavior(ash::SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS); 347 0, shelf->GetIdealBounds().y() - 10, 101, 102); 348 // Move |w1| to overlap the shelf. 359 // Make it visible, since visible shelf overlaps should be true. 368 EXPECT_EQ(SHELF_AUTO_HIDE, shelf->visibility_state()) 546 ShelfLayoutManager* shelf = shelf_layout_manager(); local 574 ShelfLayoutManager* shelf = shelf_layout_manager(); local 635 ShelfLayoutManager* shelf = shelf_layout_manager(); local [all...] |
/external/chromium_org/chrome/browser/ui/ |
chrome_pages.cc | 83 DownloadShelf* shelf = browser->window()->GetDownloadShelf(); local 85 if (shelf->IsShowing()) 86 shelf->Close(DownloadShelf::USER_ACTION);
|
/external/chromium_org/ash/ |
root_window_controller.h | 11 #include "ash/shelf/shelf_types.h" 103 // Access the shelf associated with this root window controller, 104 // NULL if no such shelf exists. 105 ShelfWidget* shelf() { return shelf_.get(); } function in class:ash::internal::RootWindowController 135 // Access the shelf layout manager associated with this root 136 // window controller, NULL if no such shelf exists. 199 // Force the shelf to query for it's current visibility state. 241 // The shelf for managing the launcher and the status widget.
|
shell.cc | 33 #include "ash/shelf/shelf_layout_manager.h" 34 #include "ash/shelf/shelf_widget.h" 274 // AppList needs to be released before shelf layout manager, which is 772 (*iter)->shelf()->CreateLauncher(); 794 if ((*iter)->shelf()) 860 return GetPrimaryRootWindowController()->shelf()-> 865 ShelfWidget* shelf = GetPrimaryRootWindowController()->shelf(); local 866 return shelf && shelf->status_area_widget() [all...] |
/external/chromium_org/ash/wm/dock/ |
docked_window_resizer_unittest.cc | 12 #include "ash/shelf/shelf_layout_manager.h" 13 #include "ash/shelf/shelf_types.h" 14 #include "ash/shelf/shelf_widget.h" 339 // Dock on the right side, change shelf alignment, check that windows move to 353 // set launcher shelf to be aligned on the right 362 // set launcher shelf to be aligned on the left 370 // set launcher shelf to be aligned at the bottom 461 // Drag up as well to avoid attaching panels to launcher shelf. 638 // Drag up as well as left to avoid attaching panels to launcher shelf. 658 // Drag up as well to avoid attaching panels to launcher shelf 1042 ShelfWidget* shelf = Launcher::ForPrimaryDisplay()->shelf_widget(); local [all...] |
/external/chromium_org/ash/wm/panels/ |
panel_layout_manager_unittest.cc | 14 #include "ash/shelf/shelf_layout_manager.h" 15 #include "ash/shelf/shelf_types.h" 16 #include "ash/shelf/shelf_widget.h" 126 RootWindowController::ForLauncher(panel)->shelf()->launcher(); 169 RootWindowController::ForLauncher(panel)->shelf()->launcher(); 248 internal::ShelfLayoutManager* shelf = local 249 RootWindowController::ForWindow(window)->shelf()-> 251 shelf->SetAutoHideBehavior(behavior); 260 internal::ShelfLayoutManager* shelf = local 261 RootWindowController::ForWindow(window)->shelf()- [all...] |
/external/chromium_org/ash/system/tray/ |
tray_background_view.cc | 10 #include "ash/shelf/shelf_layout_manager.h" 11 #include "ash/shelf/shelf_widget.h" 155 status_area_widget()->GetNativeWindow())->shelf(); 459 // Change the border padding for different shelf alignment. 533 // Note that with the alternate shelf layout the tips are not shown and 600 ash::internal::ShelfLayoutManager* shelf = local 603 shelf->IsVisible() ? views::BubbleBorder::PAINT_NORMAL :
|
/external/chromium/chrome/browser/ui/ |
browser.cc | 1881 DownloadShelf* shelf = window()->GetDownloadShelf(); local [all...] |