Chromium Code Reviews| 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 0f6025ae78cf054754bdd67777f5033cbf53028d..140949e6a637bebed67685f7a8517121aca555e1 100644 |
| --- a/ui/views/controls/button/md_text_button.h |
| +++ b/ui/views/controls/button/md_text_button.h |
| @@ -27,6 +27,10 @@ class VIEWS_EXPORT MdTextButton : public LabelButton { |
| // in MD mode. |
| static LabelButton* CreateStandardButton(ButtonListener* listener, |
| const base::string16& text); |
| + // As above, but onl creates an MdTextButton if MD is enabled in the secondary |
|
varkha
2016/04/27 23:06:06
nit: only
Evan Stade
2016/04/27 23:20:40
Done.
|
| + // UI (as opposed to just "top chrome"/"primary" UI). |
| + static LabelButton* CreateSecondaryUiButton(ButtonListener* listener, |
| + const base::string16& text); |
| static MdTextButton* CreateMdButton(ButtonListener* listener, |
| const base::string16& text); |
| @@ -36,6 +40,7 @@ class VIEWS_EXPORT MdTextButton : public LabelButton { |
| void OnNativeThemeChanged(const ui::NativeTheme* theme) override; |
| SkColor GetInkDropBaseColor() const override; |
| void SetText(const base::string16& text) override; |
| + void UpdateStyleForDefaultness() override; |
| private: |
| MdTextButton(ButtonListener* listener); |