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/views/border.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/views/border.cc')
-rw-r--r-- | chrome/views/border.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/chrome/views/border.cc b/chrome/views/border.cc index 4b71707..7298583 100644 --- a/chrome/views/border.cc +++ b/chrome/views/border.cc @@ -39,25 +39,25 @@ void SolidBorder::Paint(const View& view, ChromeCanvas* canvas) const { return; // Empty clip rectangle, nothing to paint. // Top border. - gfx::Rect border_bounds(0, 0, view.GetWidth(), insets_.top()); + gfx::Rect border_bounds(0, 0, view.width(), insets_.top()); if (clip_rect.Intersects(border_bounds)) - canvas->FillRectInt(color_, 0, 0, view.GetWidth(), insets_.top()); + canvas->FillRectInt(color_, 0, 0, view.width(), insets_.top()); // Left border. - border_bounds.SetRect(0, 0, insets_.left(), view.GetHeight()); + border_bounds.SetRect(0, 0, insets_.left(), view.height()); if (clip_rect.Intersects(border_bounds)) - canvas->FillRectInt(color_, 0, 0, insets_.left(), view.GetHeight()); + canvas->FillRectInt(color_, 0, 0, insets_.left(), view.height()); // Bottom border. - border_bounds.SetRect(0, view.GetHeight() - insets_.bottom(), - view.GetWidth(), insets_.bottom()); + border_bounds.SetRect(0, view.height() - insets_.bottom(), + view.width(), insets_.bottom()); if (clip_rect.Intersects(border_bounds)) - canvas->FillRectInt(color_, 0, view.GetHeight() - insets_.bottom(), - view.GetWidth(), insets_.bottom()); + canvas->FillRectInt(color_, 0, view.height() - insets_.bottom(), + view.width(), insets_.bottom()); // Right border. - border_bounds.SetRect(view.GetWidth() - insets_.right(), 0, - insets_.right(), view.GetHeight()); + border_bounds.SetRect(view.width() - insets_.right(), 0, + insets_.right(), view.height()); if (clip_rect.Intersects(border_bounds)) - canvas->FillRectInt(color_, view.GetWidth() - insets_.right(), 0, - insets_.right(), view.GetHeight()); + canvas->FillRectInt(color_, view.width() - insets_.right(), 0, + insets_.right(), view.height()); } void SolidBorder::GetInsets(gfx::Insets* insets) const { |