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

Unified Diff: ash/wm/window_positioner.cc

Issue 169713003: Remove WindowState::IsNormalShowState() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months 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/toplevel_window_event_handler.cc ('k') | ash/wm/window_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_positioner.cc
diff --git a/ash/wm/window_positioner.cc b/ash/wm/window_positioner.cc
index 6fbfb94eaa8e1dc70e752711ba24702e907a52d0..8aaabc71e80522ad8f09fedbc87ef0dbcd759546 100644
--- a/ash/wm/window_positioner.cc
+++ b/ash/wm/window_positioner.cc
@@ -464,7 +464,7 @@ gfx::Rect WindowPositioner::SmartPopupPosition(
// When any window is maximized we cannot find any free space.
if (window_state->IsMaximizedOrFullscreen())
return gfx::Rect(0, 0, 0, 0);
- if (window_state->IsNormalShowState())
+ if (window_state->IsNormalOrSnapped())
regions.push_back(&windows[i]->bounds());
}
}
« no previous file with comments | « ash/wm/toplevel_window_event_handler.cc ('k') | ash/wm/window_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698