summaryrefslogtreecommitdiffstats
path: root/content/browser/tab_contents/tab_contents.h
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-06 19:31:27 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-06 19:31:27 +0000
commitcd8d90dbf639924259ad342fef2f10fd5a89dea9 (patch)
tree670a1f010da774d6893fea918389f4649940c2a3 /content/browser/tab_contents/tab_contents.h
parentc5e61c7494bebd27df0e968d8d2644e5546154e8 (diff)
downloadchromium_src-cd8d90dbf639924259ad342fef2f10fd5a89dea9.zip
chromium_src-cd8d90dbf639924259ad342fef2f10fd5a89dea9.tar.gz
chromium_src-cd8d90dbf639924259ad342fef2f10fd5a89dea9.tar.bz2
Move TabContents::ShouldDisplayURL() to ToolbarModel. This doesn't really belong in content and had some bugs because content didn't know about extensions. Moving it up to chrome's browser level allows us to easily handle extensions.
BUG=98746 Review URL: http://codereview.chromium.org/8073029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104349 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/tab_contents/tab_contents.h')
-rw-r--r--content/browser/tab_contents/tab_contents.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/content/browser/tab_contents/tab_contents.h b/content/browser/tab_contents/tab_contents.h
index 8262c95..d6465be 100644
--- a/content/browser/tab_contents/tab_contents.h
+++ b/content/browser/tab_contents/tab_contents.h
@@ -168,12 +168,6 @@ class CONTENT_EXPORT TabContents : public PageNavigator,
// returns the current SiteInstance.
SiteInstance* GetPendingSiteInstance() const;
- // Defines whether this tab's URL should be displayed in the browser's URL
- // bar. Normally this is true so you can see the URL. This is set to false
- // for the new tab page and related pages so that the URL bar is empty and
- // the user is invited to type into it.
- virtual bool ShouldDisplayURL();
-
// Return whether this tab contents is loading a resource, or whether its
// web_ui is.
bool IsLoading() const;