diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-17 22:25:33 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-17 22:25:33 +0000 |
commit | 6f3bb6ca5a2e423fc9dda71c164c7e8ae2a8eae7 (patch) | |
tree | 4ce1316dbfd179681bdff905a7d71f1b4cbb902c /chrome/browser/views/page_info_window.cc | |
parent | 4c45708be10906e3cdbe9d40d206cfd3fcbaf1c2 (diff) | |
download | chromium_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/page_info_window.cc')
-rw-r--r-- | chrome/browser/views/page_info_window.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/views/page_info_window.cc b/chrome/browser/views/page_info_window.cc index 2d80ded..8116110 100644 --- a/chrome/browser/views/page_info_window.cc +++ b/chrome/browser/views/page_info_window.cc @@ -198,15 +198,15 @@ void SecurityTabView::Section::Layout() { title_label_->SetBounds(x, y, size.cx, size.cy); x += size.cx + kHGapTitleToSeparator; separator_->SetBounds(x + kHExtraSeparatorPadding, y, - GetWidth() - x - 2 * kHExtraSeparatorPadding, size.cy); + width() - x - 2 * kHExtraSeparatorPadding, size.cy); // Then the image, head-line and description. x = kHGapToBorder; - y += title_label_->GetHeight() + kVGapTitleToImage; + y += title_label_->height() + kVGapTitleToImage; status_image_->GetPreferredSize(&size); status_image_->SetBounds(x, y, size.cx, size.cy); x += size.cx + kHGapImageToDescription; - int w = GetWidth() - x; + int w = width() - x; if (!head_line_label_->GetText().empty()) { head_line_label_->GetPreferredSize(&size); head_line_label_->SetBounds(x, y, w > 0 ? w : 0, size.cy); @@ -368,14 +368,14 @@ void SecurityTabView::AddSection(const std::wstring& title, } void SecurityTabView::Layout() { - int width = GetWidth() - 2 * kHGapToBorder; + int tab_width = width() - 2 * kHGapToBorder; int x = kHGapToBorder; int y = kVGapToBorder; for (std::vector<Section*>::const_iterator iter = sections_.begin(); iter != sections_.end(); ++iter) { Section* section = *iter; - int h = section->GetHeightForWidth(width); - section->SetBounds(x, y, width, h); + int h = section->GetHeightForWidth(tab_width); + section->SetBounds(x, y, tab_width, h); section->Layout(); y += h + kVGapBetweenSections; } |