diff options
author | skerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-24 16:33:03 +0000 |
---|---|---|
committer | skerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-24 16:33:03 +0000 |
commit | 61a57ce8f5687d1d7e9ef8e39af14773c135a144 (patch) | |
tree | 2e074ed9f2603783ca4363fe1ed63ee25d8da5de /chrome/browser/browser.h | |
parent | d3d9b4fb5b36702006f903e2d1ed0aa7e9829d64 (diff) | |
download | chromium_src-61a57ce8f5687d1d7e9ef8e39af14773c135a144.zip chromium_src-61a57ce8f5687d1d7e9ef8e39af14773c135a144.tar.gz chromium_src-61a57ce8f5687d1d7e9ef8e39af14773c135a144.tar.bz2 |
Make app panels use popup type. Nuke refocus code and tests.
BUG=55943
TEST=Manual.
Review URL: http://codereview.chromium.org/3418027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60476 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r-- | chrome/browser/browser.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h index 0982959..9b4bdc3 100644 --- a/chrome/browser/browser.h +++ b/chrome/browser/browser.h @@ -71,12 +71,16 @@ class Browser : public TabStripModelDelegate, TYPE_APP = 4, // The new-style app created by installing a crx. This kinda needs to be // separate because we require larger icons and an application name that - // are found in the crx. If we ever decide to create this kind of app using - // some other system (eg some web standard), maybe we should generalize this - // name to TYPE_MULTITAB or something. + // are found in the crx. If we ever decide to create this kind of app + // using some other system (eg some web standard), maybe we should + // generalize this name to TYPE_MULTITAB or something. TYPE_EXTENSION_APP = 8, TYPE_APP_POPUP = TYPE_APP | TYPE_POPUP, TYPE_DEVTOOLS = TYPE_APP | 16, + + // TODO(skerner): crbug/56776: Until the panel UI is complete on all + // platforms, apps that set app.launch.container = "panel" have type + // APP_POPUP. TYPE_APP_PANEL = TYPE_APP | 32, TYPE_ANY = TYPE_NORMAL | TYPE_POPUP | @@ -212,13 +216,6 @@ class Browser : public TabStripModelDelegate, // |profile|, that session is re-used. static void OpenURLOffTheRecord(Profile* profile, const GURL& url); - // Finds an app tab running a given app in a browser. - static TabContents* FindAppTab(Browser* browser, Extension* extension_app); - - // Finds a browser running an app as an app window or panel. - static Browser* FindAppWindowOrPanel(Profile* profile, - Extension* extension_app); - // Open an application specified by |app_id| in the appropriate launch // container. Returns NULL if the app_id is invalid or if ExtensionsService // isn't ready/available. |