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

Unified Diff: ash/common/system/overview/overview_button_tray.cc

Issue 2723843002: Remove non-MD code from TrayBackgroundView (Closed)
Patch Set: Inverted flag + Added TODO Created 3 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
Index: ash/common/system/overview/overview_button_tray.cc
diff --git a/ash/common/system/overview/overview_button_tray.cc b/ash/common/system/overview/overview_button_tray.cc
index 313bb8f87425c70ce2171841bd4f79a3c5d07941..d439401d448225d2ebcbfc099f9adc984d020bd7 100644
--- a/ash/common/system/overview/overview_button_tray.cc
+++ b/ash/common/system/overview/overview_button_tray.cc
@@ -21,9 +21,8 @@
namespace ash {
OverviewButtonTray::OverviewButtonTray(WmShelf* wm_shelf)
- : TrayBackgroundView(wm_shelf), icon_(new views::ImageView()) {
+ : TrayBackgroundView(wm_shelf, true), icon_(new views::ImageView()) {
SetInkDropMode(InkDropMode::ON);
- SetContentsBackground(false);
icon_->SetImage(CreateVectorIcon(kShelfOverviewIcon, kShelfIconColor));
SetIconBorderForShelfAlignment();

Powered by Google App Engine
This is Rietveld 408576698