| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 mojo; | 5 module mojo; |
| 6 | 6 |
| 7 import "gpu/interfaces/context_provider.mojom"; | 7 import "gpu/interfaces/context_provider.mojom"; |
| 8 import "gpu/interfaces/viewport_parameter_listener.mojom"; | 8 import "gpu/interfaces/viewport_parameter_listener.mojom"; |
| 9 import "surfaces/interfaces/surfaces.mojom"; | 9 import "surfaces/interfaces/surfaces.mojom"; |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 // DisplayFactory creates new Display instances. | 24 // DisplayFactory creates new Display instances. |
| 25 [ServiceName="mojo::DisplayFactory"] | 25 [ServiceName="mojo::DisplayFactory"] |
| 26 interface DisplayFactory { | 26 interface DisplayFactory { |
| 27 // Create associates a Display that will draw to contexts produced by | 27 // Create associates a Display that will draw to contexts produced by |
| 28 // |context_provider|. Any resources submitted to the display will be | 28 // |context_provider|. Any resources submitted to the display will be |
| 29 // returned via the |returner|, if supplied. | 29 // returned via the |returner|, if supplied. |
| 30 Create(ContextProvider context_provider, | 30 Create(ContextProvider context_provider, |
| 31 ResourceReturner? returner, | 31 ResourceReturner? returner, |
| 32 Display& display_request); | 32 Display& display_request); |
| 33 }; | 33 }; |
| 34 | |
| OLD | NEW |