| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/chromeos/login/user_controller.h" | 5 #include "chrome/browser/chromeos/login/user_controller.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/stringprintf.h" | 10 #include "base/stringprintf.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "third_party/cros/chromeos_wm_ipc_enums.h" | 22 #include "third_party/cros/chromeos_wm_ipc_enums.h" |
| 23 #include "gfx/canvas.h" | 23 #include "gfx/canvas.h" |
| 24 #include "grit/generated_resources.h" | 24 #include "grit/generated_resources.h" |
| 25 #include "grit/theme_resources.h" | 25 #include "grit/theme_resources.h" |
| 26 #include "ui/base/l10n/l10n_util.h" | 26 #include "ui/base/l10n/l10n_util.h" |
| 27 #include "ui/base/resource/resource_bundle.h" | 27 #include "ui/base/resource/resource_bundle.h" |
| 28 #include "views/background.h" | 28 #include "views/background.h" |
| 29 #include "views/controls/button/native_button.h" | 29 #include "views/controls/button/native_button.h" |
| 30 #include "views/controls/label.h" | 30 #include "views/controls/label.h" |
| 31 #include "views/controls/throbber.h" | 31 #include "views/controls/throbber.h" |
| 32 #include "views/grid_layout.h" | 32 #include "views/layout/grid_layout.h" |
| 33 #include "views/painter.h" | 33 #include "views/painter.h" |
| 34 #include "views/screen.h" | 34 #include "views/screen.h" |
| 35 #include "views/widget/root_view.h" | 35 #include "views/widget/root_view.h" |
| 36 #include "views/widget/widget_gtk.h" | 36 #include "views/widget/widget_gtk.h" |
| 37 | 37 |
| 38 using views::ColumnSet; | 38 using views::ColumnSet; |
| 39 using views::GridLayout; | 39 using views::GridLayout; |
| 40 using views::WidgetGtk; | 40 using views::WidgetGtk; |
| 41 | 41 |
| 42 namespace chromeos { | 42 namespace chromeos { |
| (...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 return; | 509 return; |
| 510 } | 510 } |
| 511 delegate_->RemoveUser(this); | 511 delegate_->RemoveUser(this); |
| 512 } | 512 } |
| 513 | 513 |
| 514 void UserController::SelectUserRelative(int shift) { | 514 void UserController::SelectUserRelative(int shift) { |
| 515 delegate_->SelectUser(user_index() + shift); | 515 delegate_->SelectUser(user_index() + shift); |
| 516 } | 516 } |
| 517 | 517 |
| 518 } // namespace chromeos | 518 } // namespace chromeos |
| OLD | NEW |