Revert "Fix broken channel icon in chrome://help on CrOS" and try again
[chromium-blink-merge.git] / ios / chrome / browser / ui / commands / UIKit+ChromeExecuteCommand.h
blobeed6920b4acaf2d0c80343faab38311a87b39a88
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef IOS_CHROME_BROWSER_UI_UIKIT_CHROME_EXECUTE_COMMAND_H_
6 #define IOS_CHROME_BROWSER_UI_UIKIT_CHROME_EXECUTE_COMMAND_H_
8 #import <UIKit/UIKit.h>
10 @interface UIResponder (ChromeExecuteCommand)
11 // Executes a Chrome command. |sender| must implement the |-tag| method and
12 // return the id of the command to execute. The default implementation of this
13 // method simply forwards the call to the next responder.
14 - (IBAction)chromeExecuteCommand:(id)sender;
15 @end
17 @interface UIWindow (ChromeExecuteCommand)
18 // UIResponder addition to execute a Chrome command. Overridden in UIWindow to
19 // forward the call to the application's delegate.
20 - (void)chromeExecuteCommand:(id)sender;
21 @end
23 #endif // IOS_CHROME_BROWSER_UI_UIKIT_CHROME_EXECUTE_COMMAND_H_