| 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 #ifndef CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
| 10 | 10 |
| 11 #include "base/scoped_nsobject.h" | 11 #include "base/scoped_nsobject.h" |
| 12 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
| 13 #import "chrome/browser/ui/cocoa/view_resizer.h" | 13 #import "chrome/browser/ui/cocoa/view_resizer.h" |
| 14 #include "chrome/common/notification_registrar.h" | 14 #include "content/common/notification_registrar.h" |
| 15 | 15 |
| 16 @class InfoBarController; | 16 @class InfoBarController; |
| 17 class InfoBarDelegate; | 17 class InfoBarDelegate; |
| 18 class InfoBarNotificationObserver; | 18 class InfoBarNotificationObserver; |
| 19 class TabContents; | 19 class TabContents; |
| 20 class TabStripModel; | 20 class TabStripModel; |
| 21 | 21 |
| 22 // Protocol for basic container methods, as needed by an InfoBarController. | 22 // Protocol for basic container methods, as needed by an InfoBarController. |
| 23 // This protocol exists to make mocking easier in unittests. | 23 // This protocol exists to make mocking easier in unittests. |
| 24 @protocol InfoBarContainer | 24 @protocol InfoBarContainer |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 | 130 |
| 131 @interface InfoBarContainerController (JustForTesting) | 131 @interface InfoBarContainerController (JustForTesting) |
| 132 | 132 |
| 133 // Removes all infobar views. Callers must call | 133 // Removes all infobar views. Callers must call |
| 134 // positionInfoBarsAndRedraw() after calling this method. | 134 // positionInfoBarsAndRedraw() after calling this method. |
| 135 - (void)removeAllInfoBars; | 135 - (void)removeAllInfoBars; |
| 136 | 136 |
| 137 @end | 137 @end |
| 138 | 138 |
| 139 #endif // CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_ | 139 #endif // CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_ |
| OLD | NEW |