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

Unified Diff: chrome/browser/views/about_chrome_view.h

Issue 7344: Convert GetPreferredSize from:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 2 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
Index: chrome/browser/views/about_chrome_view.h
===================================================================
--- chrome/browser/views/about_chrome_view.h (revision 3391)
+++ chrome/browser/views/about_chrome_view.h (working copy)
@@ -39,7 +39,7 @@
void Init();
// Overridden from ChromeViews::View:
- virtual void GetPreferredSize(CSize *out);
+ virtual gfx::Size GetPreferredSize();
virtual void Layout();
virtual void Paint(ChromeCanvas* canvas);
virtual void ViewHierarchyChanged(bool is_add,
@@ -95,7 +95,7 @@
const std::wstring& text,
ChromeViews::Link* link,
gfx::Rect* rect,
- CSize* position,
+ gfx::Size* position,
const gfx::Rect& bounds,
const ChromeFont& font);
@@ -104,7 +104,7 @@
// details on the parameters, see DrawTextAndPositionUrl.
void DrawTextStartingFrom(ChromeCanvas* canvas,
const std::wstring& text,
- CSize* position,
+ gfx::Size* position,
const gfx::Rect& bounds,
const ChromeFont& font);
@@ -113,7 +113,7 @@
// not, |position| is updated to wrap to the beginning of the next line.
void WrapIfWordDoesntFit(int word_width,
int font_height,
- CSize* position,
+ gfx::Size* position,
const gfx::Rect& bounds);
Profile* profile_;

Powered by Google App Engine
This is Rietveld 408576698