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

Side by Side Diff: ash/wm/always_on_top_controller.cc

Issue 24108003: [Cleanup] Rename WindowSettings to WindowState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 #include "ash/wm/always_on_top_controller.h" 5 #include "ash/wm/always_on_top_controller.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/shell_window_ids.h" 8 #include "ash/shell_window_ids.h"
9 #include "ash/wm/property_util.h"
10 #include "ui/aura/client/aura_constants.h" 9 #include "ui/aura/client/aura_constants.h"
11 #include "ui/aura/window.h" 10 #include "ui/aura/window.h"
12 11
13 namespace ash { 12 namespace ash {
14 namespace internal { 13 namespace internal {
15 14
16 AlwaysOnTopController::AlwaysOnTopController() 15 AlwaysOnTopController::AlwaysOnTopController()
17 : always_on_top_container_(NULL) { 16 : always_on_top_container_(NULL) {
18 } 17 }
19 18
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 } 63 }
65 } 64 }
66 65
67 void AlwaysOnTopController::OnWindowDestroyed(aura::Window* window) { 66 void AlwaysOnTopController::OnWindowDestroyed(aura::Window* window) {
68 if (window == always_on_top_container_) 67 if (window == always_on_top_container_)
69 always_on_top_container_ = NULL; 68 always_on_top_container_ = NULL;
70 } 69 }
71 70
72 } // namespace internal 71 } // namespace internal
73 } // namespace ash 72 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698