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

Unified Diff: ios/chrome/browser/ui/reading_list/reading_list_view_controller.h

Issue 2611543002: Escape on bluetooth keyboard closes the views (Closed)
Patch Set: Rebase Created 3 years, 11 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/chrome/browser/ui/reading_list/reading_list_view_controller.h
diff --git a/ios/chrome/browser/ui/reading_list/reading_list_view_controller.h b/ios/chrome/browser/ui/reading_list/reading_list_view_controller.h
index 4b11dd46bebb8281737cc3134d8ec0889d5d396b..262f1854c238ebb8d0947dd58291ec3422747737 100644
--- a/ios/chrome/browser/ui/reading_list/reading_list_view_controller.h
+++ b/ios/chrome/browser/ui/reading_list/reading_list_view_controller.h
@@ -20,12 +20,15 @@ class ReadingListModel;
@class TabModel;
// Audience for the ReadingListViewController, managing the visibility of the
-// toolbar.
+// toolbar and dismissing the Reading List View.
@protocol ReadingListViewControllerAudience<NSObject>
// Whether the collection has items.
- (void)setCollectionHasItems:(BOOL)hasItems;
+// Dismisses the Reading List View.
+- (void)dismiss;
+
@end
@interface ReadingListViewController
@@ -51,11 +54,4 @@ class ReadingListModel;
@end
-@interface ReadingListViewController (Testing)
-
-// Dismisses this view controller.
-- (void)dismiss;
-
-@end
-
#endif // IOS_CHROME_BROWSER_UI_READING_LIST_READING_LIST_VIEW_CONTROLLER_H_
« no previous file with comments | « ios/chrome/browser/ui/reading_list/BUILD.gn ('k') | ios/chrome/browser/ui/reading_list/reading_list_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698