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

Unified Diff: ash/wm/workspace/workspace_manager.cc

Issue 10829226: Fixing many problems around the maximize bubble (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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
Index: ash/wm/workspace/workspace_manager.cc
diff --git a/ash/wm/workspace/workspace_manager.cc b/ash/wm/workspace/workspace_manager.cc
index aac67bc4c8ee16bbad91242e00161b40fd96d22c..ccbb4f97375a1a1114b601b492fd38314a38c1b1 100644
--- a/ash/wm/workspace/workspace_manager.cc
+++ b/ash/wm/workspace/workspace_manager.cc
@@ -151,7 +151,8 @@ WorkspaceWindowState WorkspaceManager::GetWindowState() const {
for (aura::Window::Windows::const_iterator i = windows.begin();
i != windows.end(); ++i) {
ui::Layer* layer = (*i)->layer();
- if (!layer->GetTargetVisibility() || layer->GetTargetOpacity() == 0.0f)
+ if (!layer->GetTargetVisibility() || layer->GetTargetOpacity() == 0.0f ||
+ wm::IsWindowMinimized(*i))
sky 2012/08/07 23:11:18 minimized windows should be hidden. So, I'm not su
Mr4D (OOO till 08-26) 2012/08/08 01:02:28 If the window is maximized and is transformed dire
sky 2012/08/08 04:39:16 The target visibility should be 0. Do you have a t
Mr4D (OOO till 08-26) 2012/08/08 14:26:46 I debugged it and here is what I see: GetLayerTar
continue;
if (wm::IsWindowMaximized(*i)) {
// An untracked window may still be fullscreen so we keep iterating when
« ash/wm/workspace/frame_maximize_button.cc ('K') | « ash/wm/workspace/frame_maximize_button.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698