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_DRM_HOST_DRM_WINDOW_HOST_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRM_HOST_DRM_WINDOW_HOST_H_ |
6 #define UI_OZONE_PLATFORM_DRM_HOST_DRM_WINDOW_HOST_H_ | 6 #define UI_OZONE_PLATFORM_DRM_HOST_DRM_WINDOW_HOST_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 void Initialize(); | 54 void Initialize(); |
55 | 55 |
56 gfx::AcceleratedWidget GetAcceleratedWidget(); | 56 gfx::AcceleratedWidget GetAcceleratedWidget(); |
57 | 57 |
58 gfx::Rect GetCursorConfinedBounds() const; | 58 gfx::Rect GetCursorConfinedBounds() const; |
59 | 59 |
60 // PlatformWindow: | 60 // PlatformWindow: |
61 void Show() override; | 61 void Show() override; |
62 void Hide() override; | 62 void Hide() override; |
63 void Close() override; | 63 void Close() override; |
| 64 void PrepareForShutdown() override; |
64 void SetBounds(const gfx::Rect& bounds) override; | 65 void SetBounds(const gfx::Rect& bounds) override; |
65 gfx::Rect GetBounds() override; | 66 gfx::Rect GetBounds() override; |
66 void SetTitle(const base::string16& title) override; | 67 void SetTitle(const base::string16& title) override; |
67 void SetCapture() override; | 68 void SetCapture() override; |
68 void ReleaseCapture() override; | 69 void ReleaseCapture() override; |
69 void ToggleFullscreen() override; | 70 void ToggleFullscreen() override; |
70 void Maximize() override; | 71 void Maximize() override; |
71 void Minimize() override; | 72 void Minimize() override; |
72 void Restore() override; | 73 void Restore() override; |
73 void SetCursor(PlatformCursor cursor) override; | 74 void SetCursor(PlatformCursor cursor) override; |
(...skipping 25 matching lines...) Expand all Loading... |
99 gfx::AcceleratedWidget widget_; | 100 gfx::AcceleratedWidget widget_; |
100 | 101 |
101 gfx::Rect cursor_confined_bounds_; | 102 gfx::Rect cursor_confined_bounds_; |
102 | 103 |
103 DISALLOW_COPY_AND_ASSIGN(DrmWindowHost); | 104 DISALLOW_COPY_AND_ASSIGN(DrmWindowHost); |
104 }; | 105 }; |
105 | 106 |
106 } // namespace ui | 107 } // namespace ui |
107 | 108 |
108 #endif // UI_OZONE_PLATFORM_DRM_HOST_DRM_WINDOW_HOST_H_ | 109 #endif // UI_OZONE_PLATFORM_DRM_HOST_DRM_WINDOW_HOST_H_ |
OLD | NEW |