Chromium Code Reviews| Index: ios/chrome/browser/tabs/tab.h |
| diff --git a/ios/chrome/browser/tabs/tab.h b/ios/chrome/browser/tabs/tab.h |
| index 14acb25a36751e499b1cdd6b9356af68082a9a22..1d49bf8fd4cffab56d752af3125c00d17ec1dadc 100644 |
| --- a/ios/chrome/browser/tabs/tab.h |
| +++ b/ios/chrome/browser/tabs/tab.h |
| @@ -281,11 +281,15 @@ extern NSString* const kProxyPassthroughHeaderValue; |
| // Update internal state to use the desktop user agent. Must call |
| // -reloadWebViewAndURL for changes to take effect. |
| -- (void)enableDesktopUserAgent; |
|
liaoyuke
2017/02/23 22:17:17
I found "enable" confusing because it is already u
|
| +- (void)activateDesktopUserAgent; |
| -// Remove the UIWebView and reload the current url. Used by request desktop |
| -// so the updated user agent is used. |
| -- (void)reloadForDesktopUserAgent; |
| +// Update internal state to use the mobile user agent. Must call |
| +// -reloadWebViewAndURL for changes to take effect. |
| +- (void)activateMobileUserAgent; |
| + |
| +// Remove the web view and reload the current url. Used by request desktop or |
| +// mobile site, so the updated user agent is used. |
| +- (void)reloadForUpdatedUserAgent; |
| // Ensures the toolbar visibility matches |visible|. |
| - (void)updateFullscreenWithToolbarVisible:(BOOL)visible; |