Home
last modified time | relevance | path

Searched refs:saved_panel_placement_ (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/chrome/browser/ui/panels/
Ddetached_panel_collection.cc198 DCHECK(!saved_panel_placement_.panel); in SavePanelPlacement()
199 saved_panel_placement_.panel = panel; in SavePanelPlacement()
200 saved_panel_placement_.position = panel->GetBounds().origin(); in SavePanelPlacement()
204 DCHECK(saved_panel_placement_.panel); in RestorePanelToSavedPlacement()
206 gfx::Rect new_bounds(saved_panel_placement_.panel->GetBounds()); in RestorePanelToSavedPlacement()
207 new_bounds.set_origin(saved_panel_placement_.position); in RestorePanelToSavedPlacement()
208 saved_panel_placement_.panel->SetPanelBounds(new_bounds); in RestorePanelToSavedPlacement()
214 DCHECK(saved_panel_placement_.panel); in DiscardSavedPanelPlacement()
215 saved_panel_placement_.panel = NULL; in DiscardSavedPanelPlacement()
Ddocked_panel_collection.cc160 if (saved_panel_placement_.panel && in RemovePanel()
161 saved_panel_placement_.left_panel == panel) in RemovePanel()
162 saved_panel_placement_.left_panel = NULL; in RemovePanel()
171 if (saved_panel_placement_.panel && in RemovePanel()
172 saved_panel_placement_.left_panel == panel) in RemovePanel()
173 saved_panel_placement_.left_panel = *iter; in RemovePanel()
183 DCHECK(!saved_panel_placement_.panel); in SavePanelPlacement()
185 saved_panel_placement_.panel = panel; in SavePanelPlacement()
192 saved_panel_placement_.left_panel = (iter == panels_.end()) ? NULL : *iter; in SavePanelPlacement()
196 DCHECK(saved_panel_placement_.panel); in RestorePanelToSavedPlacement()
[all …]
Dstacked_panel_collection.cc493 DCHECK(!saved_panel_placement_.panel); in SavePanelPlacement()
494 saved_panel_placement_.panel = panel; in SavePanelPlacement()
497 saved_panel_placement_.top_panel = top_panel(); in SavePanelPlacement()
499 saved_panel_placement_.position = panel->GetBounds().origin(); in SavePanelPlacement()
501 saved_panel_placement_.top_panel = top_panel() != panel ? top_panel() : NULL; in SavePanelPlacement()
505 DCHECK(saved_panel_placement_.panel); in RestorePanelToSavedPlacement()
507 if (saved_panel_placement_.top_panel) { in RestorePanelToSavedPlacement()
511 if (saved_panel_placement_.top_panel->stack() != this) { in RestorePanelToSavedPlacement()
513 saved_panel_placement_.top_panel->collection()->type()); in RestorePanelToSavedPlacement()
515 saved_panel_placement_.top_panel, in RestorePanelToSavedPlacement()
[all …]
Ddetached_panel_collection.h92 PanelPlacement saved_panel_placement_; variable
Dstacked_panel_collection.h175 PanelPlacement saved_panel_placement_; variable
Ddocked_panel_collection.h186 PanelPlacement saved_panel_placement_; variable