Chromium Code Reviews| Index: services/ui/gpu/interfaces/gpu_service.mojom |
| diff --git a/services/ui/gpu/interfaces/gpu_service.mojom b/services/ui/gpu/interfaces/gpu_service.mojom |
| index 46d3dc6d0cd4b3d2a0029c79ea01f79ef2d8b903..b194445f8fa2a90e8b1d5afc040ec20f702f7d1d 100644 |
| --- a/services/ui/gpu/interfaces/gpu_service.mojom |
| +++ b/services/ui/gpu/interfaces/gpu_service.mojom |
| @@ -47,4 +47,11 @@ interface GpuService { |
| // Tells GPU to wake up the GPU because we're about to draw. |
| WakeUpGpu(); |
| + |
| + // Tells GPU to destroy all channels. |
| + DestroyAllChannels(); |
| + |
| + Crash(); |
|
Fady Samuel
2017/03/01 20:10:58
nit: comment on what this does?
|
| + Hang(); |
|
Fady Samuel
2017/03/01 20:10:58
nit: comment on what this does?
|
| + ThrowJavaException(); |
|
Fady Samuel
2017/03/01 20:10:58
nit: comment on what this does?
sadrul
2017/03/01 20:11:56
These should be obvious/unambiguous from the names
Fady Samuel
2017/03/01 20:14:42
Fair enough, although it could be argued "DestroyA
sadrul
2017/03/01 20:18:30
I agree that DestroyAllChannels() doesn't need the
|
| }; |