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

Unified Diff: ash/wm/window_util.cc

Issue 11574041: Move WindowResizer to CoreWM. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | « ash/wm/window_resizer_factory.h ('k') | ash/wm/workspace/snap_sizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_util.cc
===================================================================
--- ash/wm/window_util.cc (revision 173169)
+++ ash/wm/window_util.cc (working copy)
@@ -77,11 +77,11 @@
}
bool IsWindowNormal(const aura::Window* window) {
- return IsWindowStateNormal(window->GetProperty(aura::client::kShowStateKey));
+ return views::corewm::IsWindowNormal(window);
}
bool IsWindowStateNormal(ui::WindowShowState state) {
- return state == ui::SHOW_STATE_NORMAL || state == ui::SHOW_STATE_DEFAULT;
+ return views::corewm::IsWindowStateNormal(state);
}
bool IsWindowMaximized(const aura::Window* window) {
« no previous file with comments | « ash/wm/window_resizer_factory.h ('k') | ash/wm/workspace/snap_sizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698