Daniel Cheng | 284c3894 | 2022-09-22 23:30:34 | [diff] [blame] | 1 | // Copyright 2022 The Chromium Authors |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | module content.mojom; |
| 6 | |
| 7 | import "third_party/blink/public/mojom/tokens/tokens.mojom"; |
| 8 | |
| 9 | // Helper to facilitate testing of renderer-side state in content_browsertests. |
| 10 | interface RenderFrameTestHelper { |
| 11 | // Get the DocumentToken for the RenderFrame's active document. A RenderFrame |
| 12 | // can be reused for a cross-document navigation; after the navigation, the |
| 13 | // newly-committed document is considered the active document. |
| 14 | GetDocumentToken() => (blink.mojom.DocumentToken token); |
| 15 | }; |