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_WM_WINDOW_OVERVIEW_MODE_H_ 6 #define ATHENA_WM_WINDOW_OVERVIEW_MODE_H_ 7 8 #include "base/memory/scoped_ptr.h" 9 10 namespace aura { 11 class Window; 12 } 13 14 namespace athena { 15 16 class WindowOverviewModeDelegate { 17 public: 18 virtual ~WindowOverviewModeDelegate() {} 19 20 virtual void OnSelectWindow(aura::Window* window) = 0; 21 }; 22 23 class WindowOverviewMode { 24 public: 25 virtual ~WindowOverviewMode() {} 26 27 static scoped_ptr<WindowOverviewMode> Create( 28 aura::Window* container, 29 WindowOverviewModeDelegate* delegate); 30 }; 31 32 } // namespace athena 33 34 #endif // ATHENA_WM_WINDOW_OVERVIEW_MODE_H_ 35