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 CHROME_BROWSER_INFOBARS_INFOBAR_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_INFOBARS_INFOBAR_SERVICE_H_ |
6 #define CHROME_BROWSER_INFOBARS_INFOBAR_SERVICE_H_ | 6 #define CHROME_BROWSER_INFOBARS_INFOBAR_SERVICE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "components/infobars/core/infobar_manager.h" | 12 #include "components/infobars/core/infobar_manager.h" |
12 #include "content/public/browser/web_contents_observer.h" | 13 #include "content/public/browser/web_contents_observer.h" |
13 #include "content/public/browser/web_contents_user_data.h" | 14 #include "content/public/browser/web_contents_user_data.h" |
14 #include "ui/base/window_open_disposition.h" | 15 #include "ui/base/window_open_disposition.h" |
15 | 16 |
16 namespace content { | 17 namespace content { |
17 struct LoadCommittedDetails; | 18 struct LoadCommittedDetails; |
18 class WebContents; | 19 class WebContents; |
19 } | 20 } |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 // Message handlers. | 80 // Message handlers. |
80 void OnDidBlockDisplayingInsecureContent(); | 81 void OnDidBlockDisplayingInsecureContent(); |
81 | 82 |
82 // See description in set_ignore_next_reload(). | 83 // See description in set_ignore_next_reload(). |
83 bool ignore_next_reload_; | 84 bool ignore_next_reload_; |
84 | 85 |
85 DISALLOW_COPY_AND_ASSIGN(InfoBarService); | 86 DISALLOW_COPY_AND_ASSIGN(InfoBarService); |
86 }; | 87 }; |
87 | 88 |
88 #endif // CHROME_BROWSER_INFOBARS_INFOBAR_SERVICE_H_ | 89 #endif // CHROME_BROWSER_INFOBARS_INFOBAR_SERVICE_H_ |
OLD | NEW |