| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_OZONE_PLATFORM_TEST_TEST_WINDOW_H_ | 5 #ifndef UI_OZONE_PLATFORM_TEST_TEST_WINDOW_H_ |
| 6 #define UI_OZONE_PLATFORM_TEST_TEST_WINDOW_H_ | 6 #define UI_OZONE_PLATFORM_TEST_TEST_WINDOW_H_ |
| 7 | 7 |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "ui/gfx/geometry/rect.h" | 9 #include "ui/gfx/geometry/rect.h" |
| 10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 void Hide() override; | 32 void Hide() override; |
| 33 void Close() override; | 33 void Close() override; |
| 34 void SetCapture() override; | 34 void SetCapture() override; |
| 35 void ReleaseCapture() override; | 35 void ReleaseCapture() override; |
| 36 void ToggleFullscreen() override; | 36 void ToggleFullscreen() override; |
| 37 void Maximize() override; | 37 void Maximize() override; |
| 38 void Minimize() override; | 38 void Minimize() override; |
| 39 void Restore() override; | 39 void Restore() override; |
| 40 void SetCursor(PlatformCursor cursor) override; | 40 void SetCursor(PlatformCursor cursor) override; |
| 41 void MoveCursorTo(const gfx::Point& location) override; | 41 void MoveCursorTo(const gfx::Point& location) override; |
| 42 void ConfineCursorToBounds(const gfx::Rect& bounds) override; |
| 42 | 43 |
| 43 private: | 44 private: |
| 44 PlatformWindowDelegate* delegate_; | 45 PlatformWindowDelegate* delegate_; |
| 45 TestWindowManager* manager_; | 46 TestWindowManager* manager_; |
| 46 gfx::Rect bounds_; | 47 gfx::Rect bounds_; |
| 47 gfx::AcceleratedWidget widget_; | 48 gfx::AcceleratedWidget widget_; |
| 48 | 49 |
| 49 DISALLOW_COPY_AND_ASSIGN(TestWindow); | 50 DISALLOW_COPY_AND_ASSIGN(TestWindow); |
| 50 }; | 51 }; |
| 51 | 52 |
| 52 } // namespace ui | 53 } // namespace ui |
| 53 | 54 |
| 54 #endif // UI_OZONE_PLATFORM_TEST_TEST_WINDOW_H_ | 55 #endif // UI_OZONE_PLATFORM_TEST_TEST_WINDOW_H_ |
| OLD | NEW |