OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef UI_VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_ | 5 #ifndef UI_VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_ |
6 #define UI_VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_ | 6 #define UI_VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/string16.h" | 11 #include "base/string16.h" |
12 #include "views/view.h" | 12 #include "ui/views/view.h" |
13 | 13 |
14 namespace views { | 14 namespace views { |
15 | 15 |
16 class Checkbox; | 16 class Checkbox; |
17 class ImageView; | 17 class ImageView; |
18 class Label; | 18 class Label; |
19 class Textfield; | 19 class Textfield; |
20 | 20 |
21 // This class displays the contents of a message box. It is intended for use | 21 // This class displays the contents of a message box. It is intended for use |
22 // within a constrained window, and has options for a message, prompt, OK | 22 // within a constrained window, and has options for a message, prompt, OK |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 | 90 |
91 // Maximum width of the message label. | 91 // Maximum width of the message label. |
92 int message_width_; | 92 int message_width_; |
93 | 93 |
94 DISALLOW_COPY_AND_ASSIGN(MessageBoxView); | 94 DISALLOW_COPY_AND_ASSIGN(MessageBoxView); |
95 }; | 95 }; |
96 | 96 |
97 } // namespace views | 97 } // namespace views |
98 | 98 |
99 #endif // UI_VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_ | 99 #endif // UI_VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_ |
OLD | NEW |