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

Unified Diff: ui/ozone/public/gpu_platform_support_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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/ozone/platform/drm/host/gpu_thread_observer.h ('k') | ui/ozone/public/gpu_platform_support_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/public/gpu_platform_support_host.h
diff --git a/ui/ozone/public/gpu_platform_support_host.h b/ui/ozone/public/gpu_platform_support_host.h
index b15b13117c06fa2c8f3383c0272f47726df45726..6a1ef2277a15d75217d7dac6ca06eb4e43e91bf5 100644
--- a/ui/ozone/public/gpu_platform_support_host.h
+++ b/ui/ozone/public/gpu_platform_support_host.h
@@ -27,13 +27,19 @@ class OZONE_BASE_EXPORT GpuPlatformSupportHost : public IPC::Listener {
GpuPlatformSupportHost();
~GpuPlatformSupportHost() override;
- // Called when the GPU process is spun up & channel established.
- virtual void OnChannelEstablished(
+ // Called when the GPU process is spun up.
+ // This is called from browser IO thread.
+ virtual void OnGpuProcessLaunched(
int host_id,
scoped_refptr<base::SingleThreadTaskRunner> send_runner,
const base::Callback<void(IPC::Message*)>& sender) = 0;
+ // Called when the channel is established.
+ // This is called from browser UI thread.
+ virtual void OnChannelEstablished() = 0;
+
// Called when the GPU process is destroyed.
+ // This is called from browser UI thread.
virtual void OnChannelDestroyed(int host_id) = 0;
};
« no previous file with comments | « ui/ozone/platform/drm/host/gpu_thread_observer.h ('k') | ui/ozone/public/gpu_platform_support_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698