| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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::NavigationController::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 bool OnMessageReceived(const IPC::Message& message) override; | 78 bool OnMessageReceived(const IPC::Message& message, |
| 79 content::RenderFrameHost* render_frame_host) override; |
| 79 | 80 |
| 80 // Message handlers. | 81 // Message handlers. |
| 81 void OnDidBlockDisplayingInsecureContent(); | 82 void OnDidBlockDisplayingInsecureContent(); |
| 82 | 83 |
| 83 // See description in set_ignore_next_reload(). | 84 // See description in set_ignore_next_reload(). |
| 84 bool ignore_next_reload_; | 85 bool ignore_next_reload_; |
| 85 | 86 |
| 86 DISALLOW_COPY_AND_ASSIGN(InfoBarService); | 87 DISALLOW_COPY_AND_ASSIGN(InfoBarService); |
| 87 }; | 88 }; |
| 88 | 89 |
| 89 #endif // CHROME_BROWSER_INFOBARS_INFOBAR_SERVICE_H_ | 90 #endif // CHROME_BROWSER_INFOBARS_INFOBAR_SERVICE_H_ |
| OLD | NEW |