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_image_view.h" | 5 #include "chrome/browser/chromeos/login/user_image_view.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
10 #include "app/resource_bundle.h" | 10 #include "app/resource_bundle.h" |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "chrome/browser/chromeos/login/helper.h" | 12 #include "chrome/browser/chromeos/login/helper.h" |
13 #include "chrome/browser/chromeos/login/rounded_rect_painter.h" | 13 #include "chrome/browser/chromeos/login/rounded_rect_painter.h" |
14 #include "chrome/browser/chromeos/login/wizard_accessibility_helper.h" | 14 #include "chrome/browser/chromeos/login/wizard_accessibility_helper.h" |
15 #include "chrome/browser/profile_manager.h" | 15 #include "chrome/browser/profiles/profile_manager.h" |
16 #include "gfx/canvas.h" | 16 #include "gfx/canvas.h" |
17 #include "grit/generated_resources.h" | 17 #include "grit/generated_resources.h" |
18 #include "grit/theme_resources.h" | 18 #include "grit/theme_resources.h" |
19 #include "skia/ext/image_operations.h" | 19 #include "skia/ext/image_operations.h" |
20 #include "views/controls/button/image_button.h" | 20 #include "views/controls/button/image_button.h" |
21 #include "views/controls/button/native_button.h" | 21 #include "views/controls/button/native_button.h" |
22 #include "views/controls/image_view.h" | 22 #include "views/controls/image_view.h" |
23 #include "views/controls/label.h" | 23 #include "views/controls/label.h" |
24 #include "views/controls/throbber.h" | 24 #include "views/controls/throbber.h" |
25 #include "views/grid_layout.h" | 25 #include "views/grid_layout.h" |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 delegate_->OnOK(user_image_->GetImage()); | 320 delegate_->OnOK(user_image_->GetImage()); |
321 } else if (sender == skip_button_) { | 321 } else if (sender == skip_button_) { |
322 delegate_->OnSkip(); | 322 delegate_->OnSkip(); |
323 } else { | 323 } else { |
324 NOTREACHED(); | 324 NOTREACHED(); |
325 } | 325 } |
326 } | 326 } |
327 | 327 |
328 } // namespace chromeos | 328 } // namespace chromeos |
329 | 329 |
OLD | NEW |