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

Unified Diff: ui/aura_shell/show_state_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/shell.cc ('k') | ui/aura_shell/stacking_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/show_state_controller.cc
===================================================================
--- ui/aura_shell/show_state_controller.cc (revision 114849)
+++ ui/aura_shell/show_state_controller.cc (working copy)
@@ -25,18 +25,18 @@
void ShowStateController::OnWindowPropertyChanged(aura::Window* window,
const char* name,
void* old) {
- if (name != aura::kShowStateKey)
+ if (name != aura::client::kShowStateKey)
return;
if (window->GetIntProperty(name) == ui::SHOW_STATE_NORMAL) {
// Restore the size of window first, then let Workspace layout the window.
const gfx::Rect* restore = GetRestoreBounds(window);
- window->SetProperty(aura::kRestoreBoundsKey, NULL);
+ window->SetProperty(aura::client::kRestoreBoundsKey, NULL);
if (restore)
window->SetBounds(*restore);
delete restore;
} else if (old == reinterpret_cast<void*>(ui::SHOW_STATE_NORMAL)) {
// Store the restore bounds only if previous state is normal.
- DCHECK(window->GetProperty(aura::kRestoreBoundsKey) == NULL);
+ DCHECK(window->GetProperty(aura::client::kRestoreBoundsKey) == NULL);
SetRestoreBounds(window, window->GetTargetBounds());
}
« no previous file with comments | « ui/aura_shell/shell.cc ('k') | ui/aura_shell/stacking_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698