Avi Drissman | 4e1b7bc3 | 2022-09-15 14:03:50 | [diff] [blame^] | 1 | // Copyright 2022 The Chromium Authors |
Thiabaud Engelbrecht | 89f0d3a | 2022-08-10 01:45:15 | [diff] [blame] | 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 | // This interface is only for the sake of browser test to query the number of |
| 8 | // main frames in a remote child process. |
| 9 | interface MainFrameCounterTest { |
| 10 | // Returns whether or not the renderer this is called on has a local main |
| 11 | // frame. |
| 12 | HasMainFrame() => (bool has_main_frame); |
| 13 | }; |