| Index: chrome/browser/tab_contents/tab_contents_delegate.h
|
| ===================================================================
|
| --- chrome/browser/tab_contents/tab_contents_delegate.h (revision 42751)
|
| +++ chrome/browser/tab_contents/tab_contents_delegate.h (working copy)
|
| @@ -283,6 +283,9 @@
|
| // typically happens when popups are created.
|
| virtual void TabContentsCreated(TabContents* new_contents) {}
|
|
|
| + // Returns whether infobars are enabled. Overrideable by child classes.
|
| + virtual bool infobars_enabled() { return true; }
|
| +
|
| protected:
|
| ~TabContentsDelegate() {}
|
| };
|
|
|