| 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 #include "chrome/browser/ui/views/infobars/infobars.h" | 5 #include "chrome/browser/ui/views/infobars/infobars.h" |
| 6 | 6 |
| 7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
| 8 #include "app/resource_bundle.h" | |
| 9 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
| 10 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
| 11 #include "chrome/browser/ui/views/event_utils.h" | 10 #include "chrome/browser/ui/views/event_utils.h" |
| 12 #include "chrome/browser/ui/views/infobars/infobar_container.h" | 11 #include "chrome/browser/ui/views/infobars/infobar_container.h" |
| 13 #include "chrome/browser/ui/views/infobars/infobar_text_button.h" | 12 #include "chrome/browser/ui/views/infobars/infobar_text_button.h" |
| 14 #include "gfx/canvas.h" | 13 #include "gfx/canvas.h" |
| 15 #include "grit/generated_resources.h" | 14 #include "grit/generated_resources.h" |
| 16 #include "grit/theme_resources.h" | 15 #include "grit/theme_resources.h" |
| 17 #include "ui/base/animation/slide_animation.h" | 16 #include "ui/base/animation/slide_animation.h" |
| 17 #include "ui/base/resource/resource_bundle.h" |
| 18 #include "views/background.h" | 18 #include "views/background.h" |
| 19 #include "views/controls/button/image_button.h" | 19 #include "views/controls/button/image_button.h" |
| 20 #include "views/controls/button/native_button.h" | 20 #include "views/controls/button/native_button.h" |
| 21 #include "views/controls/image_view.h" | 21 #include "views/controls/image_view.h" |
| 22 #include "views/controls/label.h" | 22 #include "views/controls/label.h" |
| 23 #include "views/focus/external_focus_tracker.h" | 23 #include "views/focus/external_focus_tracker.h" |
| 24 #include "views/widget/widget.h" | 24 #include "views/widget/widget.h" |
| 25 | 25 |
| 26 #if defined(OS_WIN) | 26 #if defined(OS_WIN) |
| 27 #include "ui/base/win/hwnd_util.h" | 27 #include "ui/base/win/hwnd_util.h" |
| (...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 604 | 604 |
| 605 InfoBar* LinkInfoBarDelegate::CreateInfoBar() { | 605 InfoBar* LinkInfoBarDelegate::CreateInfoBar() { |
| 606 return new LinkInfoBar(this); | 606 return new LinkInfoBar(this); |
| 607 } | 607 } |
| 608 | 608 |
| 609 // ConfirmInfoBarDelegate, InfoBarDelegate overrides: -------------------------- | 609 // ConfirmInfoBarDelegate, InfoBarDelegate overrides: -------------------------- |
| 610 | 610 |
| 611 InfoBar* ConfirmInfoBarDelegate::CreateInfoBar() { | 611 InfoBar* ConfirmInfoBarDelegate::CreateInfoBar() { |
| 612 return new ConfirmInfoBar(this); | 612 return new ConfirmInfoBar(this); |
| 613 } | 613 } |
| OLD | NEW |