Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(534)

Unified Diff: ios/clean/chrome/browser/ui/commands/find_in_page_search_commands.h

Issue 2737563006: [ios] Adds support for Find in Page to the new architecture. (Closed)
Patch Set: Fix GN. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/clean/chrome/browser/ui/commands/find_in_page_search_commands.h
diff --git a/ios/clean/chrome/browser/ui/commands/find_in_page_search_commands.h b/ios/clean/chrome/browser/ui/commands/find_in_page_search_commands.h
new file mode 100644
index 0000000000000000000000000000000000000000..d44a08e65f803d0eb0945e2bd3a9fdabaa55fc93
--- /dev/null
+++ b/ios/clean/chrome/browser/ui/commands/find_in_page_search_commands.h
@@ -0,0 +1,22 @@
+// 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_SEARCH_COMMANDS_H_
+#define IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_FIND_IN_PAGE_SEARCH_COMMANDS_H_
+
+// Command protocol for commands relating to Find In Page.
+@protocol FindInPageSearchCommands
+
+// Searches for the given string in the current page.
+- (void)findStringInPage:(NSString*)searchTerm;
+
+// Finds the previous and next matches, using the current search string. Shows
+// the Find in Page UI without initiating a search if there is no current search
+// string.
+- (void)findNextInPage;
+- (void)findPreviousInPage;
+
+@end
+
+#endif // IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_FIND_IN_PAGE_SEARCH_COMMANDS_H_
« no previous file with comments | « ios/clean/chrome/browser/ui/commands/BUILD.gn ('k') | ios/clean/chrome/browser/ui/commands/find_in_page_visibility_commands.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698