HomeSort by relevance Sort by last modified time
    Searched defs:shelf (Results 1 - 25 of 34) sorted by null

1 2

  /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::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/
dip_unittest.cc 10 #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());
root_window_controller.h 11 #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 view if it was created hidden (before session has started)
    [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"
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/chrome/browser/download/
download_shelf_unittest.cc 46 TestDownloadShelf* shelf() { function in class:__anon8218::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()->Close(DownloadShelf::AUTOMATIC)
    [all...]
  /external/chromium_org/ash/shelf/
shelf_widget.h 9 #include "ash/shelf/background_animator.h"
10 #include "ash/shelf/shelf_layout_manager_observer.h"
11 #include "ash/shelf/shelf_types.h"
21 class Shelf;
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
    [all...]
overflow_button.cc 5 #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())
shelf_tooltip_manager_unittest.cc 5 #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...]
shelf_unittest.cc 5 #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"
45 shelf_ = Shelf::ForPrimaryDisplay();
61 Shelf* shelf() { function in class:ash::ShelfTest
    [all...]
shelf_widget_unittest.cc 5 #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"
30 return Shelf::ForPrimaryDisplay()->shelf_widget();
51 Shelf* shelf = Shelf::ForPrimaryDisplay() local
118 Shelf* shelf = shelf_widget->shelf(); local
166 Shelf* shelf = shelf_widget->shelf(); local
    [all...]
  /external/chromium_org/ash/first_run/
first_run_helper_impl.cc 7 #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()
    [all...]
  /external/chromium_org/ash/system/user/
tray_user_unittest.cc 8 #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/panels/
panel_layout_manager.h 12 #include "ash/shelf/shelf_icon_observer.h"
13 #include "ash/shelf/shelf_layout_manager_observer.h"
41 class Shelf;
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.
182 Shelf* shelf_
    [all...]
panel_window_resizer_unittest.cc 8 #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 is hidden. This occurs as part o
292 ShelfLayoutManager* shelf = RootWindowController::ForWindow(window.get())-> local
    [all...]
  /external/chromium_org/chrome/browser/ui/views/frame/
immersive_mode_controller_ash_unittest.cc 9 #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->visibility_state())
    [all...]
  /external/chromium_org/chrome/browser/ui/window_sizer/
window_sizer_ash_uitest.cc 5 #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/wm/dock/
docked_window_layout_manager.h 9 #include "ash/shelf/shelf_layout_manager_observer.h"
43 class Shelf;
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.
272 Shelf* shelf_
    [all...]
docked_window_resizer_unittest.cc 10 #include "ash/shelf/shelf.h"
11 #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"
360 // Dock on the right side, change shelf alignment, check that windows move to
374 // set launcher shelf to be aligned on the right
383 // set launcher shelf to be aligned on the left
391 // set launcher shelf to be aligned at the botto
1411 ShelfWidget* shelf = Shelf::ForPrimaryDisplay()->shelf_widget(); local
    [all...]
  /external/chromium_org/chrome/browser/ui/ash/multi_user/
user_switch_animator_chromeos.cc 9 #include "ash/shelf/shelf_layout_manager.h"
10 #include "ash/shelf/shelf_widget.h"
162 // The shelf animation duration override.
164 // Handle the shelf order of items. This is done once the old user is hidden.
169 // Hide the black rectangle on top of each shelf again.
173 ash::ShelfWidget* shelf = local
174 ash::RootWindowController::ForWindow(*iter)->shelf();
175 shelf->HideShelfBehindBlackBar(false, duration_override);
177 // We kicked off the shelf animation above and the override can be
198 // For each root window hide the shelf
213 ash::ShelfWidget* shelf = local
    [all...]
multi_user_window_manager_chromeos_unittest.cc 6 #include "ash/shelf/shelf_widget.h"
815 ash::ShelfWidget* shelf = ash::RootWindowController::ForWindow( local
1075 ash::ShelfWidget* shelf = ash::RootWindowController::ForWindow( local
    [all...]
  /external/chromium_org/ash/system/web_notification/
web_notification_tray_unittest.cc 12 #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
369 // Shelf's auto-hide state won't be HIDDEN unless window exists.
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())
430 ShelfLayoutManager* shelf = local
    [all...]
  /external/chromium_org/ash/wm/maximize_mode/
maximize_mode_window_manager_unittest.cc 11 #include "ash/shelf/shelf_layout_manager.h"
773 ShelfLayoutManager* shelf = local
816 ShelfLayoutManager* shelf = local
    [all...]
  /external/chromium_org/ash/wm/
window_animations.cc 13 #include "ash/shelf/shelf.h"
14 #include "ash/shelf/shelf_layout_manager.h"
15 #include "ash/shelf/shelf_widget.h"
454 Shelf* shelf = Shelf::ForWindow(window); local
455 // Shelf is created lazily and can be NULL.
456 if (!shelf)
458 gfx::Rect item_rect = shelf->GetScreenBoundsOfItemIconForWindow(window)
    [all...]
immersive_fullscreen_controller_unittest.cc 10 #include "ash/shelf/shelf_layout_manager.h"
11 #include "ash/shelf/shelf_types.h"
1036 ash::ShelfLayoutManager* shelf = local
    [all...]
  /external/chromium_org/chrome/browser/ui/
chrome_pages.cc 133 DownloadShelf* shelf = browser->window()->GetDownloadShelf(); local
135 if (shelf->IsShowing())
136 shelf->Close(DownloadShelf::USER_ACTION);

Completed in 473 milliseconds

1 2