OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SIMPLE_ALERT_INFOBAR_DELEGATE_H_ | 5 #ifndef COMPONENTS_INFOBARS_CORE_SIMPLE_ALERT_INFOBAR_DELEGATE_H_ |
6 #define COMPONENTS_INFOBARS_CORE_SIMPLE_ALERT_INFOBAR_DELEGATE_H_ | 6 #define COMPONENTS_INFOBARS_CORE_SIMPLE_ALERT_INFOBAR_DELEGATE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
11 #include "components/infobars/core/confirm_infobar_delegate.h" | 11 #include "components/infobars/core/confirm_infobar_delegate.h" |
12 #include "ui/gfx/vector_icons_public.h" | 12 #include "ui/gfx/vector_icons_public.h" |
13 | 13 |
14 namespace infobars { | 14 namespace infobars { |
15 class InfoBarManager; | 15 class InfoBarManager; |
16 } | 16 } |
17 | 17 |
18 class SimpleAlertInfoBarDelegate : public ConfirmInfoBarDelegate { | 18 class SimpleAlertInfoBarDelegate : public ConfirmInfoBarDelegate { |
19 public: | 19 public: |
(...skipping 22 matching lines...) Expand all Loading... |
42 | 42 |
43 const int icon_id_; | 43 const int icon_id_; |
44 gfx::VectorIconId vector_icon_id_; | 44 gfx::VectorIconId vector_icon_id_; |
45 base::string16 message_; | 45 base::string16 message_; |
46 bool auto_expire_; // Should it expire automatically on navigation? | 46 bool auto_expire_; // Should it expire automatically on navigation? |
47 | 47 |
48 DISALLOW_COPY_AND_ASSIGN(SimpleAlertInfoBarDelegate); | 48 DISALLOW_COPY_AND_ASSIGN(SimpleAlertInfoBarDelegate); |
49 }; | 49 }; |
50 | 50 |
51 #endif // COMPONENTS_INFOBARS_CORE_SIMPLE_ALERT_INFOBAR_DELEGATE_H_ | 51 #endif // COMPONENTS_INFOBARS_CORE_SIMPLE_ALERT_INFOBAR_DELEGATE_H_ |
OLD | NEW |