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

Side by Side Diff: ash/common/shell_common.h

Issue 2041423002: Moves MruWindowTracker to WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_mru_window_tracker
Patch Set: comment Created 4 years, 6 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 | « ash/aura/wm_shell_aura.cc ('k') | ash/common/shell_common.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 2016 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 ASH_COMMON_SHELL_COMMON_H_
6 #define ASH_COMMON_SHELL_COMMON_H_
7
8 #include <memory>
9
10 #include "ash/ash_export.h"
11 #include "base/macros.h"
12
13 namespace ash {
14
15 class MruWindowTracker;
16
17 // Contains code used by both shell implementations.
18 class ASH_EXPORT ShellCommon {
James Cook 2016/06/08 15:48:21 I would prefer to call this WmShellCommon and the
19 public:
20 ShellCommon();
21 ~ShellCommon();
22
23 MruWindowTracker* mru_window_tracker() { return mru_window_tracker_.get(); }
24
25 void CreateMruWindowTracker();
26 void DeleteMruWindowTracker();
27
28 private:
29 std::unique_ptr<MruWindowTracker> mru_window_tracker_;
30
31 DISALLOW_COPY_AND_ASSIGN(ShellCommon);
32 };
33
34 } // namespace ash
35
36 #endif // ASH_COMMON_SHELL_COMMON_H_
OLDNEW
« no previous file with comments | « ash/aura/wm_shell_aura.cc ('k') | ash/common/shell_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698