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

Side by Side Diff: chrome/browser/ui/user_manager.h

Issue 605503002: Shrink the user manager to 800x600. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_USER_MANAGER_H_ 5 #ifndef CHROME_BROWSER_UI_USER_MANAGER_H_
6 #define CHROME_BROWSER_UI_USER_MANAGER_H_ 6 #define CHROME_BROWSER_UI_USER_MANAGER_H_
7 7
8 #include "chrome/browser/profiles/profile_window.h" 8 #include "chrome/browser/profiles/profile_window.h"
9 9
10 namespace base { 10 namespace base {
(...skipping 11 matching lines...) Expand all
22 static void Show(const base::FilePath& profile_path_to_focus, 22 static void Show(const base::FilePath& profile_path_to_focus,
23 profiles::UserManagerTutorialMode tutorial_mode, 23 profiles::UserManagerTutorialMode tutorial_mode,
24 profiles::UserManagerProfileSelected profile_open_action); 24 profiles::UserManagerProfileSelected profile_open_action);
25 25
26 // Hides the User Manager. 26 // Hides the User Manager.
27 static void Hide(); 27 static void Hide();
28 28
29 // Returns whether the User Manager is showing. 29 // Returns whether the User Manager is showing.
30 static bool IsShowing(); 30 static bool IsShowing();
31 31
32 // TODO(noms): Figure out if this size can be computed dynamically or adjusted
33 // for smaller screens.
34 static const int kWindowWidth = 800;
35 static const int kWindowHeight = 600;
36
32 private: 37 private:
33 DISALLOW_COPY_AND_ASSIGN(UserManager); 38 DISALLOW_COPY_AND_ASSIGN(UserManager);
34 }; 39 };
35 40
36 #endif // CHROME_BROWSER_UI_USER_MANAGER_H_ 41 #endif // CHROME_BROWSER_UI_USER_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/profiles/user_manager_mac.mm ('k') | chrome/browser/ui/views/profiles/user_manager_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698