OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/views/infobars/infobars.h" | 5 #include "chrome/browser/views/infobars/infobars.h" |
6 | 6 |
| 7 #include "app/l10n_util.h" |
7 #include "app/resource_bundle.h" | 8 #include "app/resource_bundle.h" |
8 #include "app/slide_animation.h" | 9 #include "app/slide_animation.h" |
9 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
10 #include "chrome/browser/views/event_utils.h" | 11 #include "chrome/browser/views/event_utils.h" |
11 #include "chrome/browser/views/infobars/infobar_container.h" | 12 #include "chrome/browser/views/infobars/infobar_container.h" |
12 #include "chrome/common/gfx/chrome_canvas.h" | 13 #include "chrome/common/gfx/chrome_canvas.h" |
13 #include "chrome/common/l10n_util.h" | |
14 #include "chrome/views/background.h" | 14 #include "chrome/views/background.h" |
15 #include "chrome/views/controls/button/image_button.h" | 15 #include "chrome/views/controls/button/image_button.h" |
16 #include "chrome/views/controls/button/native_button.h" | 16 #include "chrome/views/controls/button/native_button.h" |
17 #include "chrome/views/controls/image_view.h" | 17 #include "chrome/views/controls/image_view.h" |
18 #include "chrome/views/controls/label.h" | 18 #include "chrome/views/controls/label.h" |
19 #include "chrome/views/focus/external_focus_tracker.h" | 19 #include "chrome/views/focus/external_focus_tracker.h" |
20 #include "chrome/views/widget/widget.h" | 20 #include "chrome/views/widget/widget.h" |
21 #include "grit/generated_resources.h" | 21 #include "grit/generated_resources.h" |
22 #include "grit/theme_resources.h" | 22 #include "grit/theme_resources.h" |
23 | 23 |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
483 | 483 |
484 InfoBar* LinkInfoBarDelegate::CreateInfoBar() { | 484 InfoBar* LinkInfoBarDelegate::CreateInfoBar() { |
485 return new LinkInfoBar(this); | 485 return new LinkInfoBar(this); |
486 } | 486 } |
487 | 487 |
488 // ConfirmInfoBarDelegate, InfoBarDelegate overrides: -------------------------- | 488 // ConfirmInfoBarDelegate, InfoBarDelegate overrides: -------------------------- |
489 | 489 |
490 InfoBar* ConfirmInfoBarDelegate::CreateInfoBar() { | 490 InfoBar* ConfirmInfoBarDelegate::CreateInfoBar() { |
491 return new ConfirmInfoBar(this); | 491 return new ConfirmInfoBar(this); |
492 } | 492 } |
OLD | NEW |