summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_list.h
diff options
context:
space:
mode:
authorerikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-01 03:57:10 +0000
committererikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-01 03:57:10 +0000
commitac7b5aff9ae65cdb387c557f49958ac1e388181c (patch)
treeaf017ea80734d7750913960d10e29372370743bc /chrome/browser/browser_list.h
parent3bc67d82dd6310c46b0c1e9c4d9c2af50481f4e7 (diff)
downloadchromium_src-ac7b5aff9ae65cdb387c557f49958ac1e388181c.zip
chromium_src-ac7b5aff9ae65cdb387c557f49958ac1e388181c.tar.gz
chromium_src-ac7b5aff9ae65cdb387c557f49958ac1e388181c.tar.bz2
Implement page action popups.
A random side effect of this change is that it changes page action hover from bubble to tool tip. BUG=24645 TEST=ExtensionApiTest.PageActionPopup Review URL: http://codereview.chromium.org/347016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30677 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_list.h')
-rw-r--r--chrome/browser/browser_list.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/browser_list.h b/chrome/browser/browser_list.h
index 45a0246..bc136aa 100644
--- a/chrome/browser/browser_list.h
+++ b/chrome/browser/browser_list.h
@@ -52,10 +52,12 @@ class BrowserList {
// a browser does not become active (perhaps the user launches Chrome, then
// clicks on another app before the first browser window appears) then this
// returns NULL.
+ // WARNING #2: this will always be NULL in unit tests run on the bots.
static Browser* GetLastActive();
// Identical in behavior to GetLastActive(), except that the most recently
// open browser owned by |profile| is returned. If none exist, returns NULL.
+ // WARNING: see warnings in GetLastActive().
static Browser* GetLastActiveWithProfile(Profile *profile);
// Find an existing browser window with the provided type. Searches in the