OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "ui/gfx/screen.h" | 5 #include "ui/gfx/screen.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/macros.h" |
8 #include "ui/gfx/android/device_display_info.h" | 9 #include "ui/gfx/android/device_display_info.h" |
9 #include "ui/gfx/display.h" | 10 #include "ui/gfx/display.h" |
10 #include "ui/gfx/geometry/size_conversions.h" | 11 #include "ui/gfx/geometry/size_conversions.h" |
11 | 12 |
12 namespace gfx { | 13 namespace gfx { |
13 | 14 |
14 class ScreenAndroid : public Screen { | 15 class ScreenAndroid : public Screen { |
15 public: | 16 public: |
16 ScreenAndroid() {} | 17 ScreenAndroid() {} |
17 | 18 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 78 |
78 private: | 79 private: |
79 DISALLOW_COPY_AND_ASSIGN(ScreenAndroid); | 80 DISALLOW_COPY_AND_ASSIGN(ScreenAndroid); |
80 }; | 81 }; |
81 | 82 |
82 Screen* CreateNativeScreen() { | 83 Screen* CreateNativeScreen() { |
83 return new ScreenAndroid; | 84 return new ScreenAndroid; |
84 } | 85 } |
85 | 86 |
86 } // namespace gfx | 87 } // namespace gfx |
OLD | NEW |