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

Unified Diff: chrome/browser/views/options/content_settings_window_view.cc

Issue 3015011: Address Finnur's review comments (variable names and comments) that were... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 | « chrome/app/resources/locale_settings_ta.xtb ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/options/content_settings_window_view.cc
===================================================================
--- chrome/browser/views/options/content_settings_window_view.cc (revision 53054)
+++ chrome/browser/views/options/content_settings_window_view.cc (working copy)
@@ -118,23 +118,23 @@
// ContentSettingsWindowView, views::View overrides:
void ContentSettingsWindowView::Layout() {
- int list_box_width = views::Window::GetLocalizedContentsWidth(
+ int listbox_width = views::Window::GetLocalizedContentsWidth(
IDS_CONTENT_SETTINGS_DIALOG_LISTBOX_WIDTH_CHARS);
label_->SetBounds(kDialogPadding,
kDialogPadding,
- list_box_width,
+ listbox_width,
label_->GetPreferredSize().height());
listbox_->SetBounds(kDialogPadding,
2 * kDialogPadding + label_->height(),
- list_box_width,
+ listbox_width,
height() - (3 * kDialogPadding) - label_->height());
if (pages_[current_page_]->GetParent()) {
pages_[current_page_]->SetBounds(
- 2 * kDialogPadding + list_box_width,
+ 2 * kDialogPadding + listbox_width,
2 * kDialogPadding + label_->height(),
- width() - (3 * kDialogPadding) - list_box_width,
+ width() - (3 * kDialogPadding) - listbox_width,
height() - (2 * kDialogPadding));
}
}
« no previous file with comments | « chrome/app/resources/locale_settings_ta.xtb ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698