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

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

Issue 2395033002: Harmony - Don't paint focus ring on unless border requests it. (Closed)
Patch Set: Created 4 years, 2 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/focusable_border.h
diff --git a/ui/views/controls/focusable_border.h b/ui/views/controls/focusable_border.h
index fd5084601d97fd4b1fa191dec735c4e09aa260ee..6e3474cbed006439c29de90933f4e32333fc2952 100644
--- a/ui/views/controls/focusable_border.h
+++ b/ui/views/controls/focusable_border.h
@@ -34,6 +34,7 @@ class VIEWS_EXPORT FocusableBorder : public Border {
void UseDefaultColor();
// Overridden from Border:
+ bool ShouldAddFocusRing() const override;
void Paint(const View& view, gfx::Canvas* canvas) override;
gfx::Insets GetInsets() const override;
gfx::Size GetMinimumSize() const override;

Powered by Google App Engine
This is Rietveld 408576698