summaryrefslogtreecommitdiffstats
path: root/ui/aura_shell/window_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/aura_shell/window_util.cc')
-rw-r--r--ui/aura_shell/window_util.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/aura_shell/window_util.cc b/ui/aura_shell/window_util.cc
index d9b40b9..e3ecf9f 100644
--- a/ui/aura_shell/window_util.cc
+++ b/ui/aura_shell/window_util.cc
@@ -16,7 +16,7 @@
namespace aura_shell {
bool IsWindowMaximized(aura::Window* window) {
- return window->GetIntProperty(aura::kShowStateKey) ==
+ return window->GetIntProperty(aura::client::kShowStateKey) ==
ui::SHOW_STATE_MAXIMIZED;
}
@@ -41,10 +41,10 @@ aura::Window* GetActivatableWindow(aura::Window* window) {
}
void UpdateBoundsFromShowState(aura::Window* window) {
- switch (window->GetIntProperty(aura::kShowStateKey)) {
+ switch (window->GetIntProperty(aura::client::kShowStateKey)) {
case ui::SHOW_STATE_NORMAL: {
const gfx::Rect* restore = GetRestoreBounds(window);
- window->SetProperty(aura::kRestoreBoundsKey, NULL);
+ window->SetProperty(aura::client::kRestoreBoundsKey, NULL);
if (restore)
window->SetBounds(*restore);
delete restore;