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

Unified Diff: ash/shelf/shelf_widget.h

Issue 448493002: Avoiding double resize of maximized windows upon user switch due to showing and hiding of the shelf (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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
« no previous file with comments | « no previous file | ash/shelf/shelf_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_widget.h
diff --git a/ash/shelf/shelf_widget.h b/ash/shelf/shelf_widget.h
index 8a2ccc671fb4d2651a0553d7ba348bef0f42639a..97cf7ff3c5de2f21bfdbff2f32927b7dfe420288 100644
--- a/ash/shelf/shelf_widget.h
+++ b/ash/shelf/shelf_widget.h
@@ -45,6 +45,11 @@ class ASH_EXPORT ShelfWidget : public views::Widget,
BackgroundAnimatorChangeType change_type);
ShelfBackgroundType GetBackgroundType() const;
+ // Hide the shelf behind a black bar during e.g. a user transition when |hide|
+ // is true. The |animation_time_ms| will be used as animation duration.
+ void HideShelfBehindBlackBar(bool hide, int animation_time_ms);
+ bool IsShelfHiddenBehindBlackBar() const;
+
// Causes shelf items to be slightly dimmed (e.g. when a window is maximized).
void SetDimsShelf(bool dimming);
bool GetDimsShelf() const;
« no previous file with comments | « no previous file | ash/shelf/shelf_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698