| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_INFOBARS_CORE_INFOBAR_MANAGER_H_ | 5 #ifndef COMPONENTS_INFOBARS_CORE_INFOBAR_MANAGER_H_ |
| 6 #define COMPONENTS_INFOBARS_CORE_INFOBAR_MANAGER_H_ | 6 #define COMPONENTS_INFOBARS_CORE_INFOBAR_MANAGER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <vector> | 10 #include <vector> |
| 9 | 11 |
| 12 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
| 12 #include "components/infobars/core/infobar_delegate.h" | 15 #include "components/infobars/core/infobar_delegate.h" |
| 13 | 16 |
| 14 class ConfirmInfoBarDelegate; | 17 class ConfirmInfoBarDelegate; |
| 15 class GURL; | 18 class GURL; |
| 16 | 19 |
| 17 namespace content { | 20 namespace content { |
| 18 class WebContents; | 21 class WebContents; |
| 19 } | 22 } |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 bool infobars_enabled_; | 128 bool infobars_enabled_; |
| 126 | 129 |
| 127 base::ObserverList<Observer, true> observer_list_; | 130 base::ObserverList<Observer, true> observer_list_; |
| 128 | 131 |
| 129 DISALLOW_COPY_AND_ASSIGN(InfoBarManager); | 132 DISALLOW_COPY_AND_ASSIGN(InfoBarManager); |
| 130 }; | 133 }; |
| 131 | 134 |
| 132 } // namespace infobars | 135 } // namespace infobars |
| 133 | 136 |
| 134 #endif // COMPONENTS_INFOBARS_CORE_INFOBAR_MANAGER_H_ | 137 #endif // COMPONENTS_INFOBARS_CORE_INFOBAR_MANAGER_H_ |
| OLD | NEW |