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_DELEGATE_H_ | 5 #ifndef COMPONENTS_INFOBARS_CORE_INFOBAR_DELEGATE_H_ |
6 #define COMPONENTS_INFOBARS_CORE_INFOBAR_DELEGATE_H_ | 6 #define COMPONENTS_INFOBARS_CORE_INFOBAR_DELEGATE_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 | 27 |
28 namespace offline_pages { | 28 namespace offline_pages { |
29 class OfflinePageInfoBarDelegate; | 29 class OfflinePageInfoBarDelegate; |
30 } | 30 } |
31 #endif | 31 #endif |
32 | 32 |
33 namespace translate { | 33 namespace translate { |
34 class TranslateInfoBarDelegate; | 34 class TranslateInfoBarDelegate; |
35 } | 35 } |
36 | 36 |
37 class SearchGeolocationDisclosureInfoBarDelegate; | |
38 | |
39 namespace gfx { | 37 namespace gfx { |
40 class Image; | 38 class Image; |
41 enum class VectorIconId; | 39 enum class VectorIconId; |
42 } | 40 } |
43 | 41 |
44 namespace infobars { | 42 namespace infobars { |
45 | 43 |
46 class InfoBar; | 44 class InfoBar; |
47 | 45 |
48 // An interface implemented by objects wishing to control an InfoBar. | 46 // An interface implemented by objects wishing to control an InfoBar. |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 | 246 |
249 // The ID of the active navigation entry at the time we became owned. | 247 // The ID of the active navigation entry at the time we became owned. |
250 int nav_entry_id_; | 248 int nav_entry_id_; |
251 | 249 |
252 DISALLOW_COPY_AND_ASSIGN(InfoBarDelegate); | 250 DISALLOW_COPY_AND_ASSIGN(InfoBarDelegate); |
253 }; | 251 }; |
254 | 252 |
255 } // namespace infobars | 253 } // namespace infobars |
256 | 254 |
257 #endif // COMPONENTS_INFOBARS_CORE_INFOBAR_DELEGATE_H_ | 255 #endif // COMPONENTS_INFOBARS_CORE_INFOBAR_DELEGATE_H_ |
OLD | NEW |