OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "chrome/browser/ui/views/user_manager_view.h" | 5 #include "chrome/browser/ui/views/profiles/user_manager_view.h" |
6 | 6 |
7 #include "chrome/browser/browser_process.h" | 7 #include "chrome/browser/browser_process.h" |
8 #include "chrome/browser/lifetime/application_lifetime.h" | 8 #include "chrome/browser/lifetime/application_lifetime.h" |
9 #include "chrome/browser/profiles/profile_manager.h" | 9 #include "chrome/browser/profiles/profile_manager.h" |
10 #include "chrome/browser/profiles/profile_metrics.h" | 10 #include "chrome/browser/profiles/profile_metrics.h" |
11 #include "chrome/browser/profiles/profile_window.h" | 11 #include "chrome/browser/profiles/profile_window.h" |
12 #include "chrome/browser/ui/browser.h" | 12 #include "chrome/browser/ui/browser.h" |
13 #include "chrome/browser/ui/browser_dialogs.h" | 13 #include "chrome/browser/ui/browser_dialogs.h" |
14 #include "chrome/browser/ui/browser_window.h" | 14 #include "chrome/browser/ui/browser_window.h" |
15 #include "chrome/browser/ui/views/auto_keep_alive.h" | 15 #include "chrome/browser/ui/views/auto_keep_alive.h" |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 // Now that the window is closed, we can allow a new one to be opened. | 146 // Now that the window is closed, we can allow a new one to be opened. |
147 // (WindowClosing comes in asynchronously from the call to Close() and we | 147 // (WindowClosing comes in asynchronously from the call to Close() and we |
148 // may have already opened a new instance). | 148 // may have already opened a new instance). |
149 if (instance_ == this) | 149 if (instance_ == this) |
150 instance_ = NULL; | 150 instance_ = NULL; |
151 } | 151 } |
152 | 152 |
153 bool UserManagerView::UseNewStyleForThisDialog() const { | 153 bool UserManagerView::UseNewStyleForThisDialog() const { |
154 return false; | 154 return false; |
155 } | 155 } |
OLD | NEW |