| 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_TAB_CONTENTS_INFOBAR_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_INFOBAR_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_TAB_CONTENTS_INFOBAR_DELEGATE_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_INFOBAR_DELEGATE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | |
| 10 | |
| 11 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/string16.h" |
| 12 #include "chrome/browser/tab_contents/navigation_controller.h" | 11 #include "chrome/browser/tab_contents/navigation_controller.h" |
| 13 #include "webkit/glue/window_open_disposition.h" | 12 #include "webkit/glue/window_open_disposition.h" |
| 14 | 13 |
| 15 class AlertInfoBarDelegate; | 14 class AlertInfoBarDelegate; |
| 16 class ConfirmInfoBarDelegate; | 15 class ConfirmInfoBarDelegate; |
| 17 class CrashedExtensionInfoBarDelegate; | 16 class CrashedExtensionInfoBarDelegate; |
| 18 class ExtensionInfoBarDelegate; | 17 class ExtensionInfoBarDelegate; |
| 19 class TranslateInfoBarDelegate; | 18 class TranslateInfoBarDelegate; |
| 20 class InfoBar; | 19 class InfoBar; |
| 21 class LinkInfoBarDelegate; | 20 class LinkInfoBarDelegate; |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 | 289 |
| 291 private: | 290 private: |
| 292 string16 message_; | 291 string16 message_; |
| 293 SkBitmap* icon_; | 292 SkBitmap* icon_; |
| 294 bool auto_expire_; // Should it expire automatically on navigation? | 293 bool auto_expire_; // Should it expire automatically on navigation? |
| 295 | 294 |
| 296 DISALLOW_COPY_AND_ASSIGN(SimpleAlertInfoBarDelegate); | 295 DISALLOW_COPY_AND_ASSIGN(SimpleAlertInfoBarDelegate); |
| 297 }; | 296 }; |
| 298 | 297 |
| 299 #endif // CHROME_BROWSER_TAB_CONTENTS_INFOBAR_DELEGATE_H_ | 298 #endif // CHROME_BROWSER_TAB_CONTENTS_INFOBAR_DELEGATE_H_ |
| OLD | NEW |