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

Side by Side Diff: ash/wm/dock/docked_window_layout_manager.h

Issue 37733003: Make GetRootWindow() return a Window instead of a RootWindow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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
« no previous file with comments | « ash/wm/coordinate_conversion.cc ('k') | ash/wm/dock/docked_window_layout_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ 5 #ifndef ASH_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_
6 #define ASH_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ 6 #define ASH_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/shelf/shelf_layout_manager_observer.h" 9 #include "ash/shelf/shelf_layout_manager_observer.h"
10 #include "ash/shell_observer.h" 10 #include "ash/shell_observer.h"
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE {} 136 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE {}
137 virtual void OnWindowRemovedFromLayout(aura::Window* child) OVERRIDE; 137 virtual void OnWindowRemovedFromLayout(aura::Window* child) OVERRIDE;
138 virtual void OnChildWindowVisibilityChanged(aura::Window* child, 138 virtual void OnChildWindowVisibilityChanged(aura::Window* child,
139 bool visibile) OVERRIDE; 139 bool visibile) OVERRIDE;
140 virtual void SetChildBounds(aura::Window* child, 140 virtual void SetChildBounds(aura::Window* child,
141 const gfx::Rect& requested_bounds) OVERRIDE; 141 const gfx::Rect& requested_bounds) OVERRIDE;
142 142
143 // ash::ShellObserver: 143 // ash::ShellObserver:
144 virtual void OnDisplayWorkAreaInsetsChanged() OVERRIDE; 144 virtual void OnDisplayWorkAreaInsetsChanged() OVERRIDE;
145 virtual void OnFullscreenStateChanged(bool is_fullscreen, 145 virtual void OnFullscreenStateChanged(bool is_fullscreen,
146 aura::RootWindow* root_window) OVERRIDE; 146 aura::Window* root_window) OVERRIDE;
147 virtual void OnShelfAlignmentChanged(aura::RootWindow* root_window) OVERRIDE; 147 virtual void OnShelfAlignmentChanged(aura::Window* root_window) OVERRIDE;
148 148
149 // wm::WindowStateObserver: 149 // wm::WindowStateObserver:
150 virtual void OnWindowShowTypeChanged(wm::WindowState* window_state, 150 virtual void OnWindowShowTypeChanged(wm::WindowState* window_state,
151 wm::WindowShowType old_type) OVERRIDE; 151 wm::WindowShowType old_type) OVERRIDE;
152 152
153 // aura::WindowObserver: 153 // aura::WindowObserver:
154 virtual void OnWindowBoundsChanged(aura::Window* window, 154 virtual void OnWindowBoundsChanged(aura::Window* window,
155 const gfx::Rect& old_bounds, 155 const gfx::Rect& old_bounds,
156 const gfx::Rect& new_bounds) OVERRIDE; 156 const gfx::Rect& new_bounds) OVERRIDE;
157 virtual void OnWindowVisibilityChanging(aura::Window* window, 157 virtual void OnWindowVisibilityChanging(aura::Window* window,
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 // Observers of dock bounds changes. 273 // Observers of dock bounds changes.
274 ObserverList<DockedWindowLayoutManagerObserver> observer_list_; 274 ObserverList<DockedWindowLayoutManagerObserver> observer_list_;
275 275
276 DISALLOW_COPY_AND_ASSIGN(DockedWindowLayoutManager); 276 DISALLOW_COPY_AND_ASSIGN(DockedWindowLayoutManager);
277 }; 277 };
278 278
279 } // namespace internal 279 } // namespace internal
280 } // namespace ash 280 } // namespace ash
281 281
282 #endif // ASH_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ 282 #endif // ASH_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/wm/coordinate_conversion.cc ('k') | ash/wm/dock/docked_window_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698