Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: chrome/browser/ui/browser_list_observer.h

Issue 2127143002: Integrate audible tab tracking into desktop engagement service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/browser_list.cc ('k') | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_BROWSER_LIST_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_LIST_OBSERVER_H_
6 #define CHROME_BROWSER_UI_BROWSER_LIST_OBSERVER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_LIST_OBSERVER_H_
7 7
8 class Browser; 8 class Browser;
9 9
10 namespace chrome { 10 namespace chrome {
11 11
12 class BrowserListObserver { 12 class BrowserListObserver {
13 public: 13 public:
14 // Called immediately after a browser is added to the list 14 // Called immediately after a browser is added to the list
15 virtual void OnBrowserAdded(Browser* browser) {} 15 virtual void OnBrowserAdded(Browser* browser) {}
16 16
17 // Called immediately after a browser is removed from the list 17 // Called immediately after a browser is removed from the list
18 virtual void OnBrowserRemoved(Browser* browser) {} 18 virtual void OnBrowserRemoved(Browser* browser) {}
19 19
20 // Called immediately after a browser is set active (SetLastActive) 20 // Called immediately after a browser is set active (SetLastActive)
21 virtual void OnBrowserSetLastActive(Browser* browser) {} 21 virtual void OnBrowserSetLastActive(Browser* browser) {}
22 22
23 virtual void OnBrowserNoLongerActive(Browser* browser) {}
24
23 protected: 25 protected:
24 virtual ~BrowserListObserver() {} 26 virtual ~BrowserListObserver() {}
25 }; 27 };
26 28
27 } // namespace chrome 29 } // namespace chrome
28 30
29 #endif // CHROME_BROWSER_UI_BROWSER_LIST_OBSERVER_H_ 31 #endif // CHROME_BROWSER_UI_BROWSER_LIST_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_list.cc ('k') | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698