Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Side by Side Diff: chrome/browser/infobars/infobar_service.h

Issue 2634093004: Convert InfoBarService to use the new navigation callbacks. (Closed)
Patch Set: closer to original Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/infobars/infobar_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/infobars/infobar_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698