summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/clear_browsing_data.cc
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-17 22:25:33 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-17 22:25:33 +0000
commit6f3bb6ca5a2e423fc9dda71c164c7e8ae2a8eae7 (patch)
tree4ce1316dbfd179681bdff905a7d71f1b4cbb902c /chrome/browser/views/clear_browsing_data.cc
parent4c45708be10906e3cdbe9d40d206cfd3fcbaf1c2 (diff)
downloadchromium_src-6f3bb6ca5a2e423fc9dda71c164c7e8ae2a8eae7.zip
chromium_src-6f3bb6ca5a2e423fc9dda71c164c7e8ae2a8eae7.tar.gz
chromium_src-6f3bb6ca5a2e423fc9dda71c164c7e8ae2a8eae7.tar.bz2
Rename legacy methods that were in CamelCase to unix_hacker.
Required going through and modifying some of the code to solve name clashes. Review URL: http://codereview.chromium.org/2945 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2337 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/clear_browsing_data.cc')
-rw-r--r--chrome/browser/views/clear_browsing_data.cc32
1 files changed, 16 insertions, 16 deletions
diff --git a/chrome/browser/views/clear_browsing_data.cc b/chrome/browser/views/clear_browsing_data.cc
index 06d9b6d..328cf6f 100644
--- a/chrome/browser/views/clear_browsing_data.cc
+++ b/chrome/browser/views/clear_browsing_data.cc
@@ -125,44 +125,44 @@ void ClearBrowsingDataView::Layout() {
// Check-boxes go beneath it (with a little indentation).
del_history_checkbox_->GetPreferredSize(&sz);
del_history_checkbox_->SetBounds(2 * kPanelHorizMargin,
- delete_all_label_->GetY() +
- delete_all_label_->GetHeight() +
+ delete_all_label_->y() +
+ delete_all_label_->height() +
kRelatedControlVerticalSpacing,
sz.cx, sz.cy);
del_downloads_checkbox_->GetPreferredSize(&sz);
del_downloads_checkbox_->SetBounds(2 * kPanelHorizMargin,
- del_history_checkbox_->GetY() +
- del_history_checkbox_->GetHeight() +
+ del_history_checkbox_->y() +
+ del_history_checkbox_->height() +
kRelatedControlVerticalSpacing,
sz.cx, sz.cy);
del_cache_checkbox_->GetPreferredSize(&sz);
del_cache_checkbox_->SetBounds(2 * kPanelHorizMargin,
- del_downloads_checkbox_->GetY() +
- del_downloads_checkbox_->GetHeight() +
+ del_downloads_checkbox_->y() +
+ del_downloads_checkbox_->height() +
kRelatedControlVerticalSpacing,
sz.cx, sz.cy);
del_cookies_checkbox_->GetPreferredSize(&sz);
del_cookies_checkbox_->SetBounds(2 * kPanelHorizMargin,
- del_cache_checkbox_->GetY() +
- del_cache_checkbox_->GetHeight() +
+ del_cache_checkbox_->y() +
+ del_cache_checkbox_->height() +
kRelatedControlVerticalSpacing,
sz.cx, sz.cy);
del_passwords_checkbox_->GetPreferredSize(&sz);
del_passwords_checkbox_->SetBounds(2 * kPanelHorizMargin,
- del_cookies_checkbox_->GetY() +
- del_cookies_checkbox_->GetHeight() +
+ del_cookies_checkbox_->y() +
+ del_cookies_checkbox_->height() +
kRelatedControlVerticalSpacing,
sz.cx, sz.cy);
// Time period label is next below the combo boxes.
time_period_label_->GetPreferredSize(&sz);
time_period_label_->SetBounds(kPanelHorizMargin,
- del_passwords_checkbox_->GetY() +
- del_passwords_checkbox_->GetHeight() +
+ del_passwords_checkbox_->y() +
+ del_passwords_checkbox_->height() +
kRelatedControlVerticalSpacing +
kExtraMarginForTimePeriodLabel,
sz.cx, sz.cy);
@@ -171,10 +171,10 @@ void ClearBrowsingDataView::Layout() {
// vertically to the label as well.
int label_y_size = sz.cy;
time_period_combobox_->GetPreferredSize(&sz);
- time_period_combobox_->SetBounds(time_period_label_->GetX() +
- time_period_label_->GetWidth() +
+ time_period_combobox_->SetBounds(time_period_label_->x() +
+ time_period_label_->width() +
kRelatedControlVerticalSpacing,
- time_period_label_->GetY() -
+ time_period_label_->y() -
((sz.cy - label_y_size) / 2),
sz.cx, sz.cy);
@@ -192,7 +192,7 @@ void ClearBrowsingDataView::Layout() {
// The status label should be at the bottom of the screen, to the right of
// the throbber.
status_label_.GetPreferredSize(&sz);
- int status_label_x = throbber_->GetX() + throbber_->GetWidth() +
+ int status_label_x = throbber_->x() + throbber_->width() +
kRelatedControlHorizontalSpacing;
status_label_.SetHorizontalAlignment(ChromeViews::Label::ALIGN_LEFT);
status_label_.SetBounds(status_label_x,