OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 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_VIEWS_PROFILES_USER_MANAGER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PROFILES_USER_MANAGER_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_PROFILES_USER_MANAGER_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_PROFILES_USER_MANAGER_VIEW_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
10 #include "chrome/browser/profiles/profile_window.h" | 10 #include "chrome/browser/profiles/profile_window.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 virtual ~UserManagerView(); | 33 virtual ~UserManagerView(); |
34 | 34 |
35 friend struct base::DefaultDeleter<UserManagerView>; | 35 friend struct base::DefaultDeleter<UserManagerView>; |
36 | 36 |
37 // Creates dialog and initializes UI. | 37 // Creates dialog and initializes UI. |
38 void Init(const base::FilePath& profile_path_to_focus, | 38 void Init(const base::FilePath& profile_path_to_focus, |
39 Profile* guest_profile, | 39 Profile* guest_profile, |
40 const GURL& url); | 40 const GURL& url); |
41 | 41 |
42 // views::View: | 42 // views::View: |
43 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; | 43 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) override; |
44 virtual gfx::Size GetPreferredSize() const OVERRIDE; | 44 virtual gfx::Size GetPreferredSize() const override; |
45 | 45 |
46 // views::DialogDelegateView: | 46 // views::DialogDelegateView: |
47 virtual bool CanResize() const OVERRIDE; | 47 virtual bool CanResize() const override; |
48 virtual bool CanMaximize() const OVERRIDE; | 48 virtual bool CanMaximize() const override; |
49 virtual bool CanMinimize() const OVERRIDE; | 49 virtual bool CanMinimize() const override; |
50 virtual base::string16 GetWindowTitle() const OVERRIDE; | 50 virtual base::string16 GetWindowTitle() const override; |
51 virtual int GetDialogButtons() const OVERRIDE; | 51 virtual int GetDialogButtons() const override; |
52 virtual void WindowClosing() OVERRIDE; | 52 virtual void WindowClosing() override; |
53 virtual bool UseNewStyleForThisDialog() const OVERRIDE; | 53 virtual bool UseNewStyleForThisDialog() const override; |
54 | 54 |
55 views::WebView* web_view_; | 55 views::WebView* web_view_; |
56 | 56 |
57 scoped_ptr<AutoKeepAlive> keep_alive_; | 57 scoped_ptr<AutoKeepAlive> keep_alive_; |
58 | 58 |
59 DISALLOW_COPY_AND_ASSIGN(UserManagerView); | 59 DISALLOW_COPY_AND_ASSIGN(UserManagerView); |
60 }; | 60 }; |
61 | 61 |
62 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_USER_MANAGER_VIEW_H_ | 62 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_USER_MANAGER_VIEW_H_ |
OLD | NEW |