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

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

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/chrome_infobar_delegate.h ('k') | chrome/browser/infobars/infobar_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/infobars/infobar_service.h
diff --git a/chrome/browser/infobars/infobar_service.h b/chrome/browser/infobars/infobar_service.h
index 985b7c0a4dbc1dc49750fec14dcda08b837188b9..9519efbea05aea2182c273e87941e4fd0f0f43db 100644
--- a/chrome/browser/infobars/infobar_service.h
+++ b/chrome/browser/infobars/infobar_service.h
@@ -19,8 +19,12 @@ class WebContents;
namespace infobars {
class InfoBar;
+struct InfoBarConstants;
}
+// Constants used by InfoBar animations.
+extern const infobars::InfoBarConstants kChromeInfoBarConstants;
+
// Associates a Tab to a InfoBarManager and manages its lifetime.
// It manages the infobar notifications and responds to navigation events.
class InfoBarService : public infobars::InfoBarManager,
@@ -53,6 +57,8 @@ class InfoBarService : public infobars::InfoBarManager,
// InfoBarManager:
int GetActiveEntryID() override;
+ const infobars::InfoBarConstants& GetInfoBarConstants() const override;
+
// TODO(droger): Remove these functions once infobar notifications are
// removed. See http://crbug.com/354380
void NotifyInfoBarAdded(infobars::InfoBar* infobar) override;
« no previous file with comments | « chrome/browser/infobars/chrome_infobar_delegate.h ('k') | chrome/browser/infobars/infobar_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698