| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 content.mojom; | 5 module content.mojom; |
| 6 | 6 |
| 7 import "services/shell/public/interfaces/interface_provider.mojom"; | 7 import "services/shell/public/interfaces/interface_provider.mojom"; |
| 8 import "url/mojo/url.mojom"; |
| 8 | 9 |
| 9 // Implemented by the frame provider (e.g. renderer processes). | 10 // Implemented by the frame provider (e.g. renderer processes). |
| 10 interface Frame { | 11 interface Frame { |
| 11 GetInterfaceProvider(shell.mojom.InterfaceProvider& interfaces); | 12 GetInterfaceProvider(shell.mojom.InterfaceProvider& interfaces); |
| 12 }; | 13 }; |
| 13 | 14 |
| 14 // Implemented by the frame server (i.e. the browser process). | 15 // Implemented by the frame server (i.e. the browser process). |
| 15 interface FrameHost { | 16 interface FrameHost { |
| 16 GetInterfaceProvider(shell.mojom.InterfaceProvider& interfaces); | 17 GetInterfaceProvider(shell.mojom.InterfaceProvider& interfaces); |
| 17 }; | 18 }; |
| 18 | 19 |
| 19 // Implemented by a service that provides implementations of the Frame | 20 // Implemented by a service that provides implementations of the Frame |
| 20 // interface. (e.g. renderer processes). | 21 // interface. (e.g. renderer processes). |
| 21 interface FrameFactory { | 22 interface FrameFactory { |
| 22 CreateFrame(int32 frame_routing_id, Frame& frame, FrameHost host); | 23 CreateFrame(int32 frame_routing_id, Frame& frame, FrameHost host); |
| 23 }; | 24 }; |
| OLD | NEW |