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

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

Issue 2910153002: Remove views::Label::SetDisabledColor(). Replace with typography colors. (Closed)
Patch Set: respond to comments 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 a653304d3b767555958c6a012df4fe9a1bce6879..202558e01b19942d4372f82e0c4cfd571fcd1f67 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