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 |
| 5 #ifndef ATHENA_HOME_MINIMIZED_HOME_H_ |
| 6 #define ATHENA_HOME_MINIMIZED_HOME_H_ |
| 7 |
| 8 namespace aura { |
| 9 class Window; |
| 10 } |
| 11 |
| 12 namespace views { |
| 13 class Widget; |
| 14 } |
| 15 |
| 16 namespace athena { |
| 17 |
| 18 class MinimizedHomeDragDelegate { |
| 19 public: |
| 20 virtual ~MinimizedHomeDragDelegate() {} |
| 21 |
| 22 virtual void OnDragUpCompleted() = 0; |
| 23 }; |
| 24 |
| 25 // Note that |delegate| is guaranteed to be alive as long as the returned widget |
| 26 // is alive. |
| 27 views::Widget* CreateMinimizedHome(aura::Window* container, |
| 28 MinimizedHomeDragDelegate* delegate); |
| 29 |
| 30 } // namespace athena |
| 31 |
| 32 #endif // ATHENA_HOME_MINIMIZED_HOME_H_ |
OLD | NEW |