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

Unified Diff: chrome/browser/infobars/infobar_service.cc

Issue 765643003: Remove dependency from infobars component to the embedder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/infobars/infobar_service.h ('k') | chrome/browser/infobars/infobar_service_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/infobars/infobar_service.cc
diff --git a/chrome/browser/infobars/infobar_service.cc b/chrome/browser/infobars/infobar_service.cc
index 5037cc8fc008ef47c621188a110ac1089b77caf1..01b9d68859a0e3d4c07875133e527a4fe07bf53d 100644
--- a/chrome/browser/infobars/infobar_service.cc
+++ b/chrome/browser/infobars/infobar_service.cc
@@ -74,6 +74,10 @@ int InfoBarService::GetActiveEntryID() {
return active_entry ? active_entry->GetUniqueID() : 0;
}
+const infobars::InfoBarConstants& InfoBarService::GetInfoBarConstants() const {
+ return kChromeInfoBarConstants;
+}
+
void InfoBarService::NotifyInfoBarAdded(InfoBar* infobar) {
InfoBarManager::NotifyInfoBarAdded(infobar);
// TODO(droger): Remove the notifications and have listeners change to be
« no previous file with comments | « chrome/browser/infobars/infobar_service.h ('k') | chrome/browser/infobars/infobar_service_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698