Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Unified Diff: ios/chrome/browser/tabs/tab.h

Issue 2714813002: [iOS] Add Request Mobile Site cell to tools menu (Closed)
Patch Set: Rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698