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

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

Powered by Google App Engine
This is Rietveld 408576698