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

Unified Diff: ash/system/toast/toast_overlay.cc

Issue 2910153002: Remove views::Label::SetDisabledColor(). Replace with typography colors. (Closed)
Patch Set: rebase for r476345 Created 3 years, 7 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/system/toast/toast_overlay.cc
diff --git a/ash/system/toast/toast_overlay.cc b/ash/system/toast/toast_overlay.cc
index d82561780176b772d825707b04a473f3bae7be68..48d5b923d3b3960acf6d17c1c034e21bc0505387 100644
--- a/ash/system/toast/toast_overlay.cc
+++ b/ash/system/toast/toast_overlay.cc
@@ -53,8 +53,6 @@ gfx::Rect GetUserWorkAreaBounds() {
->GetUserWorkAreaBounds();
}
-} // anonymous namespace
-
///////////////////////////////////////////////////////////////////////////////
// ToastOverlayLabel
class ToastOverlayLabel : public views::Label {
@@ -72,7 +70,6 @@ ToastOverlayLabel::ToastOverlayLabel(const base::string16& label)
SetAutoColorReadabilityEnabled(false);
SetMultiLine(true);
SetEnabledColor(SK_ColorWHITE);
- SetDisabledColor(SK_ColorWHITE);
SetSubpixelRenderingEnabled(false);
int verticalSpacing =
@@ -83,6 +80,8 @@ ToastOverlayLabel::ToastOverlayLabel(const base::string16& label)
ToastOverlayLabel::~ToastOverlayLabel() {}
+} // namespace
+
///////////////////////////////////////////////////////////////////////////////
// ToastOverlayButton
class ToastOverlayButton : public views::LabelButton {

Powered by Google App Engine
This is Rietveld 408576698