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; |
| +- (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; |
|
kkhorimoto
2017/02/25 02:36:32
For this CL, let's just leave Tab's interface the
liaoyuke
2017/02/27 17:34:22
Done.
|
| // Ensures the toolbar visibility matches |visible|. |
| - (void)updateFullscreenWithToolbarVisible:(BOOL)visible; |