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

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

Issue 2459973002: Expedite discovery of primary DRM device. (Closed)
Patch Set: Add more comments. Created 4 years, 1 month 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 void SetCursor(PlatformCursor cursor) override; 73 void SetCursor(PlatformCursor cursor) override;
74 void MoveCursorTo(const gfx::Point& location) override; 74 void MoveCursorTo(const gfx::Point& location) override;
75 void ConfineCursorToBounds(const gfx::Rect& bounds) override; 75 void ConfineCursorToBounds(const gfx::Rect& bounds) override;
76 PlatformImeController* GetPlatformImeController() override; 76 PlatformImeController* GetPlatformImeController() override;
77 77
78 // PlatformEventDispatcher: 78 // PlatformEventDispatcher:
79 bool CanDispatchEvent(const PlatformEvent& event) override; 79 bool CanDispatchEvent(const PlatformEvent& event) override;
80 uint32_t DispatchEvent(const PlatformEvent& event) override; 80 uint32_t DispatchEvent(const PlatformEvent& event) override;
81 81
82 // GpuThreadObserver: 82 // GpuThreadObserver:
83 void OnGpuProcessLaunched() override;
83 void OnGpuThreadReady() override; 84 void OnGpuThreadReady() override;
84 void OnGpuThreadRetired() override; 85 void OnGpuThreadRetired() override;
85 86
86 private: 87 private:
87 void SendBoundsChange(); 88 void SendBoundsChange();
88 89
89 PlatformWindowDelegate* delegate_; // Not owned. 90 PlatformWindowDelegate* delegate_; // Not owned.
90 GpuThreadAdapter* sender_; // Not owned. 91 GpuThreadAdapter* sender_; // Not owned.
91 EventFactoryEvdev* event_factory_; // Not owned. 92 EventFactoryEvdev* event_factory_; // Not owned.
92 DrmCursor* cursor_; // Not owned. 93 DrmCursor* cursor_; // Not owned.
93 DrmWindowHostManager* window_manager_; // Not owned. 94 DrmWindowHostManager* window_manager_; // Not owned.
94 DrmDisplayHostManager* display_manager_; // Not owned. 95 DrmDisplayHostManager* display_manager_; // Not owned.
95 DrmOverlayManager* overlay_manager_; // Not owned. 96 DrmOverlayManager* overlay_manager_; // Not owned.
96 97
97 gfx::Rect bounds_; 98 gfx::Rect bounds_;
98 gfx::AcceleratedWidget widget_; 99 gfx::AcceleratedWidget widget_;
99 100
100 gfx::Rect cursor_confined_bounds_; 101 gfx::Rect cursor_confined_bounds_;
101 102
102 DISALLOW_COPY_AND_ASSIGN(DrmWindowHost); 103 DISALLOW_COPY_AND_ASSIGN(DrmWindowHost);
103 }; 104 };
104 105
105 } // namespace ui 106 } // namespace ui
106 107
107 #endif // UI_OZONE_PLATFORM_DRM_HOST_DRM_WINDOW_HOST_H_ 108 #endif // UI_OZONE_PLATFORM_DRM_HOST_DRM_WINDOW_HOST_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/host/drm_gpu_platform_support_host.cc ('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