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

Side by Side Diff: ash/display/display_controller.h

Issue 14188054: Restore focus/activation after the root window has been completely deleted. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
« no previous file with comments | « no previous file | ash/display/display_controller.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) 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_DISPLAY_DISPLAY_CONTROLLER_H_ 5 #ifndef ASH_DISPLAY_DISPLAY_CONTROLLER_H_
6 #define ASH_DISPLAY_DISPLAY_CONTROLLER_H_ 6 #define ASH_DISPLAY_DISPLAY_CONTROLLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 13 matching lines...) Expand all
24 } 24 }
25 25
26 namespace base { 26 namespace base {
27 class Value; 27 class Value;
28 template <typename T> class JSONValueConverter; 28 template <typename T> class JSONValueConverter;
29 } 29 }
30 30
31 namespace ash { 31 namespace ash {
32 namespace internal { 32 namespace internal {
33 class DisplayManager; 33 class DisplayManager;
34 class FocusActivationStore;
34 class RootWindowController; 35 class RootWindowController;
35 } 36 }
36 37
37 typedef std::pair<int64, int64> DisplayIdPair; 38 typedef std::pair<int64, int64> DisplayIdPair;
38 39
39 struct ASH_EXPORT DisplayLayout { 40 struct ASH_EXPORT DisplayLayout {
40 // Layout options where the secondary display should be positioned. 41 // Layout options where the secondary display should be positioned.
41 enum Position { 42 enum Position {
42 TOP, 43 TOP,
43 RIGHT, 44 RIGHT,
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 std::map<DisplayIdPair, DisplayLayout> paired_layouts_; 266 std::map<DisplayIdPair, DisplayLayout> paired_layouts_;
266 267
267 ObserverList<Observer> observers_; 268 ObserverList<Observer> observers_;
268 269
269 // Store the primary root window temporarily while replacing 270 // Store the primary root window temporarily while replacing
270 // display. 271 // display.
271 aura::RootWindow* primary_root_window_for_replace_; 272 aura::RootWindow* primary_root_window_for_replace_;
272 273
273 bool in_bootstrap_; 274 bool in_bootstrap_;
274 275
276 scoped_ptr<internal::FocusActivationStore> focus_activation_store_;
277
275 DISALLOW_COPY_AND_ASSIGN(DisplayController); 278 DISALLOW_COPY_AND_ASSIGN(DisplayController);
276 }; 279 };
277 280
278 } // namespace ash 281 } // namespace ash
279 282
280 #endif // ASH_DISPLAY_DISPLAY_CONTROLLER_H_ 283 #endif // ASH_DISPLAY_DISPLAY_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | ash/display/display_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698