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

Unified Diff: chrome/browser/ui/views/download/download_shelf_view.cc

Issue 1690543004: MacViews: Implement Full Keyboard Access. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix FocusManagerTest.StoreFocusedView Created 4 years, 10 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: chrome/browser/ui/views/download/download_shelf_view.cc
diff --git a/chrome/browser/ui/views/download/download_shelf_view.cc b/chrome/browser/ui/views/download/download_shelf_view.cc
index 38a179e3bd9f426737875f4c9e19dd52dd33b95b..eb13b0312c0c3faad82b1c9126bd30670ce746cb 100644
--- a/chrome/browser/ui/views/download/download_shelf_view.cc
+++ b/chrome/browser/ui/views/download/download_shelf_view.cc
@@ -40,6 +40,7 @@
#include "ui/views/controls/image_view.h"
#include "ui/views/controls/link.h"
#include "ui/views/mouse_watcher_view_host.h"
+#include "ui/views/style/platform_style.h"
using content::DownloadItem;
@@ -165,7 +166,6 @@ DownloadShelfView::DownloadShelfView(Browser* browser, BrowserView* parent)
} else {
views::LabelButton* show_all_view = new views::LabelButton(
this, l10n_util::GetStringUTF16(IDS_SHOW_ALL_DOWNLOADS_MD));
- show_all_view->SetFocusable(true);
tapted 2016/02/23 03:01:19 SetControlStyleFocus instead?
karandeepb 2016/03/15 02:19:50 This call is redundant, since SetStyle(..) on the
show_all_view->SetStyle(views::Button::STYLE_BUTTON);
show_all_view_ = show_all_view;

Powered by Google App Engine
This is Rietveld 408576698