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

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

Issue 420603011: Split Screen mode implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@split_view
Patch Set: Addressing sadrul's feedback, adding license header. Created 6 years, 4 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_impl.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
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 9 #include "ui/aura/window.h"
10 namespace aura {
11 class Window;
12 }
13 10
14 namespace athena { 11 namespace athena {
12 class WindowListProvider;
15 13
16 class WindowOverviewModeDelegate { 14 class WindowOverviewModeDelegate {
17 public: 15 public:
18 virtual ~WindowOverviewModeDelegate() {} 16 virtual ~WindowOverviewModeDelegate() {}
19 17
20 virtual void OnSelectWindow(aura::Window* window) = 0; 18 virtual void OnSelectWindow(aura::Window* window) = 0;
21 }; 19 };
22 20
23 class WindowOverviewMode { 21 class WindowOverviewMode {
24 public: 22 public:
25 virtual ~WindowOverviewMode() {} 23 virtual ~WindowOverviewMode() {}
26 24
27 static scoped_ptr<WindowOverviewMode> Create( 25 static scoped_ptr<WindowOverviewMode> Create(
28 aura::Window* container, 26 aura::Window* container,
27 const WindowListProvider* window_list_provider,
29 WindowOverviewModeDelegate* delegate); 28 WindowOverviewModeDelegate* delegate);
30 }; 29 };
31 30
32 } // namespace athena 31 } // namespace athena
33 32
34 #endif // ATHENA_WM_WINDOW_OVERVIEW_MODE_H_ 33 #endif // ATHENA_WM_WINDOW_OVERVIEW_MODE_H_
OLDNEW
« no previous file with comments | « athena/wm/window_manager_impl.cc ('k') | athena/wm/window_overview_mode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698