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

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

Issue 2666043002: Try to rename LayoutDistanceType enum values for clarity and consistency. (Closed)
Patch Set: Fix comment Created 3 years, 11 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 | chrome/browser/ui/views/cookie_info_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/content_setting_bubble_contents.cc
diff --git a/chrome/browser/ui/views/content_setting_bubble_contents.cc b/chrome/browser/ui/views/content_setting_bubble_contents.cc
index 5ab7444aa1a4c96225ec504d0588ea1ed0b3b2d0..9204a1d3f44b56a0500b9e8889e9c57fdf9c3aa1 100644
--- a/chrome/browser/ui/views/content_setting_bubble_contents.cc
+++ b/chrome/browser/ui/views/content_setting_bubble_contents.cc
@@ -309,7 +309,7 @@ void ContentSettingBubbleContents::Init() {
layout->AddColumnSet(indented_kSingleColumnSetId);
indented_single_column_set->AddPaddingColumn(
0, layout_delegate->GetLayoutDistance(
- LayoutDelegate::LayoutDistanceType::CHECKBOX_INDENT));
+ LayoutDelegate::LayoutDistanceType::SUBSECTION_HORIZONTAL_INDENT));
indented_single_column_set->AddColumn(GridLayout::LEADING, GridLayout::FILL,
1, GridLayout::USE_PREF, 0, 0);
@@ -350,8 +350,9 @@ void ContentSettingBubbleContents::Init() {
views::ColumnSet* menu_column_set =
layout->AddColumnSet(kMediaMenuColumnSetId);
menu_column_set->AddPaddingColumn(
- 0, layout_delegate->GetLayoutDistance(
- LayoutDelegate::LayoutDistanceType::CHECKBOX_INDENT));
+ 0,
+ layout_delegate->GetLayoutDistance(
+ LayoutDelegate::LayoutDistanceType::SUBSECTION_HORIZONTAL_INDENT));
menu_column_set->AddColumn(GridLayout::LEADING, GridLayout::FILL, 0,
GridLayout::USE_PREF, 0, 0);
menu_column_set->AddPaddingColumn(0, related_control_horizontal_spacing);
« no previous file with comments | « no previous file | chrome/browser/ui/views/cookie_info_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698