diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-14 17:03:07 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-14 17:03:07 +0000 |
commit | 0d8ea70525f3c0805b0a474838917d0d1b5cd6a9 (patch) | |
tree | 6cbf491f10dae971bebe975e3fb623fc8a97a33b /chrome/browser/views/about_chrome_view.h | |
parent | 017b3cc2a4ade9e4e69f15bbd4721f149642d8a6 (diff) | |
download | chromium_src-0d8ea70525f3c0805b0a474838917d0d1b5cd6a9.zip chromium_src-0d8ea70525f3c0805b0a474838917d0d1b5cd6a9.tar.gz chromium_src-0d8ea70525f3c0805b0a474838917d0d1b5cd6a9.tar.bz2 |
Replace View::GetBounds(CRect* bounds) const; with gfx::Rect bounds() const.
http://crbug.com/2186
Review URL: http://codereview.chromium.org/7136
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3348 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/about_chrome_view.h')
-rw-r--r-- | chrome/browser/views/about_chrome_view.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/views/about_chrome_view.h b/chrome/browser/views/about_chrome_view.h index 4de351f..1a1b704 100644 --- a/chrome/browser/views/about_chrome_view.h +++ b/chrome/browser/views/about_chrome_view.h @@ -96,7 +96,7 @@ class AboutChromeView : public ChromeViews::View, ChromeViews::Link* link, gfx::Rect* rect, CSize* position, - const CRect& bounds, + const gfx::Rect& bounds, const ChromeFont& font); // A helper function for DrawTextAndPositionUrl, which simply draws the text @@ -105,7 +105,7 @@ class AboutChromeView : public ChromeViews::View, void DrawTextStartingFrom(ChromeCanvas* canvas, const std::wstring& text, CSize* position, - const CRect& bounds, + const gfx::Rect& bounds, const ChromeFont& font); // A simply utility function that calculates whether a word of width @@ -114,7 +114,7 @@ class AboutChromeView : public ChromeViews::View, void WrapIfWordDoesntFit(int word_width, int font_height, CSize* position, - const CRect& bounds); + const gfx::Rect& bounds); Profile* profile_; |