OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_FIND_IN_PAGE_SEARCH_COMMANDS_H_ |
| 6 #define IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_FIND_IN_PAGE_SEARCH_COMMANDS_H_ |
| 7 |
| 8 // Command protocol for commands relating to Find In Page. |
| 9 @protocol FindInPageSearchCommands |
| 10 |
| 11 // Searches for the given string in the current page. |
| 12 - (void)findStringInPage:(NSString*)searchTerm; |
| 13 |
| 14 // Finds the previous and next matches, using the current search string. Shows |
| 15 // the Find in Page UI without initiating a search if there is no current search |
| 16 // string. |
| 17 - (void)findNextInPage; |
| 18 - (void)findPreviousInPage; |
| 19 |
| 20 @end |
| 21 |
| 22 #endif // IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_FIND_IN_PAGE_SEARCH_COMMANDS_H_ |
OLD | NEW |