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

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

Issue 2228593002: Implement Harmony textfield border (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: attempt to fix mac tests Created 4 years, 4 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 862049ab18526999914443cf0dc2d3321d87e8b0..086131254424455a9a675739c22c2fe9a3f1a46e 100644
--- a/ui/views/controls/focusable_border.h
+++ b/ui/views/controls/focusable_border.h
@@ -20,6 +20,8 @@ namespace views {
// A Border class to draw a focused border around a field (e.g textfield).
class VIEWS_EXPORT FocusableBorder : public Border {
public:
+ static constexpr float kCornerRadiusDp = 1.5f;
+
FocusableBorder();
~FocusableBorder() override;

Powered by Google App Engine
This is Rietveld 408576698