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

Unified Diff: chrome/browser/android/chrome_startup_flags.cc

Issue 10808052: Tidy up Android's is-tablet functionality. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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: chrome/browser/android/chrome_startup_flags.cc
diff --git a/chrome/browser/android/chrome_startup_flags.cc b/chrome/browser/android/chrome_startup_flags.cc
index 5cafcc34f9da647d9248fabb7b4ee22103d75816..32b13834b71d1b172047e60f39df80724bf0520f 100644
--- a/chrome/browser/android/chrome_startup_flags.cc
+++ b/chrome/browser/android/chrome_startup_flags.cc
@@ -28,11 +28,6 @@ void SetCommandLineSwitchASCII(const std::string& switch_string,
command_line->AppendSwitchASCII(switch_string, value);
}
-bool IsTabletUi() {
- NOTIMPLEMENTED() << "TODO(yfriedman): Upstream this";
- return false;
-}
-
} // namespace
void SetChromeSpecificCommandLineFlags() {
@@ -45,10 +40,6 @@ void SetChromeSpecificCommandLineFlags() {
// Turn on autologin.
SetCommandLineSwitch(switches::kEnableAutologin);
- // Tablet UI switch (used for using correct version of NTP HTML).
- if (IsTabletUi())
- SetCommandLineSwitch(switches::kTabletUi);
-
// Enable prerender for the omnibox.
SetCommandLineSwitchASCII(
switches::kPrerenderMode, switches::kPrerenderModeSwitchValueEnabled);

Powered by Google App Engine
This is Rietveld 408576698