diff options
author | mad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-26 19:58:32 +0000 |
---|---|---|
committer | mad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-26 19:58:32 +0000 |
commit | f701930f2094bea08a1aa8425c8d704b8f3ef579 (patch) | |
tree | 6e94e3064dae27712be507f744c3fb1a6480a241 /chrome/browser/tab_contents/tab_contents_delegate.h | |
parent | b03794d3a1bb536655207d73a78f115e3722893d (diff) | |
download | chromium_src-f701930f2094bea08a1aa8425c8d704b8f3ef579.zip chromium_src-f701930f2094bea08a1aa8425c8d704b8f3ef579.tar.gz chromium_src-f701930f2094bea08a1aa8425c8d704b8f3ef579.tar.bz2 |
Committing for Eric Dingle.
http://codereview.chromium.org/890005
BUG=0
TEST=none
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42800 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents_delegate.h')
-rw-r--r-- | chrome/browser/tab_contents/tab_contents_delegate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/tab_contents_delegate.h b/chrome/browser/tab_contents/tab_contents_delegate.h index 25653f4..9a84f83 100644 --- a/chrome/browser/tab_contents/tab_contents_delegate.h +++ b/chrome/browser/tab_contents/tab_contents_delegate.h @@ -283,6 +283,9 @@ class TabContentsDelegate : public AutomationResourceRoutingDelegate { // 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() {} }; |