| // 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 webrunner.mojom; |
| |
| import "mojo/public/mojom/base/string16.mojom"; |
| |
| // Interface associated with RenderFrames for managing on-load JavaScript |
| // injection tasks the frame. Does not enforce script injection policies, |
| // which must be implemented at a higher level. |
| interface OnLoadScriptInjector { |
| AddOnLoadScript(mojo_base.mojom.String16 script); |
| |
| ClearOnLoadScripts(); |
| }; |