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/message_bubble.h" | 5 #include "chrome/browser/chromeos/login/message_bubble.h" |
6 | 6 |
7 #include "app/resource_bundle.h" | |
8 #include "base/logging.h" | 7 #include "base/logging.h" |
9 #include "chrome/browser/chromeos/login/helper.h" | 8 #include "chrome/browser/chromeos/login/helper.h" |
10 #include "grit/generated_resources.h" | 9 #include "grit/generated_resources.h" |
11 #include "grit/theme_resources.h" | 10 #include "grit/theme_resources.h" |
| 11 #include "ui/base/resource/resource_bundle.h" |
12 #include "views/controls/button/image_button.h" | 12 #include "views/controls/button/image_button.h" |
13 #include "views/controls/image_view.h" | 13 #include "views/controls/image_view.h" |
14 #include "views/controls/label.h" | 14 #include "views/controls/label.h" |
15 #include "views/grid_layout.h" | 15 #include "views/grid_layout.h" |
16 #include "views/widget/widget.h" | 16 #include "views/widget/widget.h" |
17 | 17 |
18 namespace chromeos { | 18 namespace chromeos { |
19 | 19 |
20 static const int kBorderSize = 4; | 20 static const int kBorderSize = 4; |
21 static const int kMaxLabelWidth = 250; | 21 static const int kMaxLabelWidth = 250; |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 if (grab_enabled_) | 149 if (grab_enabled_) |
150 WidgetGtk::DoGrab(); | 150 WidgetGtk::DoGrab(); |
151 } | 151 } |
152 | 152 |
153 void MessageBubble::Close() { | 153 void MessageBubble::Close() { |
154 parent_ = NULL; | 154 parent_ = NULL; |
155 InfoBubble::Close(); | 155 InfoBubble::Close(); |
156 } | 156 } |
157 | 157 |
158 } // namespace chromeos | 158 } // namespace chromeos |
OLD | NEW |