| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 ATHENA_WM_WINDOW_OVERVIEW_MODE_H_ | 5 #ifndef ATHENA_WM_WINDOW_OVERVIEW_MODE_H_ |
| 6 #define ATHENA_WM_WINDOW_OVERVIEW_MODE_H_ | 6 #define ATHENA_WM_WINDOW_OVERVIEW_MODE_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "ui/aura/window.h" | 9 |
| 10 namespace aura { |
| 11 class Window; |
| 12 } |
| 10 | 13 |
| 11 namespace athena { | 14 namespace athena { |
| 12 class WindowListProvider; | |
| 13 | 15 |
| 14 class WindowOverviewModeDelegate { | 16 class WindowOverviewModeDelegate { |
| 15 public: | 17 public: |
| 16 virtual ~WindowOverviewModeDelegate() {} | 18 virtual ~WindowOverviewModeDelegate() {} |
| 17 | 19 |
| 18 virtual void OnSelectWindow(aura::Window* window) = 0; | 20 virtual void OnSelectWindow(aura::Window* window) = 0; |
| 19 }; | 21 }; |
| 20 | 22 |
| 21 class WindowOverviewMode { | 23 class WindowOverviewMode { |
| 22 public: | 24 public: |
| 23 virtual ~WindowOverviewMode() {} | 25 virtual ~WindowOverviewMode() {} |
| 24 | 26 |
| 25 static scoped_ptr<WindowOverviewMode> Create( | 27 static scoped_ptr<WindowOverviewMode> Create( |
| 26 aura::Window* container, | 28 aura::Window* container, |
| 27 const WindowListProvider* window_list_provider, | |
| 28 WindowOverviewModeDelegate* delegate); | 29 WindowOverviewModeDelegate* delegate); |
| 29 }; | 30 }; |
| 30 | 31 |
| 31 } // namespace athena | 32 } // namespace athena |
| 32 | 33 |
| 33 #endif // ATHENA_WM_WINDOW_OVERVIEW_MODE_H_ | 34 #endif // ATHENA_WM_WINDOW_OVERVIEW_MODE_H_ |
| OLD | NEW |