1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_BROWSER_LIST_OBSERVER_H_
6 #define CHROME_BROWSER_UI_BROWSER_LIST_OBSERVER_H_
12 class BrowserListObserver
{
14 // Called immediately after a browser is added to the list
15 virtual void OnBrowserAdded(Browser
* browser
) {}
17 // Called immediately after a browser is removed from the list
18 virtual void OnBrowserRemoved(Browser
* browser
) {}
20 // Called immediately after a browser is set active (SetLastActive)
21 virtual void OnBrowserSetLastActive(Browser
* browser
) {}
24 virtual ~BrowserListObserver() {}
29 #endif // CHROME_BROWSER_UI_BROWSER_LIST_OBSERVER_H_