Home
last modified time | relevance | path

Searched refs:Panel (Results 1 – 25 of 101) sorted by relevance

12345

/external/chromium_org/chrome/browser/ui/panels/
Dstacked_panel_collection.h24 typedef std::list<Panel*> Panels;
32 virtual void AddPanel(Panel* panel,
34 virtual void RemovePanel(Panel* panel, RemovalReason reason) OVERRIDE;
37 Panel* panel,
40 const Panel* panel) const OVERRIDE;
41 virtual void OnPanelResizedByMouse(Panel* panel,
43 virtual void OnPanelAttentionStateChanged(Panel* panel) OVERRIDE;
44 virtual void OnPanelTitlebarClicked(Panel* panel,
46 virtual void ActivatePanel(Panel* panel) OVERRIDE;
47 virtual void MinimizePanel(Panel* panel) OVERRIDE;
[all …]
Dpanel.cc53 PanelExtensionWindowController(Panel* panel, Profile* profile);
70 Panel* panel_; // Weak pointer. Owns us.
75 Panel* panel, Profile* profile) in PanelExtensionWindowController()
159 Panel::~Panel() { in ~Panel()
167 PanelManager* Panel::manager() const { in manager()
171 const std::string Panel::extension_id() const { in extension_id()
175 CommandUpdater* Panel::command_updater() { in command_updater()
179 Profile* Panel::profile() const { in profile()
183 const extensions::Extension* Panel::GetExtension() const { in GetExtension()
191 content::WebContents* Panel::GetWebContents() const { in GetWebContents()
[all …]
Ddetached_panel_collection.h20 typedef std::list<Panel*> Panels;
21 typedef bool (*PanelsComparer)(Panel* panel1, Panel* panel2);
29 virtual void AddPanel(Panel* panel,
31 virtual void RemovePanel(Panel* panel, RemovalReason reason) OVERRIDE;
34 Panel* panel,
37 const Panel* panel) const OVERRIDE;
38 virtual void OnPanelResizedByMouse(Panel* panel,
40 virtual void OnPanelAttentionStateChanged(Panel* panel) OVERRIDE;
41 virtual void OnPanelTitlebarClicked(Panel* panel,
43 virtual void ActivatePanel(Panel* panel) OVERRIDE;
[all …]
Dpanel_collection.h12 class Panel; variable
64 virtual void AddPanel(Panel* panel, PositioningMask positioning_mask) = 0;
69 virtual void RemovePanel(Panel* panel, RemovalReason reason) = 0;
79 virtual void ResizePanelWindow(Panel* panel,
85 const Panel* panel) const = 0;
91 virtual void OnPanelResizedByMouse(Panel* panel,
97 virtual void OnPanelAttentionStateChanged(Panel* panel) = 0;
101 virtual void OnPanelTitlebarClicked(Panel* panel,
105 virtual void OnPanelExpansionStateChanged(Panel* panel) = 0;
108 virtual void OnPanelActiveStateChanged(Panel* panel) = 0;
[all …]
Ddocked_panel_collection.h27 typedef std::list<Panel*> Panels;
43 virtual void AddPanel(Panel* panel,
45 virtual void RemovePanel(Panel* pane, RemovalReason reasonl) OVERRIDE;
48 Panel* panel,
51 const Panel* panel) const OVERRIDE;
52 virtual void OnPanelResizedByMouse(Panel* panel,
54 virtual void OnPanelAttentionStateChanged(Panel* panel) OVERRIDE;
55 virtual void OnPanelTitlebarClicked(Panel* panel,
57 virtual void ActivatePanel(Panel* panel) OVERRIDE;
58 virtual void MinimizePanel(Panel* panel) OVERRIDE;
[all …]
Ddocked_panel_collection.cc82 void DockedPanelCollection::AddPanel(Panel* panel, in AddPanel()
85 DCHECK_EQ(Panel::EXPANDED, panel->expansion_state()); in AddPanel()
149 void DockedPanelCollection::RemovePanel(Panel* panel, RemovalReason reason) { in RemovePanel()
176 if (panel->expansion_state() != Panel::EXPANDED) in RemovePanel()
182 void DockedPanelCollection::SavePanelPlacement(Panel* panel) { in SavePanelPlacement()
198 Panel* panel = saved_panel_placement_.panel; in RestorePanelToSavedPlacement()
205 Panel* next_panel = (next_iter == panels_.end()) ? NULL : *iter; in RestorePanelToSavedPlacement()
235 const Panel* panel) const { in GetPanelResizability()
236 return (panel->expansion_state() == Panel::EXPANDED) ? in GetPanelResizability()
240 void DockedPanelCollection::OnPanelResizedByMouse(Panel* panel, in OnPanelResizedByMouse()
[all …]
Ddetached_panel_collection.cc40 Panel* panel = *iter; in OnDisplayChanged()
75 Panel* panel = *iter; in RefreshLayout()
77 panel->expansion_state() != Panel::EXPANDED) in RefreshLayout()
78 panel->SetExpansionState(Panel::EXPANDED); in RefreshLayout()
82 void DetachedPanelCollection::AddPanel(Panel* panel, in AddPanel()
95 void DetachedPanelCollection::RemovePanel(Panel* panel, RemovalReason reason) { in RemovePanel()
110 void DetachedPanelCollection::OnPanelAttentionStateChanged(Panel* panel) { in OnPanelAttentionStateChanged()
115 void DetachedPanelCollection::OnPanelTitlebarClicked(Panel* panel, in OnPanelTitlebarClicked()
122 Panel* panel, in ResizePanelWindow()
146 void DetachedPanelCollection::ActivatePanel(Panel* panel) { in ActivatePanel()
[all …]
Dbase_panel_browser_test.h66 Panel* CreatePanelWithParams(const CreatePanelParams& params);
67 Panel* CreatePanelWithBounds(const std::string& panel_name,
69 Panel* CreatePanel(const std::string& panel_name);
71 Panel* CreateDockedPanel(const std::string& name, const gfx::Rect& bounds);
72 Panel* CreateDetachedPanel(const std::string& name, const gfx::Rect& bounds);
73 Panel* CreateStackedPanel(const std::string& name,
77 Panel* CreateInactivePanel(const std::string& name);
78 Panel* CreateInactiveDockedPanel(const std::string& name,
80 Panel* CreateInactiveDetachedPanel(const std::string& name,
83 void ActivatePanel(Panel* panel);
[all …]
Dstacked_panel_collection.cc86 Panel* panel = panels_.front(); in RefreshLayoutWithTopPanelStartingAt()
105 Panel* panel = *iter; in RefreshLayoutWithTopPanelStartingAt()
129 panel->expansion_state() == Panel::EXPANDED ? in RefreshLayoutWithTopPanelStartingAt()
146 Panel* panel = panels_.front(); in GetTitle()
184 Panel* active_panel = NULL; in MinimizePanelsForSpace()
186 Panel* most_recently_active_panel = most_recently_active_panels_.front(); in MinimizePanelsForSpace()
196 Panel* current_panel = *iter; in MinimizePanelsForSpace()
206 void StackedPanelCollection::AddPanel(Panel* panel, in AddPanel()
210 Panel* adjacent_panel = NULL; in AddPanel()
259 void StackedPanelCollection::RemovePanel(Panel* panel, RemovalReason reason) { in RemovePanel()
[all …]
Dpanel_browsertest.cc58 const std::vector<Panel*>& panels = PanelManager::GetInstance()->panels(); in PrintAllPanelBounds()
71 std::vector<Panel*> panels = PanelManager::GetInstance()->panels(); in GetAllPanelBounds()
86 std::vector<Panel::ExpansionState> GetAllPanelExpansionStates() { in GetAllPanelExpansionStates()
87 std::vector<Panel*> panels = PanelManager::GetInstance()->panels(); in GetAllPanelExpansionStates()
88 std::vector<Panel::ExpansionState> expansion_states; 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()
131 std::vector<Panel*> panels = panel_manager->panels(); in TestMinimizeRestore()
134 std::vector<Panel::ExpansionState> expected_expansion_states( in TestMinimizeRestore()
[all …]
Ddocked_panel_browsertest.cc40 Panel* panel1 = CreateInactiveDockedPanel("1", gfx::Rect(0, 0, 200, 100)); in IN_PROC_BROWSER_TEST_F()
41 Panel* panel2 = CreateInactiveDockedPanel("2", gfx::Rect(0, 0, 200, 100)); in IN_PROC_BROWSER_TEST_F()
42 Panel* panel3 = CreateInactiveDockedPanel("3", gfx::Rect(0, 0, 200, 100)); in IN_PROC_BROWSER_TEST_F()
51 Panel* panel4 = CreateInactiveDockedPanel("4", gfx::Rect(0, 0, 200, 100)); in IN_PROC_BROWSER_TEST_F()
52 Panel* panel5 = CreateInactiveDockedPanel("5", gfx::Rect(0, 0, 200, 100)); in IN_PROC_BROWSER_TEST_F()
53 Panel* panel6 = CreateInactiveDockedPanel("6", gfx::Rect(0, 0, 200, 100)); in IN_PROC_BROWSER_TEST_F()
54 Panel* panel7 = CreateDockedPanel("7", gfx::Rect(0, 0, 200, 100)); in IN_PROC_BROWSER_TEST_F()
105 Panel* panel1 = CreateInactiveDockedPanel("1", gfx::Rect(0, 0, 200, 100)); in IN_PROC_BROWSER_TEST_F()
106 Panel* panel2 = CreateInactiveDockedPanel("2", gfx::Rect(0, 0, 200, 100)); in IN_PROC_BROWSER_TEST_F()
107 Panel* panel3 = CreateInactiveDockedPanel("3", gfx::Rect(0, 0, 200, 100)); in IN_PROC_BROWSER_TEST_F()
[all …]
Dbase_panel_browser_test.cc281 Panel* panel, ActiveState expected_state) { in WaitForPanelActiveState()
296 void BasePanelBrowserTest::WaitForWindowSizeAvailable(Panel* panel) { in WaitForWindowSizeAvailable()
301 content::Source<Panel>(panel)); in WaitForWindowSizeAvailable()
308 void BasePanelBrowserTest::WaitForBoundsAnimationFinished(Panel* panel) { in WaitForBoundsAnimationFinished()
316 content::Source<Panel>(panel)); in WaitForBoundsAnimationFinished()
336 Panel* BasePanelBrowserTest::CreatePanelWithParams( in CreatePanelWithParams()
353 Panel* panel = manager->CreatePanel( in CreatePanelWithParams()
408 Panel* BasePanelBrowserTest::CreatePanelWithBounds( in CreatePanelWithBounds()
414 Panel* BasePanelBrowserTest::CreatePanel(const std::string& panel_name) { in CreatePanel()
419 Panel* BasePanelBrowserTest::CreateDockedPanel(const std::string& name, in CreateDockedPanel()
[all …]
Dpanel_manager.cc54 bool ComparePanelsByPosition(Panel* panel1, Panel* panel2) { in ComparePanelsByPosition()
83 bool CompareDetachedPanels(Panel* panel1, Panel* panel2) { in CompareDetachedPanels()
202 std::vector<Panel*> all_panels = panels(); in OnFullScreenModeChanged()
203 for (std::vector<Panel*>::const_iterator iter = all_panels.begin(); in OnFullScreenModeChanged()
217 Panel* PanelManager::CreatePanel(const std::string& app_name, in CreatePanel()
255 Panel* panel = new Panel(profile, app_name, min_size, max_size); in CreatePanel()
285 Panel* new_panel, in GetCollectionForNewPanel()
322 Panel* panel = stack->bottom_panel(); in GetCollectionForNewPanel()
359 Panel* panel = *iter; in GetCollectionForNewPanel()
396 void PanelManager::OnPanelClosed(Panel* panel) { in OnPanelClosed()
[all …]
Dstacked_panel_browsertest.cc26 Panel* panel1 = CreateStackedPanel("1", panel1_initial_bounds, stack); in IN_PROC_BROWSER_TEST_F()
28 Panel* panel2 = CreateStackedPanel("2", panel2_initial_bounds, stack); in IN_PROC_BROWSER_TEST_F()
30 Panel* panel3 = CreateStackedPanel("3", panel3_initial_bounds, stack); in IN_PROC_BROWSER_TEST_F()
103 Panel::AttentionMode expected_attention_mode = in IN_PROC_BROWSER_TEST_F()
104 static_cast<Panel::AttentionMode>(Panel::USE_PANEL_ATTENTION | in IN_PROC_BROWSER_TEST_F()
105 Panel::USE_SYSTEM_ATTENTION); in IN_PROC_BROWSER_TEST_F()
120 Panel* panel1 = CreateStackedPanel("1", panel1_initial_bounds, stack); in IN_PROC_BROWSER_TEST_F()
122 Panel* panel2 = CreateStackedPanel("2", panel2_initial_bounds, stack); in IN_PROC_BROWSER_TEST_F()
124 Panel* panel3 = CreateStackedPanel("3", panel3_initial_bounds, stack); in IN_PROC_BROWSER_TEST_F()
201 Panel::AttentionMode expected_attention_mode = in IN_PROC_BROWSER_TEST_F()
[all …]
Dpanel_manager.h69 Panel* CreatePanel(const std::string& app_name,
79 void OnPanelClosed(Panel* panel);
94 void StartDragging(Panel* panel, const gfx::Point& mouse_location);
100 void StartResizingByMouse(Panel* panel, const gfx::Point& mouse_location,
106 void OnPanelExpansionStateChanged(Panel* panel);
109 void MovePanelToCollection(Panel* panel,
120 std::vector<Panel*> GetDetachedAndStackedPanels() const;
123 std::vector<Panel*> panels() const;
169 void OnPanelAnimationEnded(Panel* panel);
210 Panel* new_panel,
Dpanel_drag_controller.h12 class Panel; variable
29 void StartDragging(Panel* panel, const gfx::Point& mouse_location);
34 void OnPanelClosed(Panel* panel);
37 Panel* dragging_panel() const { return dragging_panel_; } in dragging_panel()
75 Panel* FindPanelToGlue(const gfx::Point& potential_position,
83 Panel* panel,
91 Panel* dragging_panel_;
Dnative_panel_stack_window.h12 class Panel; variable
56 virtual void AddPanel(Panel* panel) = 0;
60 virtual void RemovePanel(Panel* panel) = 0;
70 virtual bool HasPanel(Panel* panel) const = 0;
78 virtual void AddPanelBoundsForBatchUpdate(Panel* panel,
94 virtual void OnPanelActivated(Panel* panel) = 0;
Dpanel_resize_controller.h14 class Panel; variable
27 void StartResizing(Panel* panel,
33 Panel* EndResizing(bool cancelled);
36 void OnPanelClosed(Panel* panel);
44 Panel* resizing_panel_;
Ddetached_panel_browsertest.cc25 Panel* panel = CreatePanelWithParams(params); in IN_PROC_BROWSER_TEST_F()
56 Panel::AttentionMode expected_attention_mode = in IN_PROC_BROWSER_TEST_F()
57 static_cast<Panel::AttentionMode>(Panel::USE_PANEL_ATTENTION | in IN_PROC_BROWSER_TEST_F()
58 Panel::USE_SYSTEM_ATTENTION); in IN_PROC_BROWSER_TEST_F()
66 Panel* panel = CreateDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); in IN_PROC_BROWSER_TEST_F()
82 Panel* panel = in IN_PROC_BROWSER_TEST_F()
104 Panel* panel = in IN_PROC_BROWSER_TEST_F()
124 Panel* panel = CreateDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); in IN_PROC_BROWSER_TEST_F()
158 Panel* panel = CreateDetachedPanel("1", initial_bounds); in IN_PROC_BROWSER_TEST_F()
194 Panel* panel = CreateDetachedPanel("1", initial_bounds); in IN_PROC_BROWSER_TEST_F()
[all …]
Dpanel_drag_browsertest.cc39 void DragPanelByDelta(Panel* panel, const gfx::Vector2d& delta) { in DragPanelByDelta()
49 void DragPanelToMouseLocation(Panel* panel, in DragPanelToMouseLocation()
93 static gfx::Vector2d GetDragDeltaToRemainDetached(Panel* panel) { in GetDragDeltaToRemainDetached()
103 static gfx::Vector2d GetDragDeltaToAttach(Panel* panel) { in GetDragDeltaToAttach()
115 static gfx::Vector2d GetDragDeltaToStackToBottom(Panel* panel1, in GetDragDeltaToStackToBottom()
116 Panel* panel2) { in GetDragDeltaToStackToBottom()
127 static gfx::Vector2d GetDragDeltaToUnstackFromBottom(Panel* panel1, in GetDragDeltaToUnstackFromBottom()
128 Panel* panel2) { in GetDragDeltaToUnstackFromBottom()
136 static gfx::Vector2d GetDragDeltaToStackToTop(Panel* panel1, Panel* panel2) { in GetDragDeltaToStackToTop()
150 static gfx::Vector2d GetDragDeltaToUnstackFromTop(Panel* panel1, in GetDragDeltaToUnstackFromTop()
[all …]
Ddocked_panel_drag_handler.h10 class Panel; variable
18 static void HandleDrag(Panel* panel, const gfx::Point& target_position);
21 static void DragLeft(Panel* panel);
22 static void DragRight(Panel* panel);
Dtest_panel_collection_squeeze_observer.h11 class Panel; variable
23 Panel* active_panel);
30 bool IsSqueezed(Panel* panel);
33 Panel* active_panel_;
/external/chromium_org/chrome/browser/ui/cocoa/panels/
Dpanel_stack_window_cocoa.h20 class Panel; variable
37 virtual void AddPanel(Panel* panel) OVERRIDE;
38 virtual void RemovePanel(Panel* panel) OVERRIDE;
41 virtual bool HasPanel(Panel* panel) const OVERRIDE;
44 virtual void AddPanelBoundsForBatchUpdate(Panel* panel,
51 virtual void OnPanelActivated(Panel* panel) OVERRIDE;
54 typedef std::list<Panel*> Panels;
57 typedef std::map<Panel*, gfx::Rect> BoundsUpdates;
Dpanel_cocoa_unittest.mm32 PanelAnimatedBoundsObserver(Panel* panel)
35 content::Source<Panel>(panel)) { }
46 Panel* CreateTestPanel(const std::string& panel_name) {
47 // Opening panels on a Mac causes NSWindowController of the Panel window
55 Panel* panel = manager->CreatePanel(panel_name, profile(),
93 void ClosePanelAndWait(Panel* panel) {
101 content::Source<Panel>(panel));
122 Panel* panel = CreateTestPanel("Test Panel");
140 Panel* panel1 = CreateTestPanel("Test Panel 1");
141 Panel* panel2 = CreateTestPanel("Test Panel 2");
[all …]
/external/chromium_org/chrome/browser/ui/views/panels/
Dpanel_stack_view.h46 virtual void AddPanel(Panel* panel) OVERRIDE;
47 virtual void RemovePanel(Panel* panel) OVERRIDE;
50 virtual bool HasPanel(Panel* panel) const OVERRIDE;
54 Panel* panel, const gfx::Rect& new_bounds) OVERRIDE;
60 virtual void OnPanelActivated(Panel* panel) OVERRIDE;
63 typedef std::list<Panel*> Panels;
66 typedef std::map<Panel*, gfx::Rect> BoundsUpdates;
93 static void MakeStackWindowOwnPanelWindow(Panel* panel,

12345