Index: ios/clean/chrome/browser/ui/commands/find_in_page_commands.h |
diff --git a/ios/clean/chrome/browser/ui/commands/find_in_page_commands.h b/ios/clean/chrome/browser/ui/commands/find_in_page_commands.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..641a87d80e03b47501d4b2bfcf9fcb01b6cd99f6 |
--- /dev/null |
+++ b/ios/clean/chrome/browser/ui/commands/find_in_page_commands.h |
@@ -0,0 +1,25 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_FIND_IN_PAGE_COMMANDS_H_ |
+#define IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_FIND_IN_PAGE_COMMANDS_H_ |
+ |
+// Command protocol for commands relating to Find In Page. |
+// (Commands are for communicating into or within the coordinator layer). |
+@protocol FindInPageCommands |
+// Show the find in page UI. |
+- (void)showFindInPage; |
+ |
+// Searches for the given string in the current page. |
+- (void)findStringInPage:(NSString*)searchTerm; |
+ |
+// Finds the previous and next matches, using the current search string. |
+- (void)findNextInPage; |
+- (void)findPreviousInPage; |
+ |
+// Hide the find in page UI. |
lpromero
2017/03/14 17:17:55
Hides
|
+- (void)hideFindInPage; |
+@end |
+ |
+#endif // IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_FIND_IN_PAGE_COMMANDS_H_ |