| Index: ios/chrome/browser/ui/tools_menu/tools_popup_controller.h
|
| diff --git a/ios/chrome/browser/ui/tools_menu/tools_popup_controller.h b/ios/chrome/browser/ui/tools_menu/tools_popup_controller.h
|
| index a5d820fb5f0b1e1a4efb051b9e43e90c2cd3ab2f..2931b23a2448b6ad5e7a8f0126fae31840ab8c02 100644
|
| --- a/ios/chrome/browser/ui/tools_menu/tools_popup_controller.h
|
| +++ b/ios/chrome/browser/ui/tools_menu/tools_popup_controller.h
|
| @@ -28,6 +28,12 @@ extern NSString* const kToolsMenuTableViewId;
|
| // Called when the current tab loading state changes.
|
| - (void)setIsTabLoading:(BOOL)isTabLoading;
|
|
|
| +// Informs tools popup menu to hide "Request Desktop Site" or
|
| +// "Request Mobile Site", note that only one of them is expected to be called
|
| +// at any time.
|
| +- (void)hideRequestDesktopSite;
|
| +- (void)hideRequestMobileSite;
|
| +
|
| // TODO(stuartmorgan): Should the set of options that are passed in to the
|
| // constructor just have the ability to specify whether commands should be
|
| // enabled or disabled rather than having these individual setters? b/6048639
|
| @@ -44,6 +50,9 @@ extern NSString* const kToolsMenuTableViewId;
|
| // Informs tools popup menu whether "Request Desktop Site" can be enabled.
|
| - (void)setCanUseDesktopUserAgent:(BOOL)value;
|
|
|
| +// Informs tools popup menu whether "Request Mobile Site" can be enabled.
|
| +- (void)setCanUseMobileUserAgent:(BOOL)value;
|
| +
|
| @end
|
|
|
| #endif // IOS_CHROME_BROWSER_UI_TOOLS_MENU_TOOLS_POPUP_CONTROLLER_H_
|
|
|