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/views/infobars/infobars.h" | 5 #include "chrome/browser/views/infobars/infobars.h" |
6 | 6 |
7 #include "app/gfx/canvas.h" | |
8 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
9 #include "app/resource_bundle.h" | 8 #include "app/resource_bundle.h" |
10 #include "app/slide_animation.h" | 9 #include "app/slide_animation.h" |
11 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
12 #include "app/win_util.h" | 11 #include "app/win_util.h" |
13 #endif // defined(OS_WIN) | 12 #endif // defined(OS_WIN) |
14 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
15 #include "chrome/browser/views/event_utils.h" | 14 #include "chrome/browser/views/event_utils.h" |
16 #include "chrome/browser/views/infobars/infobar_container.h" | 15 #include "chrome/browser/views/infobars/infobar_container.h" |
| 16 #include "gfx/canvas.h" |
17 #include "grit/generated_resources.h" | 17 #include "grit/generated_resources.h" |
18 #include "grit/theme_resources.h" | 18 #include "grit/theme_resources.h" |
19 #include "views/background.h" | 19 #include "views/background.h" |
20 #include "views/controls/button/image_button.h" | 20 #include "views/controls/button/image_button.h" |
21 #include "views/controls/button/native_button.h" | 21 #include "views/controls/button/native_button.h" |
22 #include "views/controls/image_view.h" | 22 #include "views/controls/image_view.h" |
23 #include "views/controls/label.h" | 23 #include "views/controls/label.h" |
24 #include "views/focus/external_focus_tracker.h" | 24 #include "views/focus/external_focus_tracker.h" |
25 #include "views/widget/widget.h" | 25 #include "views/widget/widget.h" |
26 | 26 |
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
568 | 568 |
569 InfoBar* LinkInfoBarDelegate::CreateInfoBar() { | 569 InfoBar* LinkInfoBarDelegate::CreateInfoBar() { |
570 return new LinkInfoBar(this); | 570 return new LinkInfoBar(this); |
571 } | 571 } |
572 | 572 |
573 // ConfirmInfoBarDelegate, InfoBarDelegate overrides: -------------------------- | 573 // ConfirmInfoBarDelegate, InfoBarDelegate overrides: -------------------------- |
574 | 574 |
575 InfoBar* ConfirmInfoBarDelegate::CreateInfoBar() { | 575 InfoBar* ConfirmInfoBarDelegate::CreateInfoBar() { |
576 return new ConfirmInfoBar(this); | 576 return new ConfirmInfoBar(this); |
577 } | 577 } |
OLD | NEW |