| 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/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 virtual void NotifyInfoBarAdded(infobars::InfoBar* infobar) OVERRIDE; | 55 virtual void NotifyInfoBarAdded(infobars::InfoBar* infobar) OVERRIDE; |
| 56 virtual void NotifyInfoBarRemoved(infobars::InfoBar* infobar, | 56 virtual void NotifyInfoBarRemoved(infobars::InfoBar* infobar, |
| 57 bool animate) OVERRIDE; | 57 bool animate) OVERRIDE; |
| 58 virtual void NotifyInfoBarReplaced(infobars::InfoBar* old_infobar, | 58 virtual void NotifyInfoBarReplaced(infobars::InfoBar* old_infobar, |
| 59 infobars::InfoBar* new_infobar) OVERRIDE; | 59 infobars::InfoBar* new_infobar) OVERRIDE; |
| 60 | 60 |
| 61 // content::WebContentsObserver: | 61 // content::WebContentsObserver: |
| 62 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; | 62 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; |
| 63 virtual void NavigationEntryCommitted( | 63 virtual void NavigationEntryCommitted( |
| 64 const content::LoadCommittedDetails& load_details) OVERRIDE; | 64 const content::LoadCommittedDetails& load_details) OVERRIDE; |
| 65 virtual void WebContentsDestroyed( | 65 virtual void WebContentsDestroyed() OVERRIDE; |
| 66 content::WebContents* web_contents) OVERRIDE; | |
| 67 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 66 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
| 68 | 67 |
| 69 // Message handlers. | 68 // Message handlers. |
| 70 void OnDidBlockDisplayingInsecureContent(); | 69 void OnDidBlockDisplayingInsecureContent(); |
| 71 void OnDidBlockRunningInsecureContent(); | 70 void OnDidBlockRunningInsecureContent(); |
| 72 | 71 |
| 73 | 72 |
| 74 DISALLOW_COPY_AND_ASSIGN(InfoBarService); | 73 DISALLOW_COPY_AND_ASSIGN(InfoBarService); |
| 75 }; | 74 }; |
| 76 | 75 |
| 77 #endif // CHROME_BROWSER_INFOBARS_INFOBAR_SERVICE_H_ | 76 #endif // CHROME_BROWSER_INFOBARS_INFOBAR_SERVICE_H_ |
| OLD | NEW |