// Copyright 2017 The Fuchsia Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
library fuchsia.webview; | |
interface WebRequestDelegate { | |
1: WillSendRequest(string url); | |
}; | |
[Discoverable] | |
interface WebView { | |
1: ClearCookies(); | |
2: SetUrl(string url); | |
3: SetWebRequestDelegate(WebRequestDelegate delegate); | |
}; |