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_TAB_CONTENTS_INFOBAR_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_INFOBAR_DELEGATE_H_ |
6 #define CHROME_BROWSER_TAB_CONTENTS_INFOBAR_DELEGATE_H_ | 6 #define CONTENT_BROWSER_TAB_CONTENTS_INFOBAR_DELEGATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
11 #include "chrome/browser/tab_contents/navigation_controller.h" | 11 #include "content/browser/tab_contents/navigation_controller.h" |
12 #include "webkit/glue/window_open_disposition.h" | 12 #include "webkit/glue/window_open_disposition.h" |
13 | 13 |
14 class ConfirmInfoBarDelegate; | 14 class ConfirmInfoBarDelegate; |
15 class CrashedExtensionInfoBarDelegate; | 15 class CrashedExtensionInfoBarDelegate; |
16 class ExtensionInfoBarDelegate; | 16 class ExtensionInfoBarDelegate; |
17 class InfoBar; | 17 class InfoBar; |
18 class LinkInfoBarDelegate; | 18 class LinkInfoBarDelegate; |
19 class PluginInstallerInfoBarDelegate; | 19 class PluginInstallerInfoBarDelegate; |
20 class SkBitmap; | 20 class SkBitmap; |
21 class ThemeInstalledInfoBarDelegate; | 21 class ThemeInstalledInfoBarDelegate; |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 virtual string16 GetMessageText() const; | 223 virtual string16 GetMessageText() const; |
224 virtual int GetButtons() const; | 224 virtual int GetButtons() const; |
225 | 225 |
226 SkBitmap* icon_; | 226 SkBitmap* icon_; |
227 string16 message_; | 227 string16 message_; |
228 bool auto_expire_; // Should it expire automatically on navigation? | 228 bool auto_expire_; // Should it expire automatically on navigation? |
229 | 229 |
230 DISALLOW_COPY_AND_ASSIGN(SimpleAlertInfoBarDelegate); | 230 DISALLOW_COPY_AND_ASSIGN(SimpleAlertInfoBarDelegate); |
231 }; | 231 }; |
232 | 232 |
233 #endif // CHROME_BROWSER_TAB_CONTENTS_INFOBAR_DELEGATE_H_ | 233 #endif // CONTENT_BROWSER_TAB_CONTENTS_INFOBAR_DELEGATE_H_ |
OLD | NEW |