naiveproxy/services/content/public/mojom/navigable_contents_factory.mojom
2018-12-09 21:59:24 -05:00

24 lines
976 B
Plaintext

// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module content.mojom;
import "services/content/public/mojom/navigable_contents.mojom";
// Parameters used to configure a newly created NavigableContents.
struct NavigableContentsParams {};
// NavigableContentsFactory is the primary interface through which a new
// NavigableContents interface is bound to a new concrete navigable contents
// within the Content Service.
interface NavigableContentsFactory {
// Creates a new NavigableContents configured according to |params|. |request|
// is bound to the contents implementation, and |client| is used to push
// notifications of events relevant to the state of that context throughout
// its lifetime.
CreateContents(NavigableContentsParams params,
NavigableContents& request,
NavigableContentsClient client);
};