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

Unified Diff: ui/views/controls/button/md_text_button.h

Issue 1817253003: [MD] Use same focus ring on BarControlButton as MdTextButton. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update docs Created 4 years, 9 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/label_button.cc ('k') | ui/views/controls/button/md_text_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/md_text_button.h
diff --git a/ui/views/controls/button/md_text_button.h b/ui/views/controls/button/md_text_button.h
index eecbf811249e2a641dafbf77131d26095aff3b82..8350dac7c68a4c172941f51810c8ef32709d64a7 100644
--- a/ui/views/controls/button/md_text_button.h
+++ b/ui/views/controls/button/md_text_button.h
@@ -32,16 +32,10 @@ class VIEWS_EXPORT MdTextButton : public LabelButton {
void SetCallToAction(CallToAction cta);
// LabelButton:
- void Layout() override;
void OnNativeThemeChanged(const ui::NativeTheme* theme) override;
SkColor GetInkDropBaseColor() const override;
void SetText(const base::string16& text) override;
- protected:
- // LabelButton:
- void OnFocus() override;
- void OnBlur() override;
-
private:
MdTextButton(ButtonListener* listener);
~MdTextButton() override;
@@ -50,11 +44,6 @@ class VIEWS_EXPORT MdTextButton : public LabelButton {
ButtonInkDropDelegate ink_drop_delegate_;
- // A child view to draw the focus ring. This is not done via a FocusPainter
- // because it needs to paint to a layer so it can extend beyond the bounds of
- // |this|.
- views::View* focus_ring_;
-
// The call to action style for this button.
CallToAction cta_;
« no previous file with comments | « ui/views/controls/button/label_button.cc ('k') | ui/views/controls/button/md_text_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698