| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 ASH_WM_OVERVIEW_WINDOW_SELECTOR_DELEGATE_H_ | 5 #ifndef ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_DELEGATE_H_ |
| 6 #define ASH_WM_OVERVIEW_WINDOW_SELECTOR_DELEGATE_H_ | 6 #define ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 | 10 |
| 11 namespace aura { | 11 namespace aura { |
| 12 class Window; | 12 class Window; |
| 13 } | 13 } |
| 14 | 14 |
| 15 namespace ash { | 15 namespace ash { |
| 16 | 16 |
| 17 // Implement this class to handle the selection event from WindowSelector. | 17 // Implement this class to handle the selection event from WindowSelector. |
| 18 class ASH_EXPORT WindowSelectorDelegate { | 18 class ASH_EXPORT WindowSelectorDelegate { |
| 19 public: | 19 public: |
| 20 // Invoked if selection is ended. | 20 // Invoked if selection is ended. |
| 21 virtual void OnSelectionEnded() = 0; | 21 virtual void OnSelectionEnded() = 0; |
| 22 | 22 |
| 23 protected: | 23 protected: |
| 24 virtual ~WindowSelectorDelegate() {} | 24 virtual ~WindowSelectorDelegate() {} |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 } // namespace ash | 27 } // namespace ash |
| 28 | 28 |
| 29 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_DELEGATE_H_ | 29 #endif // ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_DELEGATE_H_ |
| OLD | NEW |