summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.h
diff options
context:
space:
mode:
authordhg@chromium.org <dhg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-10 19:17:31 +0000
committerdhg@chromium.org <dhg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-10 19:17:31 +0000
commit9ee17e8cc5429a85d4754468c7233f8e2f8ef980 (patch)
tree9af1909f26530c58b773088ba4681488055e8a51 /chrome/browser/browser.h
parent11f0757a69e1c1fca3cd4787a339885e82d59b46 (diff)
downloadchromium_src-9ee17e8cc5429a85d4754468c7233f8e2f8ef980.zip
chromium_src-9ee17e8cc5429a85d4754468c7233f8e2f8ef980.tar.gz
chromium_src-9ee17e8cc5429a85d4754468c7233f8e2f8ef980.tar.bz2
Fixing filebrowser so it opens with a panel with no location bar. making it so only one can be opened, and making it so that it expands on getting a new download.
BUG=chromium-os:4995 TEST=verify that all the above happens (tested on device) Review URL: http://codereview.chromium.org/3094001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55601 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r--chrome/browser/browser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index d210854..4a7c9fa 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -119,6 +119,9 @@ class Browser : public TabStripModelDelegate,
// Like Create, but creates a tabstrip-less popup window.
static Browser* CreateForPopup(Profile* profile);
+ // Like Create, but creates a browser of the specified type.
+ static Browser* CreateForType(Type type, Profile* profile);
+
// Like Create, but creates a toolbar-less "app" window for the specified
// app. |app_name| is required and is used to identify the window to the
// shell. |extension| is optional. If supplied, we create a window with