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

Unified Diff: ash/wm/frame_painter.h

Issue 12319039: Set the window frames to be non transparent while the user is cycling through workspaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | « no previous file | ash/wm/frame_painter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/frame_painter.h
diff --git a/ash/wm/frame_painter.h b/ash/wm/frame_painter.h
index e02ca0465dc67dca5431d6a59fcf542c4a9fc089..547c35d759401e27bedff813221de178cd2eeb7b 100644
--- a/ash/wm/frame_painter.h
+++ b/ash/wm/frame_painter.h
@@ -170,6 +170,9 @@ class ASH_EXPORT FramePainter : public aura::WindowObserver,
// Adjust frame operations for left / right maximized modes.
int AdjustFrameHitCodeForMaximizedModes(int hit_code);
+ // Returns true if the user is cycling through workspaces.
+ bool IsCyclingThroughWorkspaces() const;
+
// Returns true if |window_| is exactly one visible, normal-type window in
// |window_->GetRootWindow()|, in which case we should paint a transparent
// window header.
« no previous file with comments | « no previous file | ash/wm/frame_painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698