Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(634)

Side by Side Diff: ash/wm/panels/panel_layout_manager.h

Issue 23654037: Add panels as a single group of windows per display for overview window cycling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ 5 #ifndef ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_
6 #define ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ 6 #define ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 virtual ~PanelLayoutManager(); 64 virtual ~PanelLayoutManager();
65 65
66 // Call Shutdown() before deleting children of panel_container. 66 // Call Shutdown() before deleting children of panel_container.
67 void Shutdown(); 67 void Shutdown();
68 68
69 void StartDragging(aura::Window* panel); 69 void StartDragging(aura::Window* panel);
70 void FinishDragging(); 70 void FinishDragging();
71 71
72 void ToggleMinimize(aura::Window* panel); 72 void ToggleMinimize(aura::Window* panel);
73 73
74 // Returns the callout widget (arrow) for |panel|.
75 views::Widget* GetCalloutWidgetForPanel(aura::Window* panel);
76
74 ash::Launcher* launcher() { return launcher_; } 77 ash::Launcher* launcher() { return launcher_; }
75 void SetLauncher(ash::Launcher* launcher); 78 void SetLauncher(ash::Launcher* launcher);
76 79
77 // Overridden from aura::LayoutManager: 80 // Overridden from aura::LayoutManager:
78 virtual void OnWindowResized() OVERRIDE; 81 virtual void OnWindowResized() OVERRIDE;
79 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE; 82 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE;
80 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE; 83 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE;
81 virtual void OnWindowRemovedFromLayout(aura::Window* child) OVERRIDE; 84 virtual void OnWindowRemovedFromLayout(aura::Window* child) OVERRIDE;
82 virtual void OnChildWindowVisibilityChanged(aura::Window* child, 85 virtual void OnChildWindowVisibilityChanged(aura::Window* child,
83 bool visibile) OVERRIDE; 86 bool visibile) OVERRIDE;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 aura::Window* last_active_panel_; 180 aura::Window* last_active_panel_;
178 base::WeakPtrFactory<PanelLayoutManager> weak_factory_; 181 base::WeakPtrFactory<PanelLayoutManager> weak_factory_;
179 182
180 DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager); 183 DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager);
181 }; 184 };
182 185
183 } // namespace internal 186 } // namespace internal
184 } // namespace ash 187 } // namespace ash
185 188
186 #endif // ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ 189 #endif // ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698