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

Side by Side Diff: ash/wm/maximize_mode/maximize_mode_window_manager.h

Issue 2884623002: Refactor backdrop (Closed)
Patch Set: . Created 3 years, 7 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_ 5 #ifndef ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_
6 #define ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_ 6 #define ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
125 // Every window which got touched by our window manager gets added here. 125 // Every window which got touched by our window manager gets added here.
126 WindowToState window_state_map_; 126 WindowToState window_state_map_;
127 127
128 // All container windows which have to be tracked. 128 // All container windows which have to be tracked.
129 std::unordered_set<aura::Window*> observed_container_windows_; 129 std::unordered_set<aura::Window*> observed_container_windows_;
130 130
131 // Windows added to the container, but not yet shown. 131 // Windows added to the container, but not yet shown.
132 std::unordered_set<aura::Window*> added_windows_; 132 std::unordered_set<aura::Window*> added_windows_;
133 133
134 // True if all backdrops are hidden.
135 bool backdrops_hidden_;
136
137 std::unique_ptr<wm::MaximizeModeEventHandler> event_handler_; 134 std::unique_ptr<wm::MaximizeModeEventHandler> event_handler_;
138 135
139 DISALLOW_COPY_AND_ASSIGN(MaximizeModeWindowManager); 136 DISALLOW_COPY_AND_ASSIGN(MaximizeModeWindowManager);
140 }; 137 };
141 138
142 } // namespace ash 139 } // namespace ash
143 140
144 #endif // ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_ 141 #endif // ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/wm/maximize_mode/maximize_mode_backdrop_delegate_impl.cc ('k') | ash/wm/maximize_mode/maximize_mode_window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698