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 "ui/gfx/android/device_display_info.h" | 8 #include "ui/gfx/android/device_display_info.h" |
9 #include "ui/gfx/display.h" | 9 #include "ui/gfx/display.h" |
10 #include "ui/gfx/size_conversions.h" | 10 #include "ui/gfx/geometry/size_conversions.h" |
11 | 11 |
12 namespace gfx { | 12 namespace gfx { |
13 | 13 |
14 class ScreenAndroid : public Screen { | 14 class ScreenAndroid : public Screen { |
15 public: | 15 public: |
16 ScreenAndroid() {} | 16 ScreenAndroid() {} |
17 | 17 |
18 virtual gfx::Point GetCursorScreenPoint() override { return gfx::Point(); } | 18 virtual gfx::Point GetCursorScreenPoint() override { return gfx::Point(); } |
19 | 19 |
20 virtual gfx::NativeWindow GetWindowUnderCursor() override { | 20 virtual gfx::NativeWindow GetWindowUnderCursor() override { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 | 82 |
83 private: | 83 private: |
84 DISALLOW_COPY_AND_ASSIGN(ScreenAndroid); | 84 DISALLOW_COPY_AND_ASSIGN(ScreenAndroid); |
85 }; | 85 }; |
86 | 86 |
87 Screen* CreateNativeScreen() { | 87 Screen* CreateNativeScreen() { |
88 return new ScreenAndroid; | 88 return new ScreenAndroid; |
89 } | 89 } |
90 | 90 |
91 } // namespace gfx | 91 } // namespace gfx |
OLD | NEW |