Searched defs:shelf (Results 1 - 25 of 45) 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::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/
H A Ddip_unittest.cc10 #include "ash/shelf/shelf.h"
11 #include "ash/shelf/shelf_widget.h"
65 // the shelf's height.
66 Shelf* shelf = Shelf::ForPrimaryDisplay(); local
69 shelf->shelf_widget()->GetNativeView()->layer()->bounds().height());
H A Droot_window_controller.h11 #include "ash/shelf/shelf_types.h"
93 // Returns a RootWindowController that has a shelf for given
95 // root window when multiple shelf mode is enabled, or the primary
130 // Access the shelf associated with this root window controller,
131 // NULL if no such shelf exists.
132 ShelfWidget* shelf() { return shelf_.get(); } function in class:ash::RootWindowController
162 // Access the shelf layout manager associated with this root
163 // window controller, NULL if no such shelf exists.
167 // calling this on the root window that doesn't have a shelf will
189 // Show shelf vie
[all...]
/external/chromium_org/ash/test/
H A Dshelf_test_api.cc7 #include "ash/shelf/shelf.h"
12 ShelfTestAPI::ShelfTestAPI(Shelf* shelf) argument
13 : shelf_(shelf) {
H A Dtest_shelf_delegate.cc7 #include "ash/shelf/shelf_item_delegate_manager.h"
8 #include "ash/shelf/shelf_model.h"
9 #include "ash/shelf/shelf_util.h"
73 // then remove the shelf item.
78 void TestShelfDelegate::OnShelfCreated(Shelf* shelf) { argument
81 void TestShelfDelegate::OnShelfDestroyed(Shelf* shelf) { argument
/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"
43 ShelfLayoutManager* shelf = controller->GetShelfLayoutManager(); local
46 shelf->OnGestureEdgeSwipe(event);
58 shelf->StartGestureDrag(event);
69 } else if (shelf->UpdateGestureDrag(event) ==
86 shelf->CompleteGestureDrag(event);
91 shelf->CancelGestureDrag();
/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"
15 ShelfLayoutManager* shelf)
16 : shelf_(shelf),
14 ShelfBezelEventFilter( ShelfLayoutManager* shelf) argument
H A Dshelf_widget.h9 #include "ash/shelf/background_animator.h"
10 #include "ash/shelf/shelf_layout_manager_observer.h"
11 #include "ash/shelf/shelf_types.h"
35 // Returns if shelf alignment option is enabled, and the user is able
43 // Sets the shelf's background type.
48 // Hide the shelf behind a black bar during e.g. a user transition when |hide|
53 // Causes shelf items to be slightly dimmed (e.g. when a window is maximized).
58 Shelf* shelf() const { return shelf_.get(); } function in class:ash::ShelfWidget
63 // Set visibility of the shelf.
67 // Sets the focus cycler. Also adds the shelf t
[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"
57 ShelfLayoutManager* shelf = local
61 if (shelf->IsHorizontalAlignment()) {
93 if (layout_manager->shelf_widget()->shelf()->IsShowingOverflowBubble())
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"
48 ShelfTestAPI(controller->shelf()->shelf()).shelf_view()));
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 ShelfLayoutManager* shelf local
[all...]
H A Dshelf_unittest.cc5 #include "ash/shelf/shelf.h"
6 #include "ash/shelf/shelf_button.h"
7 #include "ash/shelf/shelf_item_delegate_manager.h"
8 #include "ash/shelf/shelf_model.h"
9 #include "ash/shelf/shelf_view.h"
10 #include "ash/shelf/shelf_widget.h"
61 Shelf* shelf() { function in class:ash::ShelfTest
154 EXPECT_TRUE(shelf()->IsShowingOverflowBubble());
156 // Removes the first item in main shelf vie
[all...]
H A Dshelf_widget_unittest.cc5 #include "ash/shelf/shelf_widget.h"
8 #include "ash/shelf/shelf.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"
51 Shelf* shelf = Shelf::ForPrimaryDisplay(); local
53 ASSERT_TRUE(shelf);
115 // Makes sure the shelf i
118 Shelf* shelf = shelf_widget->shelf(); local
166 Shelf* shelf = shelf_widget->shelf(); local
[all...]
/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 ShelfWidget* shelf)
21 : SnapToPixelLayoutManager(container), in_layout_(false), shelf_(shelf) {
37 // Only need to have the shelf do a layout if the child changing is the status
38 // area and the shelf isn't in the process of doing a layout.
19 StatusAreaLayoutManager(aura::Window* container, ShelfWidget* shelf) argument
H A Dworkspace_controller.cc8 #include "ash/shelf/shelf_layout_manager.h"
34 // |shelf|.
35 bool IsDockedAreaVisible(const ShelfLayoutManager* shelf) { argument
36 return shelf->dock_bounds().width() > 0;
71 // may overlap the launcher shelf and affect its transparency.
102 void WorkspaceController::SetShelf(ShelfLayoutManager* shelf) { argument
103 shelf_ = shelf;
104 layout_manager_->SetShelf(shelf);
/external/chromium_org/chrome/browser/download/
H A Ddownload_shelf_unittest.cc46 TestDownloadShelf* shelf() { function in class:__anon3593::DownloadShelfTest
104 shelf()->Show();
105 EXPECT_TRUE(shelf()->IsShowing());
106 shelf()->Hide();
107 EXPECT_FALSE(shelf()->IsShowing());
108 shelf()->Unhide();
109 EXPECT_TRUE(shelf()->IsShowing());
113 shelf()->Show();
114 shelf()->Hide();
115 shelf()
[all...]
/external/chromium_org/ash/shell/
H A Dshelf_delegate_impl.cc23 void ShelfDelegateImpl::OnShelfCreated(Shelf* shelf) { argument
26 void ShelfDelegateImpl::OnShelfDestroyed(Shelf* shelf) { argument
/external/chromium_org/ash/first_run/
H A Dfirst_run_helper_impl.cc7 #include "ash/shelf/shelf.h"
62 Shelf* shelf = Shelf::ForPrimaryDisplay(); local
63 return shelf->GetVisibleItemsBoundsInScreen();
67 Shelf* shelf = Shelf::ForPrimaryDisplay(); local
68 views::View* app_button = shelf->GetAppListButtonView();
/external/chromium_org/ash/wm/panels/
H A Dpanel_layout_manager.h12 #include "ash/shelf/shelf_icon_observer.h"
13 #include "ash/shelf/shelf_layout_manager_observer.h"
81 Shelf* shelf() { return shelf_; } function in class:ash::PanelLayoutManager
82 void SetShelf(Shelf* shelf);
181 // The shelf we are observing for shelf icon changes.
183 // The shelf layout manager being observed for visibility changes.
186 // When not NULL, the shelf is hidden (i.e. full screen) and this tracks the
188 // restored when the shelf becomes visible again.
H A Dpanel_window_resizer_unittest.cc8 #include "ash/shelf/shelf.h"
9 #include "ash/shelf/shelf_layout_manager.h"
10 #include "ash/shelf/shelf_model.h"
11 #include "ash/shelf/shelf_types.h"
12 #include "ash/shelf/shelf_util.h"
13 #include "ash/shelf/shelf_widget.h"
145 // Test dragging panel window along the shelf and verify that panel icons
159 // Drag window #2 to the beginning of the shelf.
276 // Tests that a drag continues when the shelf i
292 ShelfLayoutManager* shelf = RootWindowController::ForWindow(window.get())-> local
[all...]
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dimmersive_mode_controller_ash_unittest.cc9 #include "ash/shelf/shelf_layout_manager.h"
10 #include "ash/shelf/shelf_types.h"
61 // is used to trigger changes in whether the shelf is auto hidden and
227 // affects the shelf visibility and whether the tab indicators are hidden.
231 // The shelf should start out as visible.
232 ash::ShelfLayoutManager* shelf = local
234 ASSERT_EQ(ash::SHELF_VISIBLE, shelf->visibility_state());
237 // tab indicators and the shelf.
240 EXPECT_EQ(ash::SHELF_AUTO_HIDE, shelf->visibility_state());
245 EXPECT_EQ(ash::SHELF_HIDDEN, shelf
[all...]
/external/chromium_org/ash/system/user/
H A Dtray_user_unittest.cc8 #include "ash/shelf/shelf_layout_manager.h"
46 ShelfLayoutManager* shelf() { return shelf_; } function in class:ash::TrayUserTest
57 // Note that the ownership of these items is on the shelf.
61 // Note: The item will get owned by the shelf.
84 // Show the shelf.
85 shelf()->LayoutShelf();
86 shelf()->SetAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_NEVER);
/external/chromium_org/ash/wm/dock/
H A Ddocked_window_layout_manager.h9 #include "ash/shelf/shelf_layout_manager_observer.h"
110 Shelf* shelf() { return shelf_; } function in class:ash::DockedWindowLayoutManager
111 void SetShelf(Shelf* shelf);
120 // edge used by the shelf or the edge opposite from existing dock.
134 // Updates docked layout when shelf bounds change.
271 // The shelf to respond to alignment changes.
298 // Observes shelf for bounds changes.
/external/chromium_org/chrome/browser/ui/window_sizer/
H A Dwindow_sizer_ash_uitest.cc5 #include "ash/shelf/shelf.h"
6 #include "ash/shelf/shelf_view.h"
47 ash::Shelf* shelf = ash::Shelf::ForWindow(root_window); local
49 ash::test::ShelfTestAPI(shelf).shelf_view();
/external/chromium_org/ash/system/web_notification/
H A Dweb_notification_tray_unittest.cc12 #include "ash/shelf/shelf_layout_manager.h"
13 #include "ash/shelf/shelf_widget.h"
297 // root window controller and shelf with having notifications. This code
372 ShelfLayoutManager* shelf = local
374 shelf->SetAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS);
376 EXPECT_EQ(SHELF_AUTO_HIDE_HIDDEN, shelf->auto_hide_state());
380 // Close the window, which shows the shelf.
382 EXPECT_EQ(SHELF_AUTO_HIDE_SHOWN, shelf->auto_hide_state());
392 EXPECT_EQ(SHELF_AUTO_HIDE_SHOWN, shelf->auto_hide_state());
399 EXPECT_EQ(SHELF_AUTO_HIDE_SHOWN, shelf
430 ShelfLayoutManager* shelf = local
[all...]
/external/chromium_org/ash/wm/maximize_mode/
H A Dmaximize_mode_window_manager_unittest.cc11 #include "ash/shelf/shelf_layout_manager.h"
773 ShelfLayoutManager* shelf = local
776 // Allow the shelf to hide.
777 shelf->SetAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS);
778 EXPECT_EQ(SHELF_AUTO_HIDE, shelf->visibility_state());
783 // With full screen, the shelf should get hidden.
785 EXPECT_EQ(SHELF_HIDDEN, shelf->visibility_state());
792 EXPECT_EQ(SHELF_HIDDEN, shelf->visibility_state());
795 // shelf should maintain its state from before maximize mode.
799 EXPECT_EQ(SHELF_AUTO_HIDE, shelf
816 ShelfLayoutManager* shelf = local
[all...]

Completed in 2189 milliseconds

12