| Index: components/web_view/public/interfaces/web_view.mojom
|
| diff --git a/components/web_view/public/interfaces/web_view.mojom b/components/web_view/public/interfaces/web_view.mojom
|
| index 1385b8de2d50b4a047e1a6cc2a102108516132e8..9c4ace6196b021190fb2acea9fc63e0887f0c984 100644
|
| --- a/components/web_view/public/interfaces/web_view.mojom
|
| +++ b/components/web_view/public/interfaces/web_view.mojom
|
| @@ -27,6 +27,12 @@ interface WebViewClient {
|
|
|
| // TODO(beng): also forward text direction.
|
| TitleChanged(string? title);
|
| +
|
| + // Reports the number of matches for a given find.
|
| + ReportFindInPageMatchCount(int32 request_id, int32 count, bool final_update);
|
| +
|
| + // Reports which match is currently highlighted.
|
| + ReportFindInPageSelection(int32 request_id, int32 active_match_ordinal);
|
| };
|
|
|
| interface WebView {
|
| @@ -36,6 +42,10 @@ interface WebView {
|
| // Provide a ViewTreeClient for this specific WebView.
|
| GetViewTreeClient(mojo.ViewTreeClient& view_tree_client);
|
|
|
| + // Finds a string in page.
|
| + Find(int32 request_id, string search_text);
|
| + StopFinding();
|
| +
|
| // Moves forward and backward.
|
| GoBack();
|
| GoForward();
|
|
|