| Index: chrome/browser/ui/views/profiles/user_manager_view.cc
|
| diff --git a/chrome/browser/ui/views/profiles/user_manager_view.cc b/chrome/browser/ui/views/profiles/user_manager_view.cc
|
| index 6a336a3337f67b9eb0a37f641147676c88339bfb..3de57aa69d67b530b99fb7b9c1d07f8fd47f2280 100644
|
| --- a/chrome/browser/ui/views/profiles/user_manager_view.cc
|
| +++ b/chrome/browser/ui/views/profiles/user_manager_view.cc
|
| @@ -34,10 +34,6 @@
|
|
|
| namespace {
|
|
|
| -// Default window size.
|
| -const int kWindowWidth = 900;
|
| -const int kWindowHeight = 700;
|
| -
|
| // An open User Manager window. There can only be one open at a time. This
|
| // is reset to NULL when the window is closed.
|
| UserManagerView* instance_ = NULL;
|
| @@ -139,7 +135,8 @@ void UserManagerView::Init(
|
| browser->window()->GetNativeWindow())->GetNativeView();
|
| bounds = gfx::Screen::GetScreenFor(native_view)->
|
| GetDisplayNearestWindow(native_view).work_area();
|
| - bounds.ClampToCenteredSize(gfx::Size(kWindowWidth, kWindowHeight));
|
| + bounds.ClampToCenteredSize(gfx::Size(UserManager::kWindowWidth,
|
| + UserManager::kWindowHeight));
|
| }
|
| }
|
| }
|
| @@ -173,7 +170,7 @@ bool UserManagerView::AcceleratorPressed(const ui::Accelerator& accelerator) {
|
| }
|
|
|
| gfx::Size UserManagerView::GetPreferredSize() const {
|
| - return gfx::Size(kWindowWidth, kWindowHeight);
|
| + return gfx::Size(UserManager::kWindowWidth, UserManager::kWindowHeight);
|
| }
|
|
|
| bool UserManagerView::CanResize() const {
|
|
|