Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_ | |
| OLD | NEW |