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

Unified Diff: ui/aura_shell/always_on_top_controller.cc

Issue 8968022: Shell related switches -> aura shell switches. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura_shell/activation_controller_unittest.cc ('k') | ui/aura_shell/aura_shell.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/always_on_top_controller.cc
===================================================================
--- ui/aura_shell/always_on_top_controller.cc (revision 114849)
+++ ui/aura_shell/always_on_top_controller.cc (working copy)
@@ -6,7 +6,6 @@
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/window.h"
-#include "ui/aura/window_types.h"
namespace aura_shell {
namespace internal {
@@ -41,8 +40,8 @@
aura::Window* AlwaysOnTopController::GetContainer(aura::Window* window) const {
DCHECK(default_container_ && always_on_top_container_);
- return !window->GetProperty(aura::kAlwaysOnTopKey) ? default_container_ :
- always_on_top_container_;
+ return !window->GetProperty(aura::client::kAlwaysOnTopKey) ?
+ default_container_ : always_on_top_container_;
}
void AlwaysOnTopController::OnWindowAdded(aura::Window* child) {
@@ -60,9 +59,9 @@
void AlwaysOnTopController::OnWindowPropertyChanged(aura::Window* window,
const char* name,
void* old) {
- if (name == aura::kAlwaysOnTopKey) {
- DCHECK(window->type() == aura::WINDOW_TYPE_NORMAL ||
- window->type() == aura::WINDOW_TYPE_POPUP);
+ if (name == aura::client::kAlwaysOnTopKey) {
+ DCHECK(window->type() == aura::client::WINDOW_TYPE_NORMAL ||
+ window->type() == aura::client::WINDOW_TYPE_POPUP);
aura::Window* container = GetContainer(window);
if (window->parent() != container)
container->AddChild(window);
« no previous file with comments | « ui/aura_shell/activation_controller_unittest.cc ('k') | ui/aura_shell/aura_shell.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698