Home
last modified time | relevance | path

Searched refs:PanelManager (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium_org/chrome/browser/ui/panels/
Dpanel_manager.cc90 bool PanelManager::shorten_time_intervals_ = false;
93 PanelManager* PanelManager::GetInstance() { in GetInstance()
94 static base::LazyInstance<PanelManager> instance = LAZY_INSTANCE_INITIALIZER; in GetInstance()
99 void PanelManager::SetDisplaySettingsProviderForTesting( in SetDisplaySettingsProviderForTesting()
105 bool PanelManager::ShouldUsePanels(const std::string& extension_id) { in ShouldUsePanels()
139 bool PanelManager::IsPanelStackingEnabled() { in IsPanelStackingEnabled()
149 bool PanelManager::CanUseSystemMinimize() { in CanUseSystemMinimize()
163 PanelManager::PanelManager() in PanelManager() function in PanelManager
180 PanelManager::~PanelManager() { in ~PanelManager()
189 gfx::Point PanelManager::GetDefaultDetachedPanelOrigin() { in GetDefaultDetachedPanelOrigin()
[all …]
Ddetached_panel_browsertest.cc16 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
24 params.create_mode = PanelManager::CREATE_AS_DETACHED; in IN_PROC_BROWSER_TEST_F()
35 if (!PanelManager::IsPanelStackingEnabled()) in IN_PROC_BROWSER_TEST_F()
44 if (PanelManager::CanUseSystemMinimize() && in IN_PROC_BROWSER_TEST_F()
45 PanelManager::IsPanelStackingEnabled()) { in IN_PROC_BROWSER_TEST_F()
99 PanelManager::GetInstance()->CloseAll(); in IN_PROC_BROWSER_TEST_F()
120 PanelManager::GetInstance()->CloseAll(); in IN_PROC_BROWSER_TEST_F()
149 PanelManager::GetInstance()->CloseAll(); in IN_PROC_BROWSER_TEST_F()
154 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
179 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
[all …]
Dstacked_panel_browsertest.cc21 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
53 if (PanelManager::CanUseSystemMinimize()) in IN_PROC_BROWSER_TEST_F()
115 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
155 if (PanelManager::CanUseSystemMinimize()) in IN_PROC_BROWSER_TEST_F()
212 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
295 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
340 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
447 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
497 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
518 if (PanelManager::CanUseSystemMinimize()) in IN_PROC_BROWSER_TEST_F()
[all …]
Dpanel_manager.h28 class PanelManager : public DisplaySettingsProvider::DisplayObserver,
39 static PanelManager* GetInstance();
191 friend struct base::DefaultLazyInstanceTraits<PanelManager>;
193 PanelManager();
194 virtual ~PanelManager();
240 DISALLOW_COPY_AND_ASSIGN(PanelManager);
Dpanel_resize_browsertest.cc26 gfx::Rect primary_display_area = PanelManager::GetInstance()-> in SetUpOnMainThread()
35 PanelManager* panel_manager = PanelManager::GetInstance(); in ResizePanel()
83 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
199 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
258 PanelManager::GetInstance()->CloseAll(); in IN_PROC_BROWSER_TEST_F()
286 PanelManager::GetInstance()->CloseAll(); in IN_PROC_BROWSER_TEST_F()
298 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
337 PanelManager::GetInstance()->CloseAll(); in IN_PROC_BROWSER_TEST_F()
348 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
415 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
[all …]
Dpanel_resize_controller.h15 class PanelManager; variable
23 explicit PanelResizeController(PanelManager* panel_manager);
41 PanelManager* panel_manager_; // Weak, owns us.
Dpanel_drag_browsertest.cc32 gfx::Rect primary_display_area = PanelManager::GetInstance()-> in SetUpOnMainThread()
279 PanelManager::GetInstance()->CloseAll(); in IN_PROC_BROWSER_TEST_F()
375 PanelManager::GetInstance()->CloseAll(); in IN_PROC_BROWSER_TEST_F()
508 PanelManager::GetInstance()->CloseAll(); in IN_PROC_BROWSER_TEST_F()
595 PanelManager::GetInstance()->CloseAll(); in IN_PROC_BROWSER_TEST_F()
599 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
634 panels = PanelManager::GetInstance()->panels(); in IN_PROC_BROWSER_TEST_F()
652 panels = PanelManager::GetInstance()->panels(); in IN_PROC_BROWSER_TEST_F()
666 panels = PanelManager::GetInstance()->panels(); in IN_PROC_BROWSER_TEST_F()
691 panels = PanelManager::GetInstance()->panels(); in IN_PROC_BROWSER_TEST_F()
[all …]
Dbase_panel_browser_test.cc261 PanelManager::SetDisplaySettingsProviderForTesting( in SetUpOnMainThread()
265 PanelManager* panel_manager = PanelManager::GetInstance(); in SetUpOnMainThread()
268 PanelManager::shorten_time_intervals_for_testing(); in SetUpOnMainThread()
332 create_mode(PanelManager::CREATE_AS_DOCKED), in CreatePanelParams()
352 PanelManager* manager = PanelManager::GetInstance(); in CreatePanelWithParams()
429 PanelManager* panel_manager = panel->manager(); in CreateDetachedPanel()
500 std::vector<Panel*> panels = PanelManager::GetInstance()->panels(); in ActivatePanel()
563 PanelManager* manager = PanelManager::GetInstance(); in CloseWindowAndWait()
596 PanelManager::GetInstance()->mouse_watcher()->NotifyMouseMovement(position); in MoveMouse()
Dpanel_browsertest.cc58 const std::vector<Panel*>& panels = PanelManager::GetInstance()->panels(); in PrintAllPanelBounds()
71 std::vector<Panel*> panels = PanelManager::GetInstance()->panels(); in GetAllPanelBounds()
87 std::vector<Panel*> panels = PanelManager::GetInstance()->panels(); in GetAllPanelExpansionStates()
95 std::vector<Panel*> panels = PanelManager::GetInstance()->panels(); in GetAllPanelActiveStates()
104 std::vector<Panel*> panels = PanelManager::GetInstance()->panels(); in ProduceExpectedActiveStates()
114 std::vector<Panel*> panels = PanelManager::GetInstance()->panels(); in WaitForPanelActiveStates()
130 PanelManager* panel_manager = PanelManager::GetInstance(); in TestMinimizeRestore()
259 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
324 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
345 gfx::Rect work_area = PanelManager::GetInstance()-> in IN_PROC_BROWSER_TEST_F()
[all …]
Ddocked_panel_browsertest.cc22 gfx::Rect primary_display_area = PanelManager::GetInstance()-> in SetUpOnMainThread()
36 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
101 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
150 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
203 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
Dpanel_drag_controller.h14 class PanelManager; variable
24 explicit PanelDragController(PanelManager* panel_manager);
87 PanelManager* panel_manager_; // Weak, owns us.
Dpanel_extension_browsertest.cc54 Panel* panel = PanelManager::GetInstance()->CreatePanel( in CreatePanelFromExtension()
59 PanelManager::CREATE_AS_DETACHED); in CreatePanelFromExtension()
141 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
244 PanelManager* panel_manager = PanelManager::GetInstance(); in IN_PROC_BROWSER_TEST_F()
Ddetached_panel_collection.h15 class PanelManager; variable
23 explicit DetachedPanelCollection(PanelManager* panel_manager);
86 PanelManager* panel_manager_; // Weak, owns us.
Dstacked_panel_collection.h16 class PanelManager; variable
26 explicit StackedPanelCollection(PanelManager* panel_manager);
147 PanelManager* panel_manager_;
Ddocked_panel_collection.h18 class PanelManager; variable
29 explicit DockedPanelCollection(PanelManager* panel_manager);
169 PanelManager* panel_manager_; // Weak, owns us.
Ddetached_panel_collection.cc25 DetachedPanelCollection::DetachedPanelCollection(PanelManager* panel_manager) in DetachedPanelCollection()
177 return PanelManager::IsPanelStackingEnabled() && in CanShowMinimizeButton()
178 PanelManager::CanUseSystemMinimize(); in CanShowMinimizeButton()
262 if (!PanelManager::IsPanelStackingEnabled()) in GetInitialPanelBounds()
Dpanel.h29 class PanelManager; variable
81 PanelManager* manager() const;
329 friend class PanelManager;
Dpanel_bounds_animation.cc43 SetDuration(PanelManager::AdjustTimeInterval(duration)); in PanelBoundsAnimation()
Dbase_panel_browser_test.h58 PanelManager::CreateMode create_mode;
Ddocked_panel_collection.cc45 DockedPanelCollection::DockedPanelCollection(PanelManager* panel_manager) in DockedPanelCollection()
546 PanelManager::AdjustTimeInterval(task_delay_ms))); in BringUpOrDownTitlebars()
758 base::TimeDelta::FromMilliseconds(PanelManager::AdjustTimeInterval( in ScheduleLayoutRefresh()
/external/chromium_org/chrome/browser/task_manager/
Dpanel_information.cc107 std::vector<Panel*> panels = PanelManager::GetInstance()->panels(); in CheckOwnership()
118 std::vector<Panel*> panels = PanelManager::GetInstance()->panels(); in GetAll()
125 std::vector<Panel*> panels = PanelManager::GetInstance()->panels(); in MakeResource()
Dtask_manager_browsertest.cc181 Panel* panel = PanelManager::GetInstance()->CreatePanel( in IN_PROC_BROWSER_TEST_F()
187 PanelManager::CREATE_AS_DOCKED); in IN_PROC_BROWSER_TEST_F()
234 Panel* panel = PanelManager::GetInstance()->CreatePanel( in IN_PROC_BROWSER_TEST_F()
240 PanelManager::CREATE_AS_DOCKED); in IN_PROC_BROWSER_TEST_F()
281 PanelManager::GetInstance()->CreatePanel( in IN_PROC_BROWSER_TEST_F()
287 PanelManager::CREATE_AS_DOCKED); in IN_PROC_BROWSER_TEST_F()
324 PanelManager::GetInstance()->CreatePanel( in IN_PROC_BROWSER_TEST_F()
330 PanelManager::CREATE_AS_DOCKED); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/cocoa/panels/
Dpanel_cocoa_unittest.mm52 PanelManager* manager = PanelManager::GetInstance();
57 PanelManager::CREATE_AS_DOCKED);
97 PanelManager* manager = PanelManager::GetInstance();
119 PanelManager* manager = PanelManager::GetInstance();
285 PanelManager* manager = PanelManager::GetInstance();
/external/chromium_org/chrome/browser/ui/views/panels/
Dpanel_stack_view.cc247 PanelManager::AdjustTimeInterval(kSetBoundsAnimationMs), in EndBatchUpdatePanelBounds()
363 PanelManager* panel_manager = PanelManager::GetInstance(); in AnimationEnded()
/external/chromium_org/chrome/browser/extensions/api/tabs/
Dtabs_api.cc409 PanelManager::CreateMode panel_create_mode = PanelManager::CREATE_AS_DOCKED; in RunSync()
439 bool use_panels = PanelManager::ShouldUsePanels(extension_id); in RunSync()
446 panel_create_mode = PanelManager::CREATE_AS_DETACHED; in RunSync()
480 if (create_panel && PanelManager::CREATE_AS_DETACHED == panel_create_mode) { in RunSync()
482 PanelManager::GetInstance()->GetDefaultDetachedPanelOrigin()); in RunSync()
528 Panel* panel = PanelManager::GetInstance()->CreatePanel( in RunSync()

12