Searched defs:shelf (Results 1 - 25 of 29) sorted by relevance

12

/external/chromium_org/chrome/browser/ui/ash/
H A Dshelf_browsertest.cc6 #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
[all...]
/external/chromium_org/ash/shelf/
H A Dshelf_bezel_event_filter.cc5 #include "ash/shelf/shelf_bezel_event_filter.h"
7 #include "ash/shelf/shelf_layout_manager.h"
16 ShelfLayoutManager* shelf)
17 : shelf_(shelf),
15 ShelfBezelEventFilter( ShelfLayoutManager* shelf) argument
H A Dshelf_widget_unittest.cc5 #include "ash/shelf/shelf_widget.h"
9 #include "ash/shelf/shelf_button.h"
10 #include "ash/shelf/shelf_layout_manager.h"
11 #include "ash/shelf/shelf_model.h"
12 #include "ash/shelf/shelf_view.h"
166 ShelfWidget* shelf = NULL; local
172 if (!(*i)->shelf()->launcher()) {
173 shelf = (*i)->shelf();
177 ASSERT_TRUE(shelf !
[all...]
H A Doverflow_button.cc5 #include "ash/shelf/overflow_button.h"
8 #include "ash/shelf/shelf_layout_manager.h"
9 #include "ash/shelf/shelf_widget.h"
59 ShelfLayoutManager* shelf = local
63 if (shelf->IsHorizontalAlignment()) {
H A Dshelf_tooltip_manager_unittest.cc5 #include "ash/shelf/shelf_tooltip_manager.h"
8 #include "ash/shelf/shelf_layout_manager.h"
9 #include "ash/shelf/shelf_widget.h"
49 LauncherTestAPI(controller->shelf()->launcher()).shelf_view()));
123 // Create a full-screen window to hide the shelf.
132 // Once the shelf is hidden, the tooltip should be invisible.
139 // Do not show the view if the shelf is hidden.
143 // ShowDelayed() doesn't even start the timer for the hidden shelf.
160 internal::ShelfLayoutManager* shelf = local
162 shelf
[all...]
H A Dshelf_widget.cc5 #include "ash/shelf/shelf_widget.h"
11 #include "ash/shelf/shelf_delegate.h"
12 #include "ash/shelf/shelf_layout_manager.h"
13 #include "ash/shelf/shelf_model.h"
14 #include "ash/shelf/shelf_navigator.h"
15 #include "ash/shelf/shelf_view.h"
16 #include "ash/shelf/shelf_widget.h"
50 // Class used to slightly dim shelf items when maximized and visible.
102 // TRUE if the mouse is inside the shelf.
105 // TRUE if a touch event is inside the shelf
321 DelegateView(ShelfWidget* shelf) argument
[all...]
H A Dshelf_layout_manager.cc5 #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.
69 // - This ShelfLayoutManager manages the shelf fo
130 AutoHideEventFilter( ShelfLayoutManager* shelf) argument
169 UpdateShelfObserver(ShelfLayoutManager* shelf) argument
197 ShelfLayoutManager(ShelfWidget* shelf) argument
553 ShelfWidget* shelf = RootWindowController::ForLauncher(window)->shelf(); local
[all...]
/external/chromium_org/ash/wm/gestures/
H A Dshelf_gesture_handler.cc9 #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
54 shelf->StartGestureDrag(event);
65 } else if (shelf->UpdateGestureDrag(event) ==
82 shelf->CompleteGestureDrag(event);
87 shelf->CancelGestureDrag();
/external/chromium_org/ash/wm/
H A Dstatus_area_layout_manager.cc7 #include "ash/shelf/shelf_layout_manager.h"
8 #include "ash/shelf/shelf_widget.h"
20 StatusAreaLayoutManager::StatusAreaLayoutManager(ShelfWidget* shelf) argument
22 shelf_(shelf) {
52 // Only need to have the shelf do a layout if the child changing is the status
53 // area and the shelf isn't in the process of doing a layout.
60 // that is managed by the shelf.
H A Dbase_layout_manager_unittest.cc9 #include "ash/shelf/shelf_layout_manager.h"
291 internal::ShelfLayoutManager* shelf = local
293 shelf->SetAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS);
302 shelf->UpdateVisibilityState();
308 shelf->UpdateVisibilityState();
H A Dworkspace_controller.cc8 #include "ash/shelf/shelf_layout_manager.h"
35 // |shelf|.
36 bool IsDockedAreaVisible(const ShelfLayoutManager* shelf) { argument
37 return shelf->dock_bounds().width() > 0;
75 // may overlap the launcher shelf and affect its transparency.
108 void WorkspaceController::SetShelf(ShelfLayoutManager* shelf) { argument
109 shelf_ = shelf;
110 layout_manager_->SetShelf(shelf);
H A Dworkspace_controller_unittest.cc12 #include "ash/shelf/shelf_layout_manager.h"
13 #include "ash/shelf/shelf_widget.h"
127 return Shell::GetPrimaryRootWindowController()->shelf();
344 // it isn't over the shelf.
351 ShelfLayoutManager* shelf = shelf_layout_manager(); local
352 shelf->SetAutoHideBehavior(ash::SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS);
354 0, shelf->GetIdealBounds().y() - 10, 101, 102);
355 // Move |w1| to overlap the shelf.
366 // Make it visible, since visible shelf overlaps should be true.
375 EXPECT_EQ(SHELF_AUTO_HIDE, shelf
555 ShelfLayoutManager* shelf = shelf_layout_manager(); local
583 ShelfLayoutManager* shelf = shelf_layout_manager(); local
644 ShelfLayoutManager* shelf = shelf_layout_manager(); local
1291 ShelfLayoutManager* shelf = shelf_layout_manager(); local
[all...]
H A Dimmersive_fullscreen_controller_unittest.cc10 #include "ash/shelf/shelf_layout_manager.h"
11 #include "ash/shelf/shelf_types.h"
917 // Test that the shelf is set to auto hide as long as the window is in
918 // immersive fullscreen and that the shelf's state before entering immersive
921 ash::internal::ShelfLayoutManager* shelf = local
927 ASSERT_EQ(ash::SHELF_VISIBLE, shelf->visibility_state());
929 // Entering immersive fullscreen sets the shelf to auto hide.
932 EXPECT_EQ(ash::SHELF_AUTO_HIDE, shelf->visibility_state());
938 EXPECT_EQ(ash::SHELF_VISIBLE, shelf->visibility_state());
940 // The user could toggle the shelf aut
[all...]
/external/chromium_org/chrome/browser/download/
H A Ddownload_shelf_unittest.cc47 TestDownloadShelf* shelf() { function in class:__anon4894::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()
[all...]
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dimmersive_mode_controller_ash_unittest.cc12 #include "ash/shelf/shelf_layout_manager.h"
13 #include "ash/shelf/shelf_types.h"
52 // is used to trigger changes in whether the shelf is auto hidden and
218 // affects the shelf visibility and whether the tab indicators are hidden.
222 // The shelf should start out as visible.
223 ash::internal::ShelfLayoutManager* shelf = local
225 ASSERT_EQ(ash::SHELF_VISIBLE, shelf->visibility_state());
228 // tab indicators and the shelf.
231 EXPECT_EQ(ash::SHELF_AUTO_HIDE, shelf->visibility_state());
236 EXPECT_EQ(ash::SHELF_HIDDEN, shelf
[all...]
/external/chromium_org/ash/system/user/
H A Dtray_user_unittest.cc9 #include "ash/shelf/shelf_layout_manager.h"
51 ShelfLayoutManager* shelf() { return shelf_; } function in class:ash::internal::TrayUserTest
64 // Note that the ownership of these items is on the shelf.
68 // Note: The item will get owned by the shelf.
109 // Show the shelf.
110 shelf()->LayoutShelf();
111 shelf()->SetAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_NEVER);
/external/chromium_org/ash/
H A Droot_window_controller.h11 #include "ash/shelf/shelf_types.h"
125 // Access the shelf associated with this root window controller,
126 // NULL if no such shelf exists.
127 ShelfWidget* shelf() { return shelf_.get(); } function in class:ash::internal::RootWindowController
161 // Access the shelf layout manager associated with this root
162 // window controller, NULL if no such shelf exists.
221 // Force the shelf to query for it's current visibility state.
275 // The shelf for managing the launcher and the status widget.
H A Dshell.cc40 #include "ash/shelf/app_list_shelf_item_delegate.h"
41 #include "ash/shelf/shelf_delegate.h"
42 #include "ash/shelf/shelf_item_delegate.h"
43 #include "ash/shelf/shelf_item_delegate_manager.h"
44 #include "ash/shelf/shelf_layout_manager.h"
45 #include "ash/shelf/shelf_model.h"
46 #include "ash/shelf/shelf_widget.h"
47 #include "ash/shelf/shelf_window_watcher.h"
382 (*iter)->shelf()->CreateLauncher();
417 if ((*iter)->shelf())
494 ShelfWidget* shelf = GetPrimaryRootWindowController()->shelf(); local
[all...]
/external/chromium_org/ash/system/web_notification/
H A Dweb_notification_tray_unittest.cc11 #include "ash/shelf/shelf_layout_manager.h"
12 #include "ash/shelf/shelf_widget.h"
44 return Shell::GetPrimaryRootWindowController()->shelf()->
55 return controllers[i]->shelf()->
68 return Shell::GetPrimaryRootWindowController()->shelf()->
293 // root window controller and shelf with having notifications. This code
373 internal::ShelfLayoutManager* shelf = local
375 shelf->SetAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS);
377 EXPECT_EQ(SHELF_AUTO_HIDE_HIDDEN, shelf->auto_hide_state());
381 // Close the window, which shows the shelf
435 internal::ShelfLayoutManager* shelf = local
[all...]
/external/chromium_org/ash/wm/overview/
H A Dwindow_selector_unittest.cc8 #include "ash/shelf/shelf_widget.h"
296 // Tests that the shelf dimming state is removed while in overview and restored
303 ash::ShelfWidget* shelf = Shell::GetPrimaryRootWindowController()->shelf(); local
304 EXPECT_TRUE(shelf->GetDimsShelf());
306 EXPECT_FALSE(shelf->GetDimsShelf());
308 EXPECT_TRUE(shelf->GetDimsShelf());
/external/chromium_org/ash/wm/workspace/
H A Dworkspace_layout_manager.cc10 #include "ash/shelf/shelf_layout_manager.h"
83 void WorkspaceLayoutManager::SetShelf(internal::ShelfLayoutManager* shelf) { argument
84 shelf_ = shelf;
227 // TODO(oshima): Differentiate display change and shelf visibility change, and
/external/chromium_org/chrome/browser/ui/
H A Dchrome_pages.cc134 DownloadShelf* shelf = browser->window()->GetDownloadShelf(); local
136 if (shelf->IsShowing())
137 shelf->Close(DownloadShelf::USER_ACTION);
/external/chromium_org/ash/wm/dock/
H A Ddocked_window_resizer_unittest.cc11 #include "ash/shelf/shelf_layout_manager.h"
12 #include "ash/shelf/shelf_model.h"
13 #include "ash/shelf/shelf_types.h"
14 #include "ash/shelf/shelf_widget.h"
361 // Dock on the right side, change shelf alignment, check that windows move to
375 // set launcher shelf to be aligned on the right
384 // set launcher shelf to be aligned on the left
392 // set launcher shelf to be aligned at the bottom
514 // Drag up as well to avoid attaching panels to launcher shelf.
530 // Create two windows, dock one and change shelf t
1274 ShelfWidget* shelf = Launcher::ForPrimaryDisplay()->shelf_widget(); local
[all...]
/external/chromium_org/ash/wm/panels/
H A Dpanel_layout_manager_unittest.cc11 #include "ash/shelf/shelf_button.h"
12 #include "ash/shelf/shelf_layout_manager.h"
13 #include "ash/shelf/shelf_model.h"
14 #include "ash/shelf/shelf_types.h"
15 #include "ash/shelf/shelf_util.h"
16 #include "ash/shelf/shelf_view.h"
17 #include "ash/shelf/shelf_widget.h"
113 // Waits until all shelf view animations are done.
124 // Waits until all shelf view animations are done.
128 RootWindowController::ForLauncher(panel)->shelf()
249 internal::ShelfLayoutManager* shelf = local
260 internal::ShelfLayoutManager* shelf = local
[all...]
/external/chromium_org/ash/system/tray/
H A Dtray_background_view.cc10 #include "ash/shelf/shelf_layout_manager.h"
11 #include "ash/shelf/shelf_widget.h"
154 status_area_widget()->GetNativeWindow())->shelf();
406 // The animator should never fire when the alternate shelf layout is used.
467 // Change the border padding for different shelf alignment.
557 // Note that with the alternate shelf layout the tips are not shown and
625 ash::internal::ShelfLayoutManager* shelf = local
628 (shelf && shelf->IsVisible()) ?

Completed in 3145 milliseconds

12