| 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 #include "ash/system/chromeos/multi_user/user_switch_util.h" | 5 #include "ash/system/chromeos/multi_user/user_switch_util.h" |
| 6 | 6 |
| 7 #include "ash/common/system/chromeos/screen_security/screen_tray_item.h" |
| 7 #include "ash/shell.h" | 8 #include "ash/shell.h" |
| 8 #include "ash/system/chromeos/screen_security/screen_tray_item.h" | |
| 9 #include "ash/system/tray/system_tray.h" | 9 #include "ash/system/tray/system_tray.h" |
| 10 #include "grit/ash_strings.h" | 10 #include "grit/ash_strings.h" |
| 11 #include "ui/base/l10n/l10n_util.h" | 11 #include "ui/base/l10n/l10n_util.h" |
| 12 #include "ui/base/resource/resource_bundle.h" | 12 #include "ui/base/resource/resource_bundle.h" |
| 13 #include "ui/views/controls/label.h" | 13 #include "ui/views/controls/label.h" |
| 14 #include "ui/views/layout/grid_layout.h" | 14 #include "ui/views/layout/grid_layout.h" |
| 15 #include "ui/views/widget/widget.h" | 15 #include "ui/views/widget/widget.h" |
| 16 #include "ui/views/window/dialog_delegate.h" | 16 #include "ui/views/window/dialog_delegate.h" |
| 17 | 17 |
| 18 namespace ash { | 18 namespace ash { |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 if (!instance_for_test) | 188 if (!instance_for_test) |
| 189 return false; | 189 return false; |
| 190 if (accept) | 190 if (accept) |
| 191 instance_for_test->Accept(); | 191 instance_for_test->Accept(); |
| 192 delete instance_for_test->GetWidget()->GetNativeWindow(); | 192 delete instance_for_test->GetWidget()->GetNativeWindow(); |
| 193 CHECK(!instance_for_test); | 193 CHECK(!instance_for_test); |
| 194 return true; | 194 return true; |
| 195 } | 195 } |
| 196 | 196 |
| 197 } // namespace chromeos | 197 } // namespace chromeos |
| OLD | NEW |