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_DISPLAY_TEST_TEST_SCREEN_H_ | 5 #ifndef UI_DISPLAY_TEST_TEST_SCREEN_H_ |
6 #define UI_DISPLAY_TEST_TEST_SCREEN_H_ | 6 #define UI_DISPLAY_TEST_TEST_SCREEN_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 12 matching lines...) Expand all Loading... | |
23 class TestScreen : public ScreenBase { | 23 class TestScreen : public ScreenBase { |
24 public: | 24 public: |
25 TestScreen(); | 25 TestScreen(); |
26 ~TestScreen() override; | 26 ~TestScreen() override; |
27 | 27 |
28 // Screen: | 28 // Screen: |
29 gfx::Point GetCursorScreenPoint() override; | 29 gfx::Point GetCursorScreenPoint() override; |
30 bool IsWindowUnderCursor(gfx::NativeWindow window) override; | 30 bool IsWindowUnderCursor(gfx::NativeWindow window) override; |
31 gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) override; | 31 gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) override; |
32 Display GetDisplayNearestWindow(gfx::NativeView view) const override; | 32 Display GetDisplayNearestWindow(gfx::NativeView view) const override; |
33 Display GetDisplayNearestWindowAndroid(gfx::NativeWindow window) | |
boliu
2017/01/24 23:47:13
OS_ANDROID
Jinsuk Kim
2017/01/25 02:34:34
Done.
| |
34 const override; | |
33 | 35 |
34 private: | 36 private: |
35 DISALLOW_COPY_AND_ASSIGN(TestScreen); | 37 DISALLOW_COPY_AND_ASSIGN(TestScreen); |
36 }; | 38 }; |
37 | 39 |
38 } // namespace test | 40 } // namespace test |
39 } // namespace display | 41 } // namespace display |
40 | 42 |
41 #endif // UI_DISPLAY_TEST_TEST_SCREEN_H_ | 43 #endif // UI_DISPLAY_TEST_TEST_SCREEN_H_ |
OLD | NEW |