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

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

Issue 149303003: [Refactor] Move the logic to update bounds for show type from WorkspaceLayoutManager to DefaultState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 virtual void SetChildBounds(aura::Window* child, 90 virtual void SetChildBounds(aura::Window* child,
91 const gfx::Rect& requested_bounds) OVERRIDE; 91 const gfx::Rect& requested_bounds) OVERRIDE;
92 92
93 // Overridden from ShelfIconObserver 93 // Overridden from ShelfIconObserver
94 virtual void OnShelfIconPositionsChanged() OVERRIDE; 94 virtual void OnShelfIconPositionsChanged() OVERRIDE;
95 95
96 // Overridden from ShellObserver 96 // Overridden from ShellObserver
97 virtual void OnShelfAlignmentChanged(aura::Window* root_window) OVERRIDE; 97 virtual void OnShelfAlignmentChanged(aura::Window* root_window) OVERRIDE;
98 98
99 // Overridden from ash::wm::WindowStateObserver 99 // Overridden from ash::wm::WindowStateObserver
100 virtual void OnWindowShowTypeChanged(wm::WindowState* window_state, 100 virtual void OnPreWindowShowTypeChange(wm::WindowState* window_state,
101 wm::WindowShowType old_type) OVERRIDE; 101 wm::WindowShowType old_type) OVERRIDE;
102 102
103 // Overridden from aura::WindowObserver 103 // Overridden from aura::WindowObserver
104 virtual void OnWindowVisibilityChanged(aura::Window* window, 104 virtual void OnWindowVisibilityChanged(aura::Window* window,
105 bool visible) OVERRIDE; 105 bool visible) OVERRIDE;
106 106
107 // Overridden from aura::client::ActivationChangeObserver 107 // Overridden from aura::client::ActivationChangeObserver
108 virtual void OnWindowActivated(aura::Window* gained_active, 108 virtual void OnWindowActivated(aura::Window* gained_active,
109 aura::Window* lost_active) OVERRIDE; 109 aura::Window* lost_active) OVERRIDE;
110 110
111 // Overridden from DisplayController::Observer 111 // Overridden from DisplayController::Observer
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 aura::Window* last_active_panel_; 188 aura::Window* last_active_panel_;
189 base::WeakPtrFactory<PanelLayoutManager> weak_factory_; 189 base::WeakPtrFactory<PanelLayoutManager> weak_factory_;
190 190
191 DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager); 191 DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager);
192 }; 192 };
193 193
194 } // namespace internal 194 } // namespace internal
195 } // namespace ash 195 } // namespace ash
196 196
197 #endif // ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ 197 #endif // ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698