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

Unified Diff: chrome/browser/views/password_manager_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/password_manager_view.h
===================================================================
--- chrome/browser/views/password_manager_view.h (revision 3391)
+++ chrome/browser/views/password_manager_view.h (working copy)
@@ -89,12 +89,12 @@
public:
MultiLabelButtons(const std::wstring& label, const std::wstring& alt_label);
- virtual void GetPreferredSize(CSize *out);
+ virtual gfx::Size GetPreferredSize();
private:
std::wstring label_;
std::wstring alt_label_;
- CSize pref_size_;
+ gfx::Size pref_size_;
DISALLOW_EVIL_CONSTRUCTORS(MultiLabelButtons);
};
@@ -112,7 +112,7 @@
// View methods.
virtual void Layout();
- virtual void GetPreferredSize(CSize *out);
+ virtual gfx::Size GetPreferredSize();
virtual void ViewHierarchyChanged(bool is_add, ChromeViews::View* parent,
ChromeViews::View* child);

Powered by Google App Engine
This is Rietveld 408576698