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

Unified Diff: ui/views/controls/button/blue_button_unittest.cc

Issue 2069733002: MD - Use real comboboxes in website settings popup. Hide borders (but (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comment Created 4 years, 6 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: ui/views/controls/button/blue_button_unittest.cc
diff --git a/ui/views/controls/button/blue_button_unittest.cc b/ui/views/controls/button/blue_button_unittest.cc
index 8ebd3ca5bb6ccb8969929be83bc84524ba4a6fe1..3c502c431974c8185a07b1b27ba628b721ece854 100644
--- a/ui/views/controls/button/blue_button_unittest.cc
+++ b/ui/views/controls/button/blue_button_unittest.cc
@@ -25,9 +25,8 @@ TEST_F(BlueButtonTest, Border) {
// Compared to a normal LabelButton...
LabelButton* button = new LabelButton(nullptr, base::ASCIIToUTF16("foo"));
EXPECT_EQ(Button::STYLE_TEXTBUTTON, button->style());
- // Focus painter by default only in non-md.
- EXPECT_EQ(ui::MaterialDesignController::IsModeMaterial(),
- !button->focus_painter());
+ // Focus painter by default.
+ EXPECT_TRUE(button->focus_painter());
// Switch to the same style as BlueButton for a more compelling comparison.
button->SetStyle(Button::STYLE_BUTTON);
« no previous file with comments | « chrome/browser/ui/views/website_settings/permissions_bubble_view.cc ('k') | ui/views/controls/button/label_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698