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

Side by Side Diff: ash/wm/workspace/workspace_layout_manager.h

Issue 149493008: Use active window if on current workspace for fullscreen mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Only consider the currently active window on current root. 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_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ 5 #ifndef ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_
6 #define ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ 6 #define ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 virtual void OnWindowRemovedFromLayout(aura::Window* child) OVERRIDE; 56 virtual void OnWindowRemovedFromLayout(aura::Window* child) OVERRIDE;
57 virtual void OnChildWindowVisibilityChanged(aura::Window* child, 57 virtual void OnChildWindowVisibilityChanged(aura::Window* child,
58 bool visibile) OVERRIDE; 58 bool visibile) OVERRIDE;
59 virtual void SetChildBounds(aura::Window* child, 59 virtual void SetChildBounds(aura::Window* child,
60 const gfx::Rect& requested_bounds) OVERRIDE; 60 const gfx::Rect& requested_bounds) OVERRIDE;
61 61
62 // ash::ShellObserver overrides: 62 // ash::ShellObserver overrides:
63 virtual void OnDisplayWorkAreaInsetsChanged() OVERRIDE; 63 virtual void OnDisplayWorkAreaInsetsChanged() OVERRIDE;
64 64
65 // Overriden from WindowObserver: 65 // Overriden from WindowObserver:
66 virtual void OnWindowHierarchyChanged(
67 const WindowObserver::HierarchyChangeParams& params) OVERRIDE;
66 virtual void OnWindowPropertyChanged(aura::Window* window, 68 virtual void OnWindowPropertyChanged(aura::Window* window,
67 const void* key, 69 const void* key,
68 intptr_t old) OVERRIDE; 70 intptr_t old) OVERRIDE;
69 virtual void OnWindowStackingChanged(aura::Window* window) OVERRIDE; 71 virtual void OnWindowStackingChanged(aura::Window* window) OVERRIDE;
70 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; 72 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
71 virtual void OnWindowBoundsChanged(aura::Window* window, 73 virtual void OnWindowBoundsChanged(aura::Window* window,
72 const gfx::Rect& old_bounds, 74 const gfx::Rect& old_bounds,
73 const gfx::Rect& new_bounds) OVERRIDE; 75 const gfx::Rect& new_bounds) OVERRIDE;
74 76
75 // aura::client::ActivationChangeObserver overrides: 77 // aura::client::ActivationChangeObserver overrides:
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 // True if this workspace is currently in fullscreen mode. 139 // True if this workspace is currently in fullscreen mode.
138 bool is_fullscreen_; 140 bool is_fullscreen_;
139 141
140 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager); 142 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager);
141 }; 143 };
142 144
143 } // namespace internal 145 } // namespace internal
144 } // namespace ash 146 } // namespace ash
145 147
146 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ 148 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698