| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 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 // A delegate that | |
| 5 | |
| 6 #ifndef ASH_WM_OVERVIEW_TRANSPARENT_ACTIVATE_WINDOW_BUTTON_DELEGATE_H_ | |
| 7 #define ASH_WM_OVERVIEW_TRANSPARENT_ACTIVATE_WINDOW_BUTTON_DELEGATE_H_ | |
| 8 | |
| 9 #include "ash/ash_export.h" | |
| 10 | |
| 11 namespace ash { | |
| 12 | |
| 13 // A pure-virtual delegate that is used by the TransparentActivateWindowButton | |
| 14 // to manipulate windows while in overview mode. | |
| 15 class ASH_EXPORT TransparentActivateWindowButtonDelegate { | |
| 16 public: | |
| 17 // Called when the TransparentActivateWindowButton was selected. | |
| 18 virtual void Select() = 0; | |
| 19 | |
| 20 protected: | |
| 21 TransparentActivateWindowButtonDelegate() {} | |
| 22 virtual ~TransparentActivateWindowButtonDelegate() {} | |
| 23 | |
| 24 private: | |
| 25 DISALLOW_COPY_AND_ASSIGN(TransparentActivateWindowButtonDelegate); | |
| 26 }; | |
| 27 | |
| 28 } // namespace ash | |
| 29 | |
| 30 #endif // ASH_WM_OVERVIEW_TRANSPARENT_ACTIVATE_WINDOW_BUTTON_DELEGATE_H_ | |
| OLD | NEW |