Infobar material design refresh: layout
[chromium-blink-merge.git] / chrome / browser / ui / browser_list_observer.h
blob0b80981635f44f016d3c765370b1567b20408d28
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_
8 class Browser;
10 namespace chrome {
12 class BrowserListObserver {
13 public:
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) {}
23 protected:
24 virtual ~BrowserListObserver() {}
27 } // namespace chrome
29 #endif // CHROME_BROWSER_UI_BROWSER_LIST_OBSERVER_H_