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

Unified Diff: services/ui/ws/gpu_host.h

Issue 2610783003: mus: Make sure window parenting happens in the window server. (Closed)
Patch Set: . Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/ws/display_manager.cc ('k') | services/ui/ws/gpu_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/gpu_host.h
diff --git a/services/ui/ws/gpu_host.h b/services/ui/ws/gpu_host.h
index a2511c2ecdd9b124df5d03b02089ea1723166d94..b937266a5cc7136b079d451ae36d421b6797c376 100644
--- a/services/ui/ws/gpu_host.h
+++ b/services/ui/ws/gpu_host.h
@@ -34,11 +34,16 @@ class GpuHost : public mojom::GpuHost {
void Add(mojom::GpuRequest request);
+ void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget);
+ void OnAcceleratedWidgetDestroyed(gfx::AcceleratedWidget widget);
+
// Requests a cc::mojom::DisplayCompositor interface from mus-gpu.
void CreateDisplayCompositor(cc::mojom::DisplayCompositorRequest request,
cc::mojom::DisplayCompositorClientPtr client);
private:
+ void OnBadMessageFromGpu();
+
// mojom::GpuHost:
void DidInitialize(const gpu::GPUInfo& gpu_info) override;
void DidCreateOffscreenContext(const GURL& url) override;
@@ -47,6 +52,8 @@ class GpuHost : public mojom::GpuHost {
void DidLoseContext(bool offscreen,
gpu::error::ContextLostReason reason,
const GURL& active_url) override;
+ void SetChildSurface(gpu::SurfaceHandle parent,
+ gpu::SurfaceHandle child) override;
void StoreShaderToDisk(int32_t client_id,
const std::string& key,
const std::string& shader) override;
« no previous file with comments | « services/ui/ws/display_manager.cc ('k') | services/ui/ws/gpu_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698