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

Unified Diff: ui/views/controls/link.h

Issue 1920193003: Remove View::focusable(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@SetFocusBehavior
Patch Set: Rebased. Created 4 years, 8 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/link.h
diff --git a/ui/views/controls/link.h b/ui/views/controls/link.h
index 01da62ee97f19e1d20d9c73fc91af976e2751b84..441647e137397942c897a7e3504048b16db8b5e9 100644
--- a/ui/views/controls/link.h
+++ b/ui/views/controls/link.h
@@ -51,12 +51,16 @@ class VIEWS_EXPORT Link : public Label {
void SetText(const base::string16& text) override;
void OnNativeThemeChanged(const ui::NativeTheme* theme) override;
void SetEnabledColor(SkColor color) override;
+ gfx::Insets GetInsets() const override;
void SetPressedColor(SkColor color);
void SetUnderline(bool underline);
static const char kViewClassName[];
+ // The padding for the focus border around non-empty links.
+ static const int kFocusBorderPadding;
+
private:
void Init();

Powered by Google App Engine
This is Rietveld 408576698