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

Unified Diff: chrome/browser/ui/views/website_settings/permission_selector_view.cc

Issue 10805054: Fix broken paddings of the WebsiteSettingsPopopView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 8 years, 5 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/website_settings/website_settings_popup_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/website_settings/permission_selector_view.cc
diff --git a/chrome/browser/ui/views/website_settings/permission_selector_view.cc b/chrome/browser/ui/views/website_settings/permission_selector_view.cc
index a74f97553079b6d6bece0240367676b2224b5209..f7a790e3954196db0b4883c84f20ddf4a97e93d7 100644
--- a/chrome/browser/ui/views/website_settings/permission_selector_view.cc
+++ b/chrome/browser/ui/views/website_settings/permission_selector_view.cc
@@ -25,8 +25,6 @@ namespace {
const int kPermissionIconMarginLeft = 6;
// The width of the column that contains the permissions icons.
const int kPermissionIconColumnWidth = 20;
-// Left margin of the label that displays the permission types.
-const int kPermissionsRowLabelMarginLeft = 8;
// An array with |ContentSetting|s ordered by CommandID. The array is used to
// lookup a content setting for a given command id.
@@ -216,7 +214,6 @@ PermissionSelectorView::PermissionSelectorView(ContentSettingsType type,
views::GridLayout::USE_PREF,
0,
0);
- column_set->AddPaddingColumn(0, kPermissionsRowLabelMarginLeft);
column_set->AddColumn(views::GridLayout::FILL,
views::GridLayout::FILL,
1,
« no previous file with comments | « no previous file | chrome/browser/ui/views/website_settings/website_settings_popup_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698