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 <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 int GetActiveEntryID() override; | 64 int GetActiveEntryID() override; |
65 // TODO(droger): Remove these functions once infobar notifications are | 65 // TODO(droger): Remove these functions once infobar notifications are |
66 // removed. See http://crbug.com/354380 | 66 // removed. See http://crbug.com/354380 |
67 void NotifyInfoBarAdded(infobars::InfoBar* infobar) override; | 67 void NotifyInfoBarAdded(infobars::InfoBar* infobar) override; |
68 void NotifyInfoBarRemoved(infobars::InfoBar* infobar, bool animate) override; | 68 void NotifyInfoBarRemoved(infobars::InfoBar* infobar, bool animate) override; |
69 | 69 |
70 // content::WebContentsObserver: | 70 // content::WebContentsObserver: |
71 void RenderProcessGone(base::TerminationStatus status) override; | 71 void RenderProcessGone(base::TerminationStatus status) override; |
72 void DidStartNavigationToPendingEntry( | 72 void DidStartNavigationToPendingEntry( |
73 const GURL& url, | 73 const GURL& url, |
74 content::NavigationController::ReloadType reload_type) override; | 74 content::ReloadType reload_type) override; |
75 void NavigationEntryCommitted( | 75 void NavigationEntryCommitted( |
76 const content::LoadCommittedDetails& load_details) override; | 76 const content::LoadCommittedDetails& load_details) override; |
77 void WebContentsDestroyed() override; | 77 void WebContentsDestroyed() override; |
78 | 78 |
79 // See description in set_ignore_next_reload(). | 79 // See description in set_ignore_next_reload(). |
80 bool ignore_next_reload_; | 80 bool ignore_next_reload_; |
81 | 81 |
82 DISALLOW_COPY_AND_ASSIGN(InfoBarService); | 82 DISALLOW_COPY_AND_ASSIGN(InfoBarService); |
83 }; | 83 }; |
84 | 84 |
85 #endif // CHROME_BROWSER_INFOBARS_INFOBAR_SERVICE_H_ | 85 #endif // CHROME_BROWSER_INFOBARS_INFOBAR_SERVICE_H_ |
OLD | NEW |