Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Side by Side Diff: athena/wm/window_overview_mode.h

Issue 863033002: Delete athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « athena/wm/window_manager_unittest.cc ('k') | athena/wm/window_overview_mode.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_WM_WINDOW_OVERVIEW_MODE_H_
6 #define ATHENA_WM_WINDOW_OVERVIEW_MODE_H_
7
8 #include "base/memory/scoped_ptr.h"
9 #include "ui/aura/window.h"
10
11 namespace athena {
12 class SplitViewController;
13 class WindowListProvider;
14
15 class WindowOverviewModeDelegate {
16 public:
17 virtual ~WindowOverviewModeDelegate() {}
18
19 // Called to activate |window|, set its bounds and set its visibility when
20 // |window| is selected in overview mode. |window| is nullptr if there are no
21 // windows in overview mode.
22 virtual void OnSelectWindow(aura::Window* window) = 0;
23
24 // Gets into split-view mode with |left| on the left-side of the screen, and
25 // |right| on the right-side. If |left| or |right| is nullptr, then the
26 // delegate
27 // selects the best option in its place.
28 virtual void OnSelectSplitViewWindow(aura::Window* left,
29 aura::Window* right,
30 aura::Window* to_activate) = 0;
31 };
32
33 class WindowOverviewMode {
34 public:
35 virtual ~WindowOverviewMode() {}
36
37 static scoped_ptr<WindowOverviewMode> Create(
38 aura::Window* container,
39 WindowListProvider* window_list_provider,
40 SplitViewController* split_view_controller,
41 WindowOverviewModeDelegate* delegate);
42 };
43
44 } // namespace athena
45
46 #endif // ATHENA_WM_WINDOW_OVERVIEW_MODE_H_
OLDNEW
« no previous file with comments | « athena/wm/window_manager_unittest.cc ('k') | athena/wm/window_overview_mode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698