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_MUS_SCREEN_MUS_H_ |
| 6 #define ASH_MUS_SCREEN_MUS_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "ui/display/screen_base.h" |
| 10 |
| 11 namespace ash { |
| 12 |
| 13 // Implementation of Screen for mus. The WindowManager/RootWindowController |
| 14 // keep the set of displays in sync (by modifying display_list()). This class |
| 15 // exists to provide implementations of ScreenBase functions that are |
| 16 // NOTIMPLEMENTED. |
| 17 // TODO(sky): implement remaining functions or merge with ScreenAsh: |
| 18 // http://crbug.com/671408. |
| 19 class ScreenMus : public display::ScreenBase { |
| 20 public: |
| 21 ScreenMus(); |
| 22 ~ScreenMus() override; |
| 23 |
| 24 private: |
| 25 // display::ScreenBase: |
| 26 display::Display GetDisplayNearestWindow(aura::Window* window) const override; |
| 27 |
| 28 DISALLOW_COPY_AND_ASSIGN(ScreenMus); |
| 29 }; |
| 30 |
| 31 } // namespace ash |
| 32 |
| 33 #endif // ASH_MUS_SCREEN_MUS_H_ |
OLD | NEW |