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

Unified Diff: ui/views/controls/tabbed_pane/tabbed_pane.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/slider.cc ('k') | ui/views/controls/table/table_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/tabbed_pane/tabbed_pane.cc
diff --git a/ui/views/controls/tabbed_pane/tabbed_pane.cc b/ui/views/controls/tabbed_pane/tabbed_pane.cc
index 5579bb07c041f27a2f0d8c80d927163f935b5420..225e3740ad0d5203444b5294ed785ff28d8f3621 100644
--- a/ui/views/controls/tabbed_pane/tabbed_pane.cc
+++ b/ui/views/controls/tabbed_pane/tabbed_pane.cc
@@ -17,6 +17,7 @@
#include "ui/views/controls/label.h"
#include "ui/views/controls/tabbed_pane/tabbed_pane_listener.h"
#include "ui/views/layout/layout_manager.h"
+#include "ui/views/style/platform_style.h"
#include "ui/views/widget/widget.h"
namespace {
@@ -277,7 +278,7 @@ TabbedPane::TabbedPane()
tab_strip_(new TabStrip(this)),
contents_(new View()),
selected_tab_index_(-1) {
- SetFocusable(true);
+ PlatformStyle::ConfigureFocus(PlatformStyle::CONTROL::TABBED_PANE, this);
AddChildView(tab_strip_);
AddChildView(contents_);
}
« no previous file with comments | « ui/views/controls/slider.cc ('k') | ui/views/controls/table/table_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698