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

Unified Diff: ui/views/examples/button_sticker_sheet.cc

Issue 2380303004: Move MdFocusRing to be a property of FocusManager. (Closed)
Patch Set: Created 4 years, 3 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 | « ui/views/controls/button/md_text_button.cc ('k') | ui/views/focus/focus_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/button_sticker_sheet.cc
diff --git a/ui/views/examples/button_sticker_sheet.cc b/ui/views/examples/button_sticker_sheet.cc
index dc98a833cd20b66b234147ebee7cada0eebb8cd4..c560ea140061a58d2be484dea181e8ad2a0a49ab 100644
--- a/ui/views/examples/button_sticker_sheet.cc
+++ b/ui/views/examples/button_sticker_sheet.cc
@@ -116,11 +116,6 @@ void ButtonStickerSheet::CreateExampleView(View* container) {
AddLabelledRowToGridLayout(layout, "Pressed", {primary, secondary});
MakeButtonsInState(&primary, &secondary, this, Button::STATE_DISABLED);
AddLabelledRowToGridLayout(layout, "Disabled", {primary, secondary});
-
- MakeButtonsInState(&primary, &secondary, this, Button::STATE_NORMAL);
- primary->OnFocus();
- secondary->OnFocus();
- AddLabelledRowToGridLayout(layout, "Focused", {primary, secondary});
}
void ButtonStickerSheet::ButtonPressed(Button* button, const ui::Event& event) {
« no previous file with comments | « ui/views/controls/button/md_text_button.cc ('k') | ui/views/focus/focus_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698