| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 module ui.mojom; | 5 module ui.mojom; |
| 6 | 6 |
| 7 import "cc/ipc/display_compositor.mojom"; | |
| 8 import "gpu/ipc/common/gpu_info.mojom"; | 7 import "gpu/ipc/common/gpu_info.mojom"; |
| 9 import "gpu/ipc/common/memory_stats.mojom"; | 8 import "gpu/ipc/common/memory_stats.mojom"; |
| 10 import "gpu/ipc/common/surface_handle.mojom"; | 9 import "gpu/ipc/common/surface_handle.mojom"; |
| 11 import "gpu/ipc/common/sync_token.mojom"; | 10 import "gpu/ipc/common/sync_token.mojom"; |
| 12 import "ui/gfx/geometry/mojo/geometry.mojom"; | 11 import "ui/gfx/geometry/mojo/geometry.mojom"; |
| 13 import "ui/gfx/mojo/buffer_types.mojom"; | 12 import "ui/gfx/mojo/buffer_types.mojom"; |
| 14 | 13 |
| 15 interface GpuService { | 14 interface GpuService { |
| 16 // Tells the GPU service to create a new channel for communication with a | 15 // Tells the GPU service to create a new channel for communication with a |
| 17 // client. The GPU service responds with an IPC handle. | 16 // client. The GPU service responds with an IPC handle. |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 // is reconfigured, for example. | 53 // is reconfigured, for example. |
| 55 GpuSwitched(); | 54 GpuSwitched(); |
| 56 | 55 |
| 57 DestroyAllChannels(); | 56 DestroyAllChannels(); |
| 58 | 57 |
| 59 Crash(); | 58 Crash(); |
| 60 Hang(); | 59 Hang(); |
| 61 ThrowJavaException(); | 60 ThrowJavaException(); |
| 62 Stop() => (); | 61 Stop() => (); |
| 63 }; | 62 }; |
| OLD | NEW |