| 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..fbb7c741900a76e7181ae8e00734cd94e8a61d1c 100644
|
| --- a/ios/chrome/browser/ui/tools_menu/tools_popup_controller.h
|
| +++ b/ios/chrome/browser/ui/tools_menu/tools_popup_controller.h
|
| @@ -21,6 +21,11 @@ extern NSString* const kToolsMenuTableViewId;
|
|
|
| @property(nonatomic, assign) BOOL isCurrentPageBookmarked;
|
|
|
| +// The user agent type used to load the current page, which also decides the
|
| +// visibility and enability of "Request Desktop Site" and "Request Mobile Site"
|
| +// cells in the tools popup menu.
|
| +@property(nonatomic, assign) web::UserAgentType userAgentType;
|
| +
|
| // Initializes the popup with the given |context|, a set of information used to
|
| // determine the appearance of the menu and the entries displayed.
|
| - (instancetype)initWithContext:(ToolsMenuContext*)context;
|
| @@ -41,9 +46,6 @@ extern NSString* const kToolsMenuTableViewId;
|
| // Informs tools popup menu whether the switch to reader mode is possible.
|
| - (void)setCanUseReaderMode:(BOOL)enabled;
|
|
|
| -// Informs tools popup menu whether "Request Desktop Site" can be enabled.
|
| -- (void)setCanUseDesktopUserAgent:(BOOL)value;
|
| -
|
| @end
|
|
|
| #endif // IOS_CHROME_BROWSER_UI_TOOLS_MENU_TOOLS_POPUP_CONTROLLER_H_
|
|
|