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 "chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.h" | 5 #include "chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.h" |
6 | 6 |
7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
| 8 #include "base/macros.h" |
8 #include "chrome/grit/generated_resources.h" | 9 #include "chrome/grit/generated_resources.h" |
9 #include "ui/base/l10n/l10n_util.h" | 10 #include "ui/base/l10n/l10n_util.h" |
10 #include "ui/base/resource/resource_bundle.h" | 11 #include "ui/base/resource/resource_bundle.h" |
11 #include "ui/views/controls/button/checkbox.h" | 12 #include "ui/views/controls/button/checkbox.h" |
12 #include "ui/views/controls/label.h" | 13 #include "ui/views/controls/label.h" |
13 #include "ui/views/layout/grid_layout.h" | 14 #include "ui/views/layout/grid_layout.h" |
14 #include "ui/views/widget/widget.h" | 15 #include "ui/views/widget/widget.h" |
15 #include "ui/views/window/dialog_delegate.h" | 16 #include "ui/views/window/dialog_delegate.h" |
16 | 17 |
17 namespace chromeos { | 18 namespace chromeos { |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 } // namespace | 154 } // namespace |
154 | 155 |
155 //////////////////////////////////////////////////////////////////////////////// | 156 //////////////////////////////////////////////////////////////////////////////// |
156 // Factory function. | 157 // Factory function. |
157 | 158 |
158 void ShowMultiprofilesIntroDialog(const base::Callback<void(bool)> on_accept) { | 159 void ShowMultiprofilesIntroDialog(const base::Callback<void(bool)> on_accept) { |
159 MultiprofilesIntroView::ShowDialog(on_accept); | 160 MultiprofilesIntroView::ShowDialog(on_accept); |
160 } | 161 } |
161 | 162 |
162 } // namespace chromeos | 163 } // namespace chromeos |
OLD | NEW |