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/chromeos/ui/echo_dialog_view.h" | 5 #include "chrome/browser/chromeos/ui/echo_dialog_view.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "chrome/browser/chromeos/ui/echo_dialog_listener.h" | 9 #include "chrome/browser/chromeos/ui/echo_dialog_listener.h" |
8 #include "chrome/grit/generated_resources.h" | 10 #include "chrome/grit/generated_resources.h" |
9 #include "ui/base/l10n/l10n_util.h" | 11 #include "ui/base/l10n/l10n_util.h" |
10 #include "ui/gfx/font.h" | 12 #include "ui/gfx/font.h" |
11 #include "ui/views/border.h" | 13 #include "ui/views/border.h" |
12 #include "ui/views/controls/styled_label.h" | 14 #include "ui/views/controls/styled_label.h" |
13 #include "ui/views/widget/widget.h" | 15 #include "ui/views/widget/widget.h" |
14 #include "ui/views/window/dialog_client_view.h" | 16 #include "ui/views/window/dialog_client_view.h" |
15 | 17 |
16 namespace { | 18 namespace { |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 kDialogLabelBottomInset, | 176 kDialogLabelBottomInset, |
175 kDialogLabelRightInset)); | 177 kDialogLabelRightInset)); |
176 | 178 |
177 label_->SetBounds(label_->x(), | 179 label_->SetBounds(label_->x(), |
178 label_->y(), | 180 label_->y(), |
179 kDialogLabelPreferredWidth, | 181 kDialogLabelPreferredWidth, |
180 label_->GetHeightForWidth(kDialogLabelPreferredWidth)); | 182 label_->GetHeightForWidth(kDialogLabelPreferredWidth)); |
181 } | 183 } |
182 | 184 |
183 } // namespace chromeos | 185 } // namespace chromeos |
OLD | NEW |