Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: ui/ozone/platform/drm/host/drm_window_host.h

Issue 2741533002: Fix AshWindowTreeHost shutdown for Ozone X11. (Closed)
Patch Set: Add to other PlatformWindow implementations. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « ui/ozone/platform/cast/platform_window_cast.h ('k') | ui/ozone/platform/drm/host/drm_window_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698