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

Unified Diff: ui/views/border.cc

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/border.cc
diff --git a/ui/views/border.cc b/ui/views/border.cc
index 153411dc40d61413a70935104fa6856944d2b44a..0caf41beb7b06b13e767731f3695140027046c0b 100644
--- a/ui/views/border.cc
+++ b/ui/views/border.cc
@@ -227,4 +227,8 @@ std::unique_ptr<Border> Border::CreateBorderPainter(
return base::WrapUnique(new BorderPainter(std::move(painter), insets));
}
+bool Border::ShouldAddFocusRing() const {
+ return false;
+}
+
} // namespace views
« ui/views/border.h ('K') | « ui/views/border.h ('k') | ui/views/controls/focusable_border.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698