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

Unified Diff: ui/aura_shell/toplevel_layout_manager.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/tooltip_controller.cc ('k') | ui/aura_shell/toplevel_layout_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/toplevel_layout_manager.cc
===================================================================
--- ui/aura_shell/toplevel_layout_manager.cc (revision 114849)
+++ ui/aura_shell/toplevel_layout_manager.cc (working copy)
@@ -28,7 +28,7 @@
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::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 @@
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;
« no previous file with comments | « ui/aura_shell/tooltip_controller.cc ('k') | ui/aura_shell/toplevel_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698