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

Unified Diff: ios/shared/chrome/browser/ui/commands/command_dispatcher.h

Issue 2779213003: [clean] Use CommandDispatcher to show/close Settings. (Closed)
Patch Set: Fix tests Created 3 years, 9 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/shared/chrome/browser/ui/commands/command_dispatcher.h
diff --git a/ios/shared/chrome/browser/ui/commands/command_dispatcher.h b/ios/shared/chrome/browser/ui/commands/command_dispatcher.h
index 6b8a62bab800d71def7f9606ea7704170e9d53e7..eaf784fb1221b1aff2e247be769e0ba09973fe7a 100644
--- a/ios/shared/chrome/browser/ui/commands/command_dispatcher.h
+++ b/ios/shared/chrome/browser/ui/commands/command_dispatcher.h
@@ -16,6 +16,9 @@
// |selector|.
- (void)startDispatchingToTarget:(id)target forSelector:(SEL)selector;
+// Removes forwarding registration for the given |selector|.
+- (void)stopDispatchingForSelector:(SEL)selector;
+
// Removes all forwarding registrations for the given |target|.
- (void)stopDispatchingToTarget:(id)target;

Powered by Google App Engine
This is Rietveld 408576698