Lines Matching refs:Panels
5 #include "chrome/browser/ui/panels/panel_manager.h"
13 #include "chrome/browser/ui/panels/detached_panel_collection.h"
14 #include "chrome/browser/ui/panels/docked_panel_collection.h"
15 #include "chrome/browser/ui/panels/panel_drag_controller.h"
16 #include "chrome/browser/ui/panels/panel_mouse_watcher.h"
17 #include "chrome/browser/ui/panels/panel_resize_controller.h"
18 #include "chrome/browser/ui/panels/stacked_panel_collection.h"
70 // The stack with more panels will appear first.
107 // If --enable-panels is on, always use panels on Linux.
111 // Otherwise, panels are only supported on tested window managers.
202 std::vector<Panel*> all_panels = panels();
290 // Delay layout refreshes in case multiple panels are created within
308 // 1) Search from the stack with more panels to the stack with least panels.
309 // 2) Amongs the stacks with same number of panels, search from the right-
311 // 3) Among the stack with same number of panels and same x position,
314 // panels being collapsed, move to next stack.
349 // 2) Among the detached panels with same x position, search from the
356 for (DetachedPanelCollection::Panels::const_iterator iter =
357 detached_collection_->panels().begin();
358 iter != detached_collection_->panels().end(); ++iter) {
524 std::vector<Panel*> PanelManager::panels() const {
525 std::vector<Panel*> panels;
526 for (DetachedPanelCollection::Panels::const_iterator iter =
527 detached_collection_->panels().begin();
528 iter != detached_collection_->panels().end(); ++iter)
529 panels.push_back(*iter);
530 for (DockedPanelCollection::Panels::const_iterator iter =
531 docked_collection_->panels().begin();
532 iter != docked_collection_->panels().end(); ++iter)
533 panels.push_back(*iter);
536 for (StackedPanelCollection::Panels::const_iterator iter =
537 (*stack_iter)->panels().begin();
538 iter != (*stack_iter)->panels().end(); ++iter) {
539 panels.push_back(*iter);
542 return panels;
546 std::vector<Panel*> panels;
547 for (DetachedPanelCollection::Panels::const_iterator iter =
548 detached_collection_->panels().begin();
549 iter != detached_collection_->panels().end(); ++iter)
550 panels.push_back(*iter);
553 for (StackedPanelCollection::Panels::const_iterator iter =
554 (*stack_iter)->panels().begin();
555 iter != (*stack_iter)->panels().end(); ++iter) {
556 panels.push_back(*iter);
559 return panels;