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