| // 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 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(handle<shared_buffer> script); | |
| ClearOnLoadScripts(); | |
| }; |