Index: ios/chrome/browser/ui/commands/UIKit+ChromeExecuteCommand.h |
diff --git a/ios/chrome/browser/ui/commands/UIKit+ChromeExecuteCommand.h b/ios/chrome/browser/ui/commands/UIKit+ChromeExecuteCommand.h |
index 50c31f2c1fb7cf0d0119d2e46b8dee0ff8532d96..67e6b1ce1bb7a0ee6a51685f0efd771e7aa669d9 100644 |
--- a/ios/chrome/browser/ui/commands/UIKit+ChromeExecuteCommand.h |
+++ b/ios/chrome/browser/ui/commands/UIKit+ChromeExecuteCommand.h |
@@ -20,4 +20,11 @@ |
- (void)chromeExecuteCommand:(id)sender; |
@end |
+@protocol ChromeExecuteCommand |
+// Executes a Chrome command. |sender| must implement the |-tag| method and |
+// return the id of the command to execute. The default implementation of this |
+// method simply forwards the call to the next responder. |
+- (IBAction)chromeExecuteCommand:(id)sender; |
+@end |
+ |
#endif // IOS_CHROME_BROWSER_UI_COMMANDS_UIKIT_CHROMEEXECUTECOMMAND_H_ |