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 "base/message_loop.h" | 7 #include "base/message_loop.h" |
8 #include "chrome/app/theme/theme_resources.h" | 8 #include "grit/theme_resources.h" |
9 #include "chrome/browser/views/event_utils.h" | 9 #include "chrome/browser/views/event_utils.h" |
10 #include "chrome/browser/views/infobars/infobar_container.h" | 10 #include "chrome/browser/views/infobars/infobar_container.h" |
11 #include "chrome/common/l10n_util.h" | 11 #include "chrome/common/l10n_util.h" |
12 #include "chrome/common/resource_bundle.h" | 12 #include "chrome/common/resource_bundle.h" |
13 #include "chrome/common/slide_animation.h" | 13 #include "chrome/common/slide_animation.h" |
14 #include "chrome/views/background.h" | 14 #include "chrome/views/background.h" |
15 #include "chrome/views/button.h" | 15 #include "chrome/views/button.h" |
16 #include "chrome/views/external_focus_tracker.h" | 16 #include "chrome/views/external_focus_tracker.h" |
17 #include "chrome/views/image_view.h" | 17 #include "chrome/views/image_view.h" |
18 #include "chrome/views/label.h" | 18 #include "chrome/views/label.h" |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 | 468 |
469 InfoBar* LinkInfoBarDelegate::CreateInfoBar() { | 469 InfoBar* LinkInfoBarDelegate::CreateInfoBar() { |
470 return new LinkInfoBar(this); | 470 return new LinkInfoBar(this); |
471 } | 471 } |
472 | 472 |
473 // ConfirmInfoBarDelegate, InfoBarDelegate overrides: -------------------------- | 473 // ConfirmInfoBarDelegate, InfoBarDelegate overrides: -------------------------- |
474 | 474 |
475 InfoBar* ConfirmInfoBarDelegate::CreateInfoBar() { | 475 InfoBar* ConfirmInfoBarDelegate::CreateInfoBar() { |
476 return new ConfirmInfoBar(this); | 476 return new ConfirmInfoBar(this); |
477 } | 477 } |
OLD | NEW |