Home
last modified time | relevance | path

Searched refs:shelf_widget (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium_org/ash/shelf/
Dshelf_widget_unittest.cc30 return Shelf::ForPrimaryDisplay()->shelf_widget(); in GetShelfWidget()
117 ShelfWidget* shelf_widget = GetShelfWidget(); in TEST_F() local
118 Shelf* shelf = shelf_widget->shelf(); in TEST_F()
122 ASSERT_TRUE(shelf_widget->status_area_widget()); in TEST_F()
123 int status_width = shelf_widget->status_area_widget()-> in TEST_F()
127 EXPECT_EQ(status_width, shelf_widget->GetContentsView()->width() - in TEST_F()
150 ShelfWidget* shelf_widget = NULL; in TEST_F() local
157 shelf_widget = (*i)->shelf(); in TEST_F()
161 ASSERT_TRUE(shelf_widget != NULL); in TEST_F()
166 Shelf* shelf = shelf_widget->shelf(); in TEST_F()
[all …]
Dshelf.cc47 ShelfWidget* shelf_widget) in Shelf() argument
49 alignment_(shelf_widget->GetAlignment()), in Shelf()
51 shelf_widget_(shelf_widget) { in Shelf()
66 ShelfWidget* shelf_widget = in ForPrimaryDisplay() local
68 return shelf_widget ? shelf_widget->shelf() : NULL; in ForPrimaryDisplay()
73 ShelfWidget* shelf_widget = RootWindowController::ForShelf(window)->shelf(); in ForWindow() local
74 return shelf_widget ? shelf_widget->shelf() : NULL; in ForWindow()
99 shelf_widget()->GetNativeView(), in UpdateIconPositionForWindow()
Dshelf_layout_manager_unittest.cc810 ShelfWidget* shelf_widget = GetShelfWidget(); in TEST_F() local
811 ASSERT_TRUE(shelf_widget); in TEST_F()
812 ASSERT_TRUE(shelf_widget->status_area_widget()); in TEST_F()
813 shelf_widget->status_area_widget()->SetBounds( in TEST_F()
815 EXPECT_EQ(200, shelf_widget->GetContentsView()->width() - in TEST_F()
1092 shelf->shelf_widget()->DisableDimmingAnimationsForTest(); in TEST_F()
1107 shelf->shelf_widget()->GetWindowBoundsInScreen().CenterPoint(); in TEST_F()
1111 EXPECT_EQ(-1, shelf->shelf_widget()->GetDimmingAlphaForTest()); in TEST_F()
1113 EXPECT_EQ(-1, shelf->shelf_widget()->GetDimmingAlphaForTest()); in TEST_F()
1118 on_shelf = shelf->shelf_widget()->GetWindowBoundsInScreen().CenterPoint(); in TEST_F()
[all …]
Doverflow_button.cc93 if (layout_manager->shelf_widget()->shelf()->IsShowingOverflowBubble()) in OnPaint()
95 else if(layout_manager->shelf_widget()->GetDimsShelf()) in OnPaint()
Dalternate_app_list_button.cc36 ShelfWidget* shelf_widget) in AlternateAppListButton() argument
39 shelf_widget_(shelf_widget) { in AlternateAppListButton()
Dapp_list_button.cc36 ShelfWidget* shelf_widget) in AppListButton() argument
39 shelf_widget_(shelf_widget) { in AppListButton()
Dapp_list_button.h22 ShelfWidget* shelf_widget);
Dshelf.h98 ShelfWidget* shelf_widget() { return shelf_widget_; } in shelf_widget() function
Doverflow_bubble.cc99 widget->GetNativeView())->shelf_widget()->shelf()->SchedulePaint(); in OnWidgetDestroying()
Dshelf_widget.cc59 DimmerView(ash::ShelfWidget* shelf_widget,
137 DimmerView::DimmerView(ash::ShelfWidget* shelf_widget, in DimmerView() argument
139 : shelf_(shelf_widget), in DimmerView()
Dshelf_layout_manager.h138 ShelfWidget* shelf_widget() { return shelf_; } in shelf_widget() function
/external/chromium_org/ash/
Dfocus_cycler_unittest.cc84 shelf_widget()->SetFocusCycler(NULL); in TearDown()
116 ShelfWidget* shelf_widget() { in shelf_widget() function in ash::test::FocusCyclerTest
117 return Shelf::ForPrimaryDisplay()->shelf_widget(); in shelf_widget()
122 shelf_widget()->SetFocusCycler(focus_cycler()); in InstallFocusCycleOnShelf()
159 EXPECT_TRUE(shelf_widget()->IsActive()); in TEST_F()
178 EXPECT_TRUE(shelf_widget()->IsActive()); in TEST_F()
201 EXPECT_TRUE(shelf_widget()->IsActive()); in TEST_F()
217 EXPECT_TRUE(shelf_widget()->IsActive()); in TEST_F()
230 focus_cycler()->FocusWidget(shelf_widget()); in TEST_F()
238 EXPECT_TRUE(shelf_widget()->IsActive()); in TEST_F()
[all …]
Dshell_unittest.cc395 ShelfWidget* shelf_widget = Shelf::ForPrimaryDisplay()->shelf_widget(); in TEST_F() local
396 EXPECT_TRUE(shelf_widget->IsVisible()); in TEST_F()
398 EXPECT_EQ(0, shelf_widget->GetWindowBoundsInScreen().x()); in TEST_F()
400 shelf_widget->GetWindowBoundsInScreen().bottom()); in TEST_F()
Ddip_unittest.cc69 shelf->shelf_widget()->GetNativeView()->layer()->bounds().height()); in TEST_F()
/external/chromium_org/ash/wm/dock/
Ddocked_window_layout_manager.cc370 DCHECK(docked_layout_manager_->shelf()->shelf_widget()); in ShelfWindowObserver()
371 docked_layout_manager_->shelf()->shelf_widget()->GetNativeView() in ShelfWindowObserver()
377 docked_layout_manager_->shelf()->shelf_widget()) in ~ShelfWindowObserver()
378 docked_layout_manager_->shelf()->shelf_widget()->GetNativeView() in ~ShelfWindowObserver()
431 if (shelf_ && shelf_->shelf_widget()) { in Shutdown()
433 shelf_->shelf_widget()->GetNativeWindow()); in Shutdown()
546 if (shelf_->shelf_widget()) { in SetShelf()
548 shelf_->shelf_widget()->GetNativeWindow()); in SetShelf()
775 if (!shelf_ || !shelf_->shelf_widget()) in OnShelfAlignmentChanged()
783 ShelfAlignment shelf_alignment = shelf_->shelf_widget()->GetAlignment(); in OnShelfAlignmentChanged()
/external/chromium_org/ash/system/tray/
Dtray_background_view.cc166 ShelfWidget* shelf_widget = GetShelfWidget(); in Paint() local
167 if (shelf_widget && in Paint()
168 !shelf_widget->shelf_layout_manager()->IsHorizontalAlignment()) in Paint()
174 else if (shelf_widget && shelf_widget->GetDimsShelf()) in Paint()
/external/chromium_org/ash/shell/
Dwindow_watcher.cc46 Shelf::ForWindow(root)->shelf_widget()->window_container(); in RootWindowAdded()
58 Shelf::ForWindow(root)->shelf_widget()->window_container(); in RootWindowRemoved()
/external/chromium_org/ash/wm/panels/
Dpanel_layout_manager.cc312 if (shelf_->shelf_widget()) { in SetShelf()
314 shelf_->shelf_widget()->GetNativeWindow()); in SetShelf()
577 shelf_->shelf_widget()->GetAlignment())); in MinimizePanel()
595 if (!shelf_ || !shelf_->shelf_widget()) in Relayout()
602 ShelfAlignment alignment = shelf_->shelf_widget()->GetAlignment(); in Relayout()
606 panel_container_, shelf_->shelf_widget()->GetWindowBoundsInScreen()); in Relayout()
Dpanel_window_resizer.cc139 shelf_widget()->GetWindowBoundsInScreen()); in AttachToLauncher()
/external/chromium_org/ash/system/web_notification/
Dweb_notification_tray.cc163 shelf_->shelf_widget()->GetNativeView()), in OnDisplayWorkAreaInsetsChanged()
169 shelf_->shelf_widget()->GetNativeView()); in OnAutoHideStateChanged()
/external/chromium_org/ash/wm/
Dwindow_animations.cc472 gfx::Rect shelf_bounds = shelf->shelf_widget()->GetWindowBoundsInScreen(); in GetMinimizeAnimationTargetBoundsInScreen()
Dworkspace_controller_unittest.cc145 ShelfWidget* shelf_widget() { in shelf_widget() function in ash::WorkspaceControllerTest
511 EXPECT_EQ(SHELF_BACKGROUND_MAXIMIZED, shelf_widget()->GetBackgroundType()); in TEST_F()
516 EXPECT_EQ(SHELF_BACKGROUND_DEFAULT, shelf_widget()->GetBackgroundType()); in TEST_F()
/external/chromium_org/ash/display/
Ddisplay_controller_unittest.cc716 Shelf::ForPrimaryDisplay()->shelf_widget()->GetNativeView(); in TEST_F()
847 Shelf::ForPrimaryDisplay()->shelf_widget()->GetNativeView(); in TEST_F()
/external/chromium_org/ash/accelerators/
Daccelerator_controller.cc154 Shelf::ForPrimaryDisplay()->shelf_widget()); in HandleFocusLauncher()
/external/chromium_org/chrome/browser/ui/ash/launcher/
Dchrome_launcher_controller.cc403 (*iter)->shelf_widget()->shelf_layout_manager()->RemoveObserver(this); in ~ChromeLauncherController()
1077 shelf->shelf_widget()->shelf_layout_manager()->AddObserver(this); in OnShelfCreated()

12