Chromium Code Reviews| 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_COMMANDS_H_ | |
| 6 #define IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_FIND_IN_PAGE_COMMANDS_H_ | |
| 7 | |
| 8 // Command protocol for commands relating to Find In Page. | |
| 9 // (Commands are for communicating into or within the coordinator layer). | |
| 10 @protocol FindInPageCommands | |
| 11 // Show the find in page UI. | |
| 12 - (void)showFindInPage; | |
| 13 | |
| 14 // Searches for the given string in the current page. | |
| 15 - (void)findStringInPage:(NSString*)searchTerm; | |
| 16 | |
| 17 // Finds the previous and next matches, using the current search string. | |
| 18 - (void)findNextInPage; | |
| 19 - (void)findPreviousInPage; | |
| 20 | |
| 21 // Hide the find in page UI. | |
|
lpromero
2017/03/14 17:17:55
Hides
| |
| 22 - (void)hideFindInPage; | |
| 23 @end | |
| 24 | |
| 25 #endif // IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_FIND_IN_PAGE_COMMANDS_H_ | |
| OLD | NEW |