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

Unified Diff: ui/views/controls/separator.cc

Issue 1870573003: Full Keyboard Access: Second Approach (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « ui/views/controls/scrollbar/native_scroll_bar_views.cc ('k') | ui/views/controls/slider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/separator.cc
diff --git a/ui/views/controls/separator.cc b/ui/views/controls/separator.cc
index e16346127ba4010be0e23670e856280dff926eda..cfbd2b1c46efa18e8c8751f74657eeefab0b57c0 100644
--- a/ui/views/controls/separator.cc
+++ b/ui/views/controls/separator.cc
@@ -6,6 +6,7 @@
#include "ui/accessibility/ax_view_state.h"
#include "ui/gfx/canvas.h"
+#include "ui/views/style/platform_style.h"
namespace views {
@@ -22,7 +23,7 @@ Separator::Separator(Orientation orientation)
: orientation_(orientation),
color_(kDefaultColor),
size_(kSeparatorSize) {
- SetFocusable(false);
+ PlatformStyle::ConfigureFocus(PlatformStyle::CONTROL::SEPARATOR, this);
}
Separator::~Separator() {
« no previous file with comments | « ui/views/controls/scrollbar/native_scroll_bar_views.cc ('k') | ui/views/controls/slider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698