| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 UI_MOJO_INIT_SCREEN_MOJO_H_ | 5 #ifndef UI_MOJO_INIT_SCREEN_MOJO_H_ |
| 6 #define UI_MOJO_INIT_SCREEN_MOJO_H_ | 6 #define UI_MOJO_INIT_SCREEN_MOJO_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "ui/gfx/display.h" | 11 #include "ui/gfx/display.h" |
| 11 #include "ui/gfx/screen.h" | 12 #include "ui/gfx/screen.h" |
| 12 | 13 |
| 13 namespace ui { | 14 namespace ui { |
| 14 namespace mojo { | 15 namespace mojo { |
| 15 | 16 |
| 16 class ScreenMojo : public gfx::Screen { | 17 class ScreenMojo : public gfx::Screen { |
| 17 public: | 18 public: |
| 18 explicit ScreenMojo(const std::vector<gfx::Display>& displays); | 19 explicit ScreenMojo(const std::vector<gfx::Display>& displays); |
| 19 ~ScreenMojo() override; | 20 ~ScreenMojo() override; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 34 private: | 35 private: |
| 35 const std::vector<gfx::Display> displays_; | 36 const std::vector<gfx::Display> displays_; |
| 36 | 37 |
| 37 DISALLOW_COPY_AND_ASSIGN(ScreenMojo); | 38 DISALLOW_COPY_AND_ASSIGN(ScreenMojo); |
| 38 }; | 39 }; |
| 39 | 40 |
| 40 } // namespace mojo | 41 } // namespace mojo |
| 41 } // namespace ui | 42 } // namespace ui |
| 42 | 43 |
| 43 #endif // UI_MOJO_INIT_SCREEN_MOJO_H_ | 44 #endif // UI_MOJO_INIT_SCREEN_MOJO_H_ |
| OLD | NEW |