Searched refs:shelf (Results 1 - 25 of 77) sorted by relevance

1234

/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/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/test/
H A Dshelf_test_api.cc7 #include "ash/shelf/shelf.h"
12 ShelfTestAPI::ShelfTestAPI(Shelf* shelf) argument
13 : shelf_(shelf) {
H A Dstatus_area_widget_test_helper.cc8 #include "ash/shelf/shelf_widget.h"
20 return Shell::GetPrimaryRootWindowController()->shelf()->
31 return controllers[i]->shelf()->status_area_widget();
H A Dshelf_test_api.h21 explicit ShelfTestAPI(Shelf* shelf);
H A Dtest_shelf_delegate.h11 #include "ash/shelf/shelf_delegate.h"
40 virtual void OnShelfCreated(Shelf* shelf) OVERRIDE;
41 virtual void OnShelfDestroyed(Shelf* shelf) OVERRIDE;
/external/chromium_org/ash/shelf/
H A Dshelf_layout_manager_unittest.cc5 #include "ash/shelf/shelf_layout_manager.h"
14 #include "ash/shelf/shelf.h"
15 #include "ash/shelf/shelf_layout_manager_observer.h"
16 #include "ash/shelf/shelf_view.h"
17 #include "ash/shelf/shelf_widget.h"
57 return Shell::GetPrimaryRootWindowController()->shelf();
68 // Class which waits till the shelf finishes animating to the target size and
83 // Wait till the shelf finishes animating to its expected bounds.
97 // Returns true if shelf ha
332 SetState(ShelfLayoutManager* shelf, ShelfVisibilityState state) argument
381 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local
694 ShelfWidget* shelf = GetShelfWidget(); local
760 ShelfWidget* shelf = GetShelfWidget(); local
783 ShelfWidget* shelf = GetShelfWidget(); local
809 Shelf* shelf = Shelf::ForPrimaryDisplay(); local
834 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local
904 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local
994 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local
1047 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local
1099 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local
1173 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local
1243 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local
1277 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local
1304 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local
1338 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local
1367 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local
1435 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local
1532 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local
1590 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local
1614 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local
1785 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local
1805 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local
1855 ShelfWidget* shelf = GetShelfWidget(); local
1878 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local
1980 ShelfLayoutManager* shelf = GetShelfLayoutManager(); local
[all...]
H A Dshelf_delegate.h9 #include "ash/shelf/shelf_item_types.h"
22 virtual void OnShelfCreated(Shelf* shelf) = 0;
24 // Callback used to inform the delegate that a specific shelf no longer
26 virtual void OnShelfDestroyed(Shelf* shelf) = 0;
28 // Get the shelf ID from an application ID.
31 // Get the application ID for a given shelf ID.
34 // Pins an app with |app_id| to shelf. A running instance will get pinned.
35 // In case there is no running instance a new shelf item is created and
39 // Check if the app with |app_id_| is pinned to the shelf.
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...]
H A Dshelf_bezel_event_filter.h16 // shelf.
19 explicit ShelfBezelEventFilter(ShelfLayoutManager* 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_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.cc5 #include "ash/shelf/shelf.h"
13 #include "ash/shelf/shelf_delegate.h"
14 #include "ash/shelf/shelf_item_delegate.h"
15 #include "ash/shelf/shelf_item_delegate_manager.h"
16 #include "ash/shelf/shelf_layout_manager.h"
17 #include "ash/shelf/shelf_model.h"
18 #include "ash/shelf/shelf_navigator.h"
19 #include "ash/shelf/shelf_util.h"
20 #include "ash/shelf/shelf_vie
[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"
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/shell/
H A Dshelf_delegate_impl.cc23 void ShelfDelegateImpl::OnShelfCreated(Shelf* shelf) { argument
26 void ShelfDelegateImpl::OnShelfDestroyed(Shelf* shelf) { argument
H A Dshelf_delegate_impl.h8 #include "ash/shelf/shelf_delegate.h"
28 virtual void OnShelfCreated(Shelf* shelf) OVERRIDE;
29 virtual void OnShelfDestroyed(Shelf* shelf) OVERRIDE;
/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 Dstatus_area_layout_manager.h21 StatusAreaLayoutManager(aura::Window* container, ShelfWidget* shelf);
31 // to update layout of the shelf.
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);
H A Dworkspace_controller.h34 void SetShelf(ShelfLayoutManager* shelf);
/external/chromium_org/ash/wm/panels/
H A Dattached_panel_window_targeter.cc7 #include "ash/shelf/shelf.h"
38 // Don't update the touch insets if the shelf has not yet been created.
39 if (!panel_layout_manager_->shelf())
46 // Only update the touch insets for panels if they are attached to the shelf
51 DCHECK(panel_layout_manager_->shelf());
54 switch (panel_layout_manager_->shelf()->alignment()) {
/external/chromium_org/chrome/browser/resources/chromeos/first_run/
H A Dstep.js108 // and shelf alignment. Every rule has required field |position| with list
110 // The rule is suitable if its |shelf| and |dir| fields are correspond
111 // to current shelf alignment and text direction. Missing fields behaves like
123 shelf: 'left',
127 shelf: 'right',
137 shelf: 'bottom',
141 shelf: 'left',
151 shelf: 'bottom',
155 shelf: 'left',
184 var shelfAlignment = document.documentElement.getAttribute('shelf');
[all...]
/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/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/
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());

Completed in 6750 milliseconds

1234