Home
last modified time | relevance | path

Searched refs:shelf_ (Results 1 – 25 of 35) sorted by relevance

12

/external/chromium_org/chrome/browser/ui/cocoa/download/
Ddownload_shelf_controller_unittest.mm95 shelf_.reset([[CountingDownloadShelfController alloc]
98 EXPECT_TRUE([shelf_ view]);
99 [[test_window() contentView] addSubview:[shelf_ view]];
103 if (shelf_.get()) {
104 [shelf_ exiting];
105 shelf_.reset();
113 base::scoped_nsobject<CountingDownloadShelfController> shelf_;
142 TEST_VIEW(DownloadShelfControllerTest, [shelf_ view]);
148 [shelf_ showDownloadShelf:YES
150 EXPECT_TRUE([shelf_ isVisible]);
[all …]
/external/chromium_org/ash/shelf/
Dshelf_layout_manager.cc124 ShelfLayoutManager* shelf_; member in ash::internal::ShelfLayoutManager::AutoHideEventFilter
132 : shelf_(shelf), in AutoHideEventFilter()
148 !shelf_->IsShelfWindow(static_cast<aura::Window*>(event->target())); in OnMouseEvent()
150 shelf_->UpdateAutoHideState(); in OnMouseEvent()
156 if (shelf_->IsShelfWindow(static_cast<aura::Window*>(event->target()))) { in OnGestureEvent()
169 explicit UpdateShelfObserver(ShelfLayoutManager* shelf) : shelf_(shelf) { in UpdateShelfObserver()
170 shelf_->update_shelf_observer_ = this; in UpdateShelfObserver()
174 shelf_ = NULL; in Detach()
178 if (shelf_) in OnImplicitAnimationsCompleted()
179 shelf_->UpdateShelfBackground(BACKGROUND_CHANGE_ANIMATE); in OnImplicitAnimationsCompleted()
[all …]
Dshelf_widget.cc112 ash::ShelfWidget* shelf_; member in __anon4a65faea0111::DimmerView
137 : shelf_(shelf_widget), in DimmerView()
180 if (shelf_->GetAlignment() != ash::SHELF_ALIGNMENT_BOTTOM) { in OnPaintBackground()
183 shelf_->shelf_layout_manager()->SelectValueForShelfAlignment( in OnPaintBackground()
306 ShelfWidget* shelf_; member in ash::ShelfWidget::DelegateView
322 : shelf_(shelf), in DelegateView()
351 params.parent = shelf_->GetNativeView(); in SetDimmed()
354 dimmer_->SetBounds(shelf_->GetWindowBoundsInScreen()); in SetDimmed()
357 dimmer_view_ = new DimmerView(shelf_, disable_dimming_animations_for_test_); in SetDimmed()
361 shelf_->GetNativeView()->AddObserver(this); in SetDimmed()
[all …]
Dshelf_bezel_event_filter.cc17 : shelf_(shelf), in ShelfBezelEventFilter()
56 switch (shelf_->GetAlignment()) { in IsShelfOnBezel()
Dshelf_bezel_event_filter.h30 ShelfLayoutManager* shelf_; // non-owned variable
Dshelf_layout_manager.h147 ShelfWidget* shelf_widget() { return shelf_; } in shelf_widget()
359 ShelfWidget* shelf_; variable
/external/chromium_org/ash/system/web_notification/
Dweb_notification_tray.cc103 ShelfLayoutManager* shelf_; member in ash::internal::WorkAreaObserver
112 shelf_(NULL), in WorkAreaObserver()
125 if (shelf_ && shelf_->visibility_state() == SHELF_AUTO_HIDE && in SetSystemTrayHeight()
126 shelf_->auto_hide_state() == SHELF_AUTO_HIDE_SHOWN) { in SetSystemTrayHeight()
134 if (!shelf_) in SetSystemTrayHeight()
137 OnAutoHideStateChanged(shelf_->auto_hide_state()); in SetSystemTrayHeight()
149 OnAutoHideStateChanged(shelf_->auto_hide_state()); in StartObserving()
154 if (shelf_) in StopObserving()
155 shelf_->RemoveObserver(this); in StopObserving()
157 shelf_ = NULL; in StopObserving()
[all …]
/external/chromium_org/ash/wm/
Dstatus_area_layout_manager.cc22 shelf_(shelf) { in StatusAreaLayoutManager()
54 if (child != shelf_->status_area_widget()->GetNativeView() || in_layout_) { in SetChildBounds()
73 if (shelf_->shelf_layout_manager()->updating_bounds()) in LayoutStatusArea()
77 shelf_->shelf_layout_manager()->LayoutShelf(); in LayoutStatusArea()
Dworkspace_controller.cc44 shelf_(NULL), in WorkspaceController()
65 if (!shelf_) in GetWindowState()
80 const gfx::Rect shelf_bounds(shelf_->GetIdealBounds()); in GetWindowState()
103 return (window_overlaps_launcher || IsDockedAreaVisible(shelf_)) ? in GetWindowState()
109 shelf_ = shelf; in SetShelf()
Dworkspace_controller.h45 internal::ShelfLayoutManager* shelf_; variable
Dstatus_area_layout_manager.h43 ShelfWidget* shelf_; variable
/external/chromium_org/ash/
Droot_window_controller.cc346 if (!shelf_->launcher()) in ShowLauncher()
348 shelf_->launcher()->SetVisible(true); in ShowLauncher()
349 shelf_->status_area_widget()->Show(); in ShowLauncher()
354 panel_layout_manager_->SetLauncher(shelf_->launcher()); in OnLauncherCreated()
356 docked_layout_manager_->SetLauncher(shelf_->launcher()); in OnLauncherCreated()
357 if (shelf_->shelf_layout_manager()) in OnLauncherCreated()
358 docked_layout_manager_->AddObserver(shelf_->shelf_layout_manager()); in OnLauncherCreated()
366 if (shelf_->status_area_widget()) in UpdateAfterLoginStatusChange()
367 shelf_->status_area_widget()->UpdateAfterLoginStatusChange(status); in UpdateAfterLoginStatusChange()
428 if (shelf_ && shelf_->shelf_layout_manager()) in CloseChildWindows()
[all …]
Droot_window_controller.h127 ShelfWidget* shelf() { return shelf_.get(); } in shelf()
276 scoped_ptr<ShelfWidget> shelf_; variable
/external/chromium/chrome/browser/ui/gtk/download/
Ddownload_shelf_gtk.cc108 shelf_.Own(gtk_event_box_new()); in DownloadShelfGtk()
109 gtk_container_add(GTK_CONTAINER(shelf_.get()), vbox); in DownloadShelfGtk()
138 slide_widget_.reset(new SlideAnimatorGtk(shelf_.get(), in DownloadShelfGtk()
147 gtk_widget_show_all(shelf_.get()); in DownloadShelfGtk()
163 shelf_.Destroy(); in ~DownloadShelfGtk()
192 gdk_window_raise(shelf_.get()->window); in Close()
358 gfx::Rect bounds(gtk_util::GetWidgetScreenPosition(shelf_.get()), in IsCursorInShelfZone()
359 gfx::Size(shelf_.get()->allocation.width, in IsCursorInShelfZone()
360 shelf_.get()->allocation.height)); in IsCursorInShelfZone()
/external/chromium_org/chrome/browser/ui/gtk/download/
Ddownload_shelf_gtk.cc119 shelf_.Own(gtk_event_box_new()); in DownloadShelfGtk()
120 gtk_container_add(GTK_CONTAINER(shelf_.get()), vbox); in DownloadShelfGtk()
148 slide_widget_.reset(new SlideAnimatorGtk(shelf_.get(), in DownloadShelfGtk()
157 gtk_widget_show_all(shelf_.get()); in DownloadShelfGtk()
172 shelf_.Destroy(); in ~DownloadShelfGtk()
204 gdk_window_raise(gtk_widget_get_window(shelf_.get())); in DoClose()
380 bool realized = (shelf_.get() && in IsCursorInShelfZone()
381 gtk_widget_get_window(shelf_.get())); in IsCursorInShelfZone()
387 gfx::Rect bounds = ui::GetWidgetScreenBounds(shelf_.get()); in IsCursorInShelfZone()
/external/chromium_org/chrome/browser/ui/gtk/notifications/
Dballoon_view_gtk.cc99 shelf_(NULL), in BalloonViewImpl()
240 shelf_ = gtk_hbox_new(FALSE, 0); in Show()
241 gtk_widget_set_size_request(GTK_WIDGET(shelf_), -1, GetShelfHeight()); in Show()
242 gtk_container_add(GTK_CONTAINER(vbox), shelf_); in Show()
259 gtk_box_pack_start(GTK_BOX(shelf_), label_alignment, FALSE, FALSE, 0); in Show()
275 gtk_box_pack_end(GTK_BOX(shelf_), close_alignment, FALSE, FALSE, in Show()
291 gtk_box_pack_end(GTK_BOX(shelf_), options_alignment, FALSE, FALSE, 0); in Show()
/external/chromium_org/chrome/browser/ui/cocoa/notifications/
Dballoon_controller.mm92 [shelf_ addSubview:closeButton_];
108 [shelf_ removeTrackingRect:closeButtonTrackingTag_];
110 closeButtonTrackingTag_ = [shelf_ addTrackingRect:[closeButton_ frame]
158 [shelf_ removeTrackingRect:closeButtonTrackingTag_];
205 kTopMargin + kBottomMargin + [shelf_ frame].size.height;
Dballoon_controller.h35 IBOutlet BalloonShelfViewCocoa* shelf_; variable
/external/chromium/chrome/browser/ui/cocoa/notifications/
Dballoon_controller.mm93 [shelf_ addSubview:closeButton_];
109 [shelf_ removeTrackingRect:closeButtonTrackingTag_];
111 closeButtonTrackingTag_ = [shelf_ addTrackingRect:[closeButton_ frame]
159 [shelf_ removeTrackingRect:closeButtonTrackingTag_];
205 kTopMargin + kBottomMargin + [shelf_ frame].size.height;
Dballoon_controller.h37 IBOutlet BalloonShelfViewCocoa* shelf_; variable
/external/chromium_org/ash/system/user/
Dtray_user_unittest.cc51 ShelfLayoutManager* shelf() { return shelf_; } in shelf()
60 ShelfLayoutManager* shelf_; member in ash::internal::TrayUserTest
93 : shelf_(NULL), in TrayUserTest()
101 shelf_ = Shell::GetPrimaryRootWindowController()->GetShelfLayoutManager(); in SetUp()
/external/chromium_org/chrome/browser/download/
Ddownload_shelf_unittest.cc48 return &shelf_; in shelf()
69 TestDownloadShelf shelf_; member in __anon5a0328580111::DownloadShelfTest
99 shelf_.set_download_manager(download_manager_.get()); in DownloadShelfTest()
/external/chromium_org/chrome/browser/ui/views/download/
Ddownload_item_view.cc93 shelf_(parent), in DownloadItemView()
243 shelf_->SchedulePaint(); in OnExtractIconComplete()
259 shelf_->Layout(); in OnDownloadUpdated()
280 shelf_->RemoveDownloadView(this); // This will delete us! in OnDownloadUpdated()
314 shelf_->SchedulePaint(); in OnDownloadUpdated()
318 shelf_->RemoveDownloadView(this); // This will delete us! in OnDownloadDestroyed()
330 shelf_->OpenedDownload(this); in OnDownloadOpened()
549 shelf_->RemoveDownloadView(this); in ButtonPressed()
977 new DownloadShelfContextMenuView(download(), shelf_->GetNavigator())); in ShowContextMenuImpl()
1114 shelf_->Layout(); in ClearWarningDialog()
[all …]
/external/chromium_org/ash/wm/workspace/
Dworkspace_layout_manager.cc72 shelf_(NULL), in WorkspaceLayoutManager()
84 shelf_ = shelf; in SetShelf()
291 if (shelf_) in UpdateShelfVisibility()
292 shelf_->UpdateVisibilityState(); in UpdateShelfVisibility()
/external/chromium/chrome/browser/ui/gtk/notifications/
Dballoon_view_gtk.cc237 shelf_ = gtk_hbox_new(0, 0); in Show()
238 gtk_container_add(GTK_CONTAINER(vbox), shelf_); in Show()
251 gtk_container_add(GTK_CONTAINER(shelf_), hbox_); in Show()

12