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

Unified Diff: components/infobars/core/infobar_manager.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 | « components/infobars/core/infobar_delegate.h ('k') | components/infobars/test/infobar_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « components/infobars/core/infobar_delegate.h ('k') | components/infobars/test/infobar_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698