| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module web_view.mojom; | 5 module web_view.mojom; |
| 6 | 6 |
| 7 import "network/public/interfaces/url_loader.mojom"; | 7 import "network/public/interfaces/url_loader.mojom"; |
| 8 | 8 |
| 9 // This files defines the interfaces and structures used for frames. | 9 // This files defines the interfaces and structures used for frames. |
| 10 // | 10 // |
| 11 // When a client in the frame tree is connected to by way of the WindowManager a | 11 // When a client in the frame tree is connected to by way of the WindowManager a |
| 12 // FrameClient is obtained (from the ServiceProvider interface request passed | 12 // FrameClient is obtained (from the InterfaceProvider interface request passed |
| 13 // in WindowManager::OnEmbed()). The FrameClient is told the frame tree (by way | 13 // in WindowManager::OnEmbed()). The FrameClient is told the frame tree (by way |
| 14 // of OnConnection()), which allows the client to use other frames in the tree | 14 // of OnConnection()), which allows the client to use other frames in the tree |
| 15 // (assuming the client has the appropriate permissions). | 15 // (assuming the client has the appropriate permissions). |
| 16 // | 16 // |
| 17 // frame_ids are the same as windows ids. This means that when a client creates | 17 // frame_ids are the same as windows ids. This means that when a client creates |
| 18 // a new window to be part of the frame tree it immediately knows the id to use | 18 // a new window to be part of the frame tree it immediately knows the id to use |
| 19 // for Frame calls. | 19 // for Frame calls. |
| 20 // | 20 // |
| 21 // The server provides an id that may be used to identify the state of the | 21 // The server provides an id that may be used to identify the state of the |
| 22 // tree. The change id is an integer that is incremented every time the | 22 // tree. The change id is an integer that is incremented every time the |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 // | 213 // |
| 214 // HighlightFindResults() will asynchronously call | 214 // HighlightFindResults() will asynchronously call |
| 215 // OnFindInFrameCountUpdated() multiple times to report its progress. | 215 // OnFindInFrameCountUpdated() multiple times to report its progress. |
| 216 HighlightFindResults(int32 request_id, string search_text, | 216 HighlightFindResults(int32 request_id, string search_text, |
| 217 FindOptions options, bool reset); | 217 FindOptions options, bool reset); |
| 218 | 218 |
| 219 // Removes the tick marks and highlighting done by HighlightFindResults() in | 219 // Removes the tick marks and highlighting done by HighlightFindResults() in |
| 220 // this frame. | 220 // this frame. |
| 221 StopHighlightingFindResults(); | 221 StopHighlightingFindResults(); |
| 222 }; | 222 }; |
| OLD | NEW |