Home
last modified time | relevance | path

Searched refs:PanelCollection (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/chrome/browser/ui/panels/
Dpanel_drag_controller.cc189 case PanelCollection::DOCKED: in Drag()
192 case PanelCollection::DETACHED: in Drag()
195 case PanelCollection::STACKED: in Drag()
211 PanelCollection* current_collection = dragging_panel_->collection(); in EndDragging()
217 PanelCollection::PositioningMask positioning_mask = in EndDragging()
218 static_cast<PanelCollection::PositioningMask>( in EndDragging()
219 PanelCollection::DEFAULT_POSITION | in EndDragging()
220 PanelCollection::DO_NOT_UPDATE_BOUNDS); in EndDragging()
236 if (current_collection->type() == PanelCollection::STACKED) in EndDragging()
255 if (dragging_panel_original_collection_->type() == PanelCollection::STACKED) { in EndDragging()
[all …]
Dpanel_collection.cc7 PanelCollection::PanelCollection(Type type) in PanelCollection() function in PanelCollection
11 PanelCollection::~PanelCollection() { in ~PanelCollection()
Dpanel_manager.cc260 PanelCollection::PositioningMask positioning_mask; in CreatePanel()
261 PanelCollection* collection = GetCollectionForNewPanel( in CreatePanel()
284 PanelCollection* PanelManager::GetCollectionForNewPanel( in GetCollectionForNewPanel()
288 PanelCollection::PositioningMask* positioning_mask) { in GetCollectionForNewPanel()
293 *positioning_mask = PanelCollection::DELAY_LAYOUT_REFRESH; in GetCollectionForNewPanel()
298 *positioning_mask = PanelCollection::DEFAULT_POSITION; in GetCollectionForNewPanel()
337 *positioning_mask = static_cast<PanelCollection::PositioningMask>( in GetCollectionForNewPanel()
338 *positioning_mask | PanelCollection::COLLAPSE_TO_FIT); in GetCollectionForNewPanel()
385 PanelCollection::DEFAULT_POSITION); in GetCollectionForNewPanel()
386 *positioning_mask = static_cast<PanelCollection::PositioningMask>( in GetCollectionForNewPanel()
[all …]
Dpanel_drag_browsertest.cc964 EXPECT_EQ(PanelCollection::DOCKED, panel->collection()->type()); in IN_PROC_BROWSER_TEST_F()
976 EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type()); in IN_PROC_BROWSER_TEST_F()
987 EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type()); in IN_PROC_BROWSER_TEST_F()
1026 EXPECT_EQ(PanelCollection::DOCKED, panel->collection()->type()); in IN_PROC_BROWSER_TEST_F()
1038 EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type()); in IN_PROC_BROWSER_TEST_F()
1049 EXPECT_EQ(PanelCollection::DOCKED, panel->collection()->type()); in IN_PROC_BROWSER_TEST_F()
1071 EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type()); in IN_PROC_BROWSER_TEST_F()
1089 EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type()); in IN_PROC_BROWSER_TEST_F()
1102 EXPECT_EQ(PanelCollection::DOCKED, panel->collection()->type()); in IN_PROC_BROWSER_TEST_F()
1111 EXPECT_EQ(PanelCollection::DOCKED, panel->collection()->type()); in IN_PROC_BROWSER_TEST_F()
[all …]
Dpanel_drag_controller.h13 class PanelCollection; variable
84 PanelCollection* target_collection,
85 PanelCollection::PositioningMask positioning_mask) const;
94 PanelCollection* dragging_panel_original_collection_;
Dpanel_manager.h110 PanelCollection* target_collection,
111 PanelCollection::PositioningMask positioning_mask);
209 PanelCollection* GetCollectionForNewPanel(
213 PanelCollection::PositioningMask* positioning_mask);
Dpanel_collection.h16 class PanelCollection {
152 explicit PanelCollection(Type type);
153 virtual ~PanelCollection();
Dstacked_panel_collection.cc20 : PanelCollection(PanelCollection::STACKED), in StackedPanelCollection()
211 if (positioning_mask & PanelCollection::TOP_POSITION) { in AddPanel()
217 if (positioning_mask & PanelCollection::COLLAPSE_TO_FIT) { in AddPanel()
268 if (reason == PanelCollection::PANEL_CLOSED && is_top) { in RemovePanel()
290 if (reason == PanelCollection::PANEL_CLOSED && in RemovePanel()
307 else if (reason == PanelCollection::PANEL_CLOSED) in RemovePanel()
512 DCHECK_EQ(PanelCollection::DETACHED, in RestorePanelToSavedPlacement()
517 static_cast<PanelCollection::PositioningMask>( in RestorePanelToSavedPlacement()
518 PanelCollection::TOP_POSITION | in RestorePanelToSavedPlacement()
519 PanelCollection::NO_LAYOUT_REFRESH)); in RestorePanelToSavedPlacement()
Dpanel.h26 class PanelCollection; variable
173 PanelCollection* collection() const { return collection_; } in collection()
176 void set_collection(PanelCollection* new_collection) { in set_collection()
353 PanelCollection* collection_; // Owned by PanelManager.
Dstacked_panel_drag_handler.cc18 DCHECK_EQ(PanelCollection::STACKED, panel->collection()->type()); in HandleDrag()
52 DCHECK_EQ(PanelCollection::STACKED, panel->collection()->type()); in FinalizeDrag()
Dbase_panel_browser_test.cc438 EXPECT_EQ(PanelCollection::DOCKED, panel->collection()->type()); in CreateDockedPanel()
448 PanelCollection::DEFAULT_POSITION); in CreateDetachedPanel()
449 EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type()); in CreateDetachedPanel()
465 static_cast<PanelCollection::PositioningMask>( in CreateStackedPanel()
466 PanelCollection::DEFAULT_POSITION | in CreateStackedPanel()
467 PanelCollection::COLLAPSE_TO_FIT)); in CreateStackedPanel()
468 EXPECT_EQ(PanelCollection::STACKED, panel->collection()->type()); in CreateStackedPanel()
Ddetached_panel_drag_handler.cc16 DCHECK_EQ(PanelCollection::DETACHED, panel->collection()->type()); in HandleDrag()
Dtest_panel_collection_squeeze_observer.cc16 content::Source<PanelCollection>(collection)), in PanelCollectionSqueezeObserver()
Dstacked_panel_browsertest.cc1128 EXPECT_EQ(PanelCollection::DETACHED, panel1->collection()->type()); in IN_PROC_BROWSER_TEST_F()
1141 EXPECT_EQ(PanelCollection::DETACHED, panel1->collection()->type()); in IN_PROC_BROWSER_TEST_F()
1142 EXPECT_EQ(PanelCollection::DETACHED, new_panel->collection()->type()); in IN_PROC_BROWSER_TEST_F()
1159 EXPECT_EQ(PanelCollection::STACKED, panel1->collection()->type()); in IN_PROC_BROWSER_TEST_F()
1160 EXPECT_EQ(PanelCollection::STACKED, panel2->collection()->type()); in IN_PROC_BROWSER_TEST_F()
1174 EXPECT_EQ(PanelCollection::STACKED, panel1->collection()->type()); in IN_PROC_BROWSER_TEST_F()
1175 EXPECT_EQ(PanelCollection::STACKED, panel2->collection()->type()); in IN_PROC_BROWSER_TEST_F()
1176 EXPECT_EQ(PanelCollection::DETACHED, new_panel->collection()->type()); in IN_PROC_BROWSER_TEST_F()
1216 EXPECT_EQ(PanelCollection::STACKED, panel2->collection()->type()); in IN_PROC_BROWSER_TEST_F()
1217 EXPECT_EQ(PanelCollection::STACKED, panel3->collection()->type()); in IN_PROC_BROWSER_TEST_F()
[all …]
Ddetached_panel_collection.cc26 : PanelCollection(PanelCollection::DETACHED), in DetachedPanelCollection()
Ddocked_panel_collection.cc46 : PanelCollection(PanelCollection::DOCKED), in DockedPanelCollection()
476 dragging_panel->collection()->type() != PanelCollection::DOCKED) in ShouldBringUpTitlebars()
722 content::Source<PanelCollection>(this), in RefreshLayout()
Ddocked_panel_drag_handler.cc16 DCHECK_EQ(PanelCollection::DOCKED, panel->collection()->type()); in HandleDrag()
Ddetached_panel_collection.h18 class DetachedPanelCollection : public PanelCollection {
Dstacked_panel_collection.h21 class StackedPanelCollection : public PanelCollection,
Ddocked_panel_collection.h23 public PanelCollection,
Dpanel.cc499 return collection_ && collection_->type() == PanelCollection::STACKED ? in stack()
/external/chromium_org/chrome/browser/ui/views/panels/
Dpanel_view.cc661 if (panel_->collection()->type() != PanelCollection::DOCKED) in PanelExpansionStateChanging()
1013 panel_->collection()->type() == PanelCollection::DOCKED && in OnWidgetActivationChanged()
/external/chromium_org/chrome/browser/ui/cocoa/panels/
Dpanel_window_controller_cocoa.mm563 if (panel->collection()->type() != PanelCollection::DOCKED ||
655 panel->collection()->type() != PanelCollection::DOCKED)