diff options
Diffstat (limited to 'ui/aura_shell/toplevel_layout_manager.cc')
-rw-r--r-- | ui/aura_shell/toplevel_layout_manager.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/aura_shell/toplevel_layout_manager.cc b/ui/aura_shell/toplevel_layout_manager.cc index b1b87d8a..81f0704 100644 --- a/ui/aura_shell/toplevel_layout_manager.cc +++ b/ui/aura_shell/toplevel_layout_manager.cc @@ -28,7 +28,7 @@ void ToplevelLayoutManager::OnWindowResized() { void ToplevelLayoutManager::OnWindowAddedToLayout(aura::Window* child) { windows_.insert(child); child->AddObserver(this); - if (child->GetProperty(aura::kShowStateKey)) { + if (child->GetProperty(aura::client::kShowStateKey)) { UpdateBoundsFromShowState(child); UpdateShelfVisibility(); } @@ -61,7 +61,7 @@ void ToplevelLayoutManager::SetChildBounds(aura::Window* child, void ToplevelLayoutManager::OnWindowPropertyChanged(aura::Window* window, const char* name, void* old) { - if (name == aura::kShowStateKey) { + if (name == aura::client::kShowStateKey) { UpdateBoundsFromShowState(window); UpdateShelfVisibility(); } @@ -73,7 +73,7 @@ void ToplevelLayoutManager::UpdateShelfVisibility() { bool has_fullscreen_window = false; for (Windows::const_iterator i = windows_.begin(); i != windows_.end(); ++i) { - if ((*i)->GetIntProperty(aura::kShowStateKey) == + if ((*i)->GetIntProperty(aura::client::kShowStateKey) == ui::SHOW_STATE_FULLSCREEN) { has_fullscreen_window = true; break; |