Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 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 ASH_WM_WINDOW_SELECTOR_DELEGATE_H_ | |
| 6 #define ASH_WM_WINDOW_SELECTOR_DELEGATE_H_ | |
| 7 | |
| 8 #include "base/compiler_specific.h" | |
| 9 | |
| 10 namespace aura { | |
| 11 class Window; | |
| 12 } | |
| 13 | |
| 14 namespace ash { | |
| 15 | |
| 16 // Implement this class to handle the selection event from WindowSelector. | |
| 17 class WindowSelectorDelegate { | |
| 18 public: | |
| 19 // Invoked when a window is selected. | |
| 20 virtual void SelectWindow(aura::Window* window) = 0; | |
|
sky
2013/07/30 16:39:19
Maybe OnWindowSelected?
flackr
2013/07/31 20:06:12
Done.
| |
| 21 | |
| 22 protected: | |
| 23 virtual ~WindowSelectorDelegate() {} | |
| 24 }; | |
| 25 | |
| 26 } // namespace ash | |
| 27 | |
| 28 #endif // ASH_WM_WINDOW_SELECTOR_H_ | |
|
sky
2013/07/30 16:39:19
_DELEGATE
flackr
2013/07/31 20:06:12
Done.
| |
| OLD | NEW |