| 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 #ifndef CHROME_BROWSER_VIEWS_INFOBARS_INFOBAR_CONTAINER_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_INFOBARS_INFOBAR_CONTAINER_H_ |
| 6 #define CHROME_BROWSER_VIEWS_INFOBARS_INFOBAR_CONTAINER_H_ | 6 #define CHROME_BROWSER_VIEWS_INFOBARS_INFOBAR_CONTAINER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/common/notification_observer.h" |
| 9 #include "chrome/common/notification_registrar.h" | 10 #include "chrome/common/notification_registrar.h" |
| 10 #include "views/view.h" | 11 #include "views/view.h" |
| 11 | 12 |
| 12 class BrowserView; | 13 class BrowserView; |
| 13 class InfoBarDelegate; | 14 class InfoBarDelegate; |
| 14 class TabContents; | 15 class TabContents; |
| 15 | 16 |
| 16 // A views::View subclass that contains a collection of InfoBars associated with | 17 // A views::View subclass that contains a collection of InfoBars associated with |
| 17 // a TabContents. | 18 // a TabContents. |
| 18 class InfoBarContainer : public views::View, | 19 class InfoBarContainer : public views::View, |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 // The Delegate which receives notifications from the InfoBarContainer. | 84 // The Delegate which receives notifications from the InfoBarContainer. |
| 84 Delegate* delegate_; | 85 Delegate* delegate_; |
| 85 | 86 |
| 86 // The TabContents for which we are currently showing InfoBars. | 87 // The TabContents for which we are currently showing InfoBars. |
| 87 TabContents* tab_contents_; | 88 TabContents* tab_contents_; |
| 88 | 89 |
| 89 DISALLOW_COPY_AND_ASSIGN(InfoBarContainer); | 90 DISALLOW_COPY_AND_ASSIGN(InfoBarContainer); |
| 90 }; | 91 }; |
| 91 | 92 |
| 92 #endif // CHROME_BROWSER_VIEWS_INFOBARS_INFOBAR_CONTAINER_H_ | 93 #endif // CHROME_BROWSER_VIEWS_INFOBARS_INFOBAR_CONTAINER_H_ |
| OLD | NEW |