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

Unified Diff: ios/clean/chrome/browser/ui/find_in_page/find_in_page_consumer.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/find_in_page/find_in_page_consumer.h
diff --git a/ios/clean/chrome/browser/ui/find_in_page/find_in_page_consumer.h b/ios/clean/chrome/browser/ui/find_in_page/find_in_page_consumer.h
new file mode 100644
index 0000000000000000000000000000000000000000..9e1ba694b5f19cf933302883402b4f1de197576f
--- /dev/null
+++ b/ios/clean/chrome/browser/ui/find_in_page/find_in_page_consumer.h
@@ -0,0 +1,18 @@
+// 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_FIND_IN_PAGE_FIND_IN_PAGE_CONSUMER_H_
+#define IOS_CLEAN_CHROME_BROWSER_UI_FIND_IN_PAGE_FIND_IN_PAGE_CONSUMER_H_
+
+// FindInPageConsumer sets the current appearance of the find bar based on
+// various sources provided by the mediator.
+@protocol FindInPageConsumer
+
+// Updates the display of the total number of matches on the page and the index
+// of the currently-highlighted matches.
+- (void)setCurrentMatch:(NSUInteger)current ofTotalMatches:(NSUInteger)total;
+
+@end
+
+#endif // IOS_CLEAN_CHROME_BROWSER_UI_FIND_IN_PAGE_FIND_IN_PAGE_CONSUMER_H_
« no previous file with comments | « ios/clean/chrome/browser/ui/find_in_page/BUILD.gn ('k') | ios/clean/chrome/browser/ui/find_in_page/find_in_page_coordinator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698