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

Side by Side Diff: ash/common/wm_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: wm 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/common/wm_shell.h ('k') | ash/common/wm_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_WM_SHELL_COMMON_H_
6 #define ASH_COMMON_WM_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 WmShellCommon {
19 public:
20 WmShellCommon();
21 ~WmShellCommon();
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(WmShellCommon);
32 };
33
34 } // namespace ash
35
36 #endif // ASH_COMMON_WM_SHELL_COMMON_H_
OLDNEW
« no previous file with comments | « ash/common/wm_shell.h ('k') | ash/common/wm_shell_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698