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

Unified Diff: chrome/browser/ui/views/collected_cookies_views.cc

Issue 2715813002: Change focus indicator for TableView and TreeView. (Closed)
Patch Set: rename Created 3 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
« no previous file with comments | « no previous file | ui/views/controls/scroll_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/collected_cookies_views.cc
diff --git a/chrome/browser/ui/views/collected_cookies_views.cc b/chrome/browser/ui/views/collected_cookies_views.cc
index a94c2b737cd0609b860ca4e0717983b1a28876ab..5472d4b571cac8ab15882f4952ef0da9b3a8c08d 100644
--- a/chrome/browser/ui/views/collected_cookies_views.cc
+++ b/chrome/browser/ui/views/collected_cookies_views.cc
@@ -64,9 +64,6 @@ const int kInfobarBorderSize = 1;
const int kTreeViewWidth = 400;
const int kTreeViewHeight = 125;
-// The color of the border around the cookies tree view.
-const SkColor kCookiesBorderColor = SkColorSetRGB(0xC8, 0xC8, 0xC8);
-
// Spacing constants used with non-Harmony dialogs.
const int kTabbedPaneTopPadding = 14;
const int kCookieInfoBottomPadding = 4;
@@ -489,9 +486,9 @@ views::View* CollectedCookiesViews::CreateBlockedPane() {
}
views::View* CollectedCookiesViews::CreateScrollView(views::TreeView* pane) {
- views::ScrollView* scroll_view = new views::ScrollView();
+ views::ScrollView* scroll_view =
+ views::ScrollView::CreateScrollViewWithBorder();
scroll_view->SetContents(pane);
- scroll_view->SetBorder(views::CreateSolidBorder(1, kCookiesBorderColor));
return scroll_view;
}
« no previous file with comments | « no previous file | ui/views/controls/scroll_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698