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

Unified Diff: ash/shelf/shelf_widget.h

Issue 18637004: Sets the background color of shelf is opaque black when maximized (2nd) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove log Created 7 years, 5 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/shelf/shelf_types.h ('k') | 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 e7cbcf129bf5d127fce54a3da5f0f755f0ef9ec4..392264ab4c29f995ae3113a22162d3843e5df44b 100644
--- a/ash/shelf/shelf_widget.h
+++ b/ash/shelf/shelf_widget.h
@@ -37,14 +37,11 @@ class ASH_EXPORT ShelfWidget : public views::Widget,
void SetAlignment(ShelfAlignment alignmnet);
ShelfAlignment GetAlignment() const;
- // Sets whether the shelf paints a background. Default is false, but is set
- // to true if a window overlaps the shelf.
+ // Sets the shelf's background type.
void SetPaintsBackground(
- bool value,
+ ShelfBackgroundType background_type,
internal::BackgroundAnimator::ChangeType change_type);
- bool paints_background() const {
- return background_animator_.paints_background();
- }
+ ShelfBackgroundType GetBackgroundType() const;
// Causes shelf items to be slightly dimmed (eg when a window is maximized).
void SetDimsShelf(bool dimming);
« no previous file with comments | « ash/shelf/shelf_types.h ('k') | ash/shelf/shelf_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698