Lines Matching refs:panels

5 #include "chrome/browser/ui/panels/panel_drag_controller.h"
8 #include "chrome/browser/ui/panels/detached_panel_collection.h"
9 #include "chrome/browser/ui/panels/detached_panel_drag_handler.h"
10 #include "chrome/browser/ui/panels/docked_panel_collection.h"
11 #include "chrome/browser/ui/panels/docked_panel_drag_handler.h"
12 #include "chrome/browser/ui/panels/panel.h"
13 #include "chrome/browser/ui/panels/panel_manager.h"
14 #include "chrome/browser/ui/panels/stacked_panel_collection.h"
15 #include "chrome/browser/ui/panels/stacked_panel_drag_handler.h"
27 // The minimum distance and overlap (in pixels) between two panels such that
89 stack->panels().begin();
90 iter != stack->panels().end(); ++iter) {
247 // when the stack has more than 2 panels and the 2nd top panel is unstacked
248 // from the top panel: the top panel is detached while all other panels
370 // Move the panel (and all the panels below if in a stack) to the new
402 // Check if a panel or a set of stacked panels (being dragged together from a
417 // Count the number of panels that might need to unstack.
422 dragging_stack->panels().begin();
423 iter != dragging_stack->panels().end(); ++iter) {
458 // If there're only 2 panels in the stack, both panels should move out of the
480 // If all the panels except the bottom panel need to unstack, simply move
490 // Otherwise, move all unstacked panels to a new stack.
491 // Note that all the panels to move should be copied to a local list first
495 dragging_stack->panels().begin();
496 iter != dragging_stack->panels().end(); ++iter) {
514 // Check if a panel or a set of stacked panels (being dragged together from a
545 // If there're only 2 panels in the stack, both panels should move out the
557 // There're at least 3 panels.
580 // There're at least 4 panels.
583 // We can split them into 2 stacks by moving the dragging panel and all panels
584 // below to a new stack while keeping all panels above in the same stack.
595 // Snapping does not apply to docked panels.
677 // Go through all non-docked panels.
678 std::vector<Panel*> panels = panel_manager_->GetDetachedAndStackedPanels();
679 for (std::vector<Panel*>::const_iterator iter = panels.begin();
680 iter != panels.end(); ++iter) {
777 // Note that all the panels to move should be copied to a local list first
780 StackedPanelCollection::Panels::const_iterator iter = stack->panels().begin();
781 for (; iter != stack->panels().end(); ++iter)
784 for (; iter != stack->panels().end(); ++iter) {
785 // Note that if the panels are going to be inserted from the top, we need