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

Unified Diff: ui/ozone/public/gpu_platform_support_host.h

Issue 2459973002: Expedite discovery of primary DRM device. (Closed)
Patch Set: Send the first AddGraphicsDevice IPC synchronously on IO thread. 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
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..52140dd7c2a93f84260d910d49d3d47d9f8a2d66 100644
--- a/ui/ozone/public/gpu_platform_support_host.h
+++ b/ui/ozone/public/gpu_platform_support_host.h
@@ -27,12 +27,15 @@ 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.
+ 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.
+ virtual void OnChannelEstablished() = 0;
+
// Called when the GPU process is destroyed.
virtual void OnChannelDestroyed(int host_id) = 0;
};

Powered by Google App Engine
This is Rietveld 408576698