summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_tabs_module.cc
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-24 00:28:01 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-24 00:28:01 +0000
commit967872d14a000b9eb925044825dd2d1185817124 (patch)
tree6b8919b77052b7dee1e253324c0ffd6bebffaca4 /chrome/browser/extensions/extension_tabs_module.cc
parent045da4b8068f9d9c8d890f4e7c754b7b7ddf5ad5 (diff)
downloadchromium_src-967872d14a000b9eb925044825dd2d1185817124.zip
chromium_src-967872d14a000b9eb925044825dd2d1185817124.tar.gz
chromium_src-967872d14a000b9eb925044825dd2d1185817124.tar.bz2
This adds a new kind of browser window: EXTENSION_APP. EXTENSION_APP windows have a bigger titlebar with a giant icon and title, and supports tabs.
Review URL: http://codereview.chromium.org/1730010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45520 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_tabs_module.cc')
-rw-r--r--chrome/browser/extensions/extension_tabs_module.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_tabs_module.cc b/chrome/browser/extensions/extension_tabs_module.cc
index 1ac66b7..46e0e89 100644
--- a/chrome/browser/extensions/extension_tabs_module.cc
+++ b/chrome/browser/extensions/extension_tabs_module.cc
@@ -1096,7 +1096,7 @@ static bool GetTabById(int tab_id, Profile* profile,
static std::string GetWindowTypeText(Browser::Type type) {
// Note: for app popups, we report "app".
- if ((type & Browser::TYPE_APP) != 0)
+ if ((type & Browser::TYPE_APP) != 0 || type == Browser::TYPE_EXTENSION_APP)
return keys::kWindowTypeValueApp;
if ((type & Browser::TYPE_POPUP) != 0)
return keys::kWindowTypeValuePopup;