Index: components/infobars/core/infobar_manager.h |
diff --git a/components/infobars/core/infobar_manager.h b/components/infobars/core/infobar_manager.h |
index 532566ef6621e32761c1662d8050351829e1b6d1..1343221f05549d15e05cd40ea4355682268bdc32 100644 |
--- a/components/infobars/core/infobar_manager.h |
+++ b/components/infobars/core/infobar_manager.h |
@@ -18,6 +18,7 @@ class WebContents; |
namespace infobars { |
class InfoBar; |
+struct InfoBarConstants; |
// Provides access to creating, removing and enumerating info bars |
// attached to a tab. |
@@ -94,6 +95,9 @@ class InfoBarManager { |
// Returns the active entry ID. |
virtual int GetActiveEntryID() = 0; |
+ // Returns the constants to use for InfoBar animations. |
+ virtual const InfoBarConstants& GetInfoBarConstants() const = 0; |
+ |
protected: |
// Notifies the observer in |observer_list_|. |
// TODO(droger): Absorb these methods back into their callers once virtual |