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_EXTENSIONS_WINDOW_CONTROLLER_LIST_OBSERVER_H_
6 #define CHROME_BROWSER_EXTENSIONS_WINDOW_CONTROLLER_LIST_OBSERVER_H_
10 class WindowController
;
12 // Implementations must not change the contents of the WindowControllerList
13 // inside any of these methods.
14 class WindowControllerListObserver
{
16 // Called immediately after a window controller is added to the list
17 virtual void OnWindowControllerAdded(WindowController
* window_controller
) {}
19 // Called immediately after a window controller is removed from the list
20 virtual void OnWindowControllerRemoved(WindowController
* window_controller
) {}
23 virtual ~WindowControllerListObserver() {}
26 } // namespace extensions
28 #endif // CHROME_BROWSER_EXTENSIONS_WINDOW_CONTROLLER_LIST_OBSERVER_H_