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

Side by Side Diff: chrome/browser/extensions/window_controller_list_observer.h

Issue 10777004: Support chrome.windows extension API events for browserless Panels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced Created 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #ifndef CHROME_BROWSER_EXTENSIONS_WINDOW_CONTROLLER_LIST_OBSERVER_H_
6 #define CHROME_BROWSER_EXTENSIONS_WINDOW_CONTROLLER_LIST_OBSERVER_H_
7
8 namespace extensions {
9
10 class WindowController;
11
12 // Implementations must not change the contents of the WindowControllerList
13 // inside any of these methods.
14 class WindowControllerListObserver {
15 public:
16 // Called immediately after a window controller is added to the list
17 virtual void OnWindowControllerAdded(WindowController* window_controller) {}
18
19 // Called immediately after a window controller is removed from the list
20 virtual void OnWindowControllerRemoved(WindowController* window_controller) {}
21
22 protected:
23 virtual ~WindowControllerListObserver() {}
24 };
25
26 } // namespace extensions
27
28 #endif // CHROME_BROWSER_EXTENSIONS_WINDOW_CONTROLLER_LIST_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/window_controller_list.cc ('k') | chrome/browser/extensions/window_event_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698