Chromium Code Reviews| Index: ash/wm/window_selector_delegate.h |
| diff --git a/ash/wm/window_selector_delegate.h b/ash/wm/window_selector_delegate.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d8ac791ba9ab22c3e01d4932a2305b0cb9124b81 |
| --- /dev/null |
| +++ b/ash/wm/window_selector_delegate.h |
| @@ -0,0 +1,28 @@ |
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef ASH_WM_WINDOW_SELECTOR_DELEGATE_H_ |
| +#define ASH_WM_WINDOW_SELECTOR_DELEGATE_H_ |
| + |
| +#include "base/compiler_specific.h" |
| + |
| +namespace aura { |
| +class Window; |
| +} |
| + |
| +namespace ash { |
| + |
| +// Implement this class to handle the selection event from WindowSelector. |
| +class WindowSelectorDelegate { |
| + public: |
| + // Invoked when a window is selected. |
| + virtual void SelectWindow(aura::Window* window) = 0; |
|
sky
2013/07/30 16:39:19
Maybe OnWindowSelected?
flackr
2013/07/31 20:06:12
Done.
|
| + |
| + protected: |
| + virtual ~WindowSelectorDelegate() {} |
| +}; |
| + |
| +} // namespace ash |
| + |
| +#endif // ASH_WM_WINDOW_SELECTOR_H_ |
|
sky
2013/07/30 16:39:19
_DELEGATE
flackr
2013/07/31 20:06:12
Done.
|