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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 50603005: Add cross-platform API to get the form factor of the device (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: small formatting changes Created 7 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 1530 matching lines...) Expand 10 before | Expand all | Expand 10 after
1541 1541
1542 // Makes the "Add to Homescreen" shortcut visible. 1542 // Makes the "Add to Homescreen" shortcut visible.
1543 const char kEnableAddToHomescreen[] = "enable-add-to-homescreen"; 1543 const char kEnableAddToHomescreen[] = "enable-add-to-homescreen";
1544 1544
1545 // Enables the new NTP. 1545 // Enables the new NTP.
1546 const char kEnableNewNTP[] = "enable-new-ntp"; 1546 const char kEnableNewNTP[] = "enable-new-ntp";
1547 1547
1548 // Pops the translate infobar if possible. 1548 // Pops the translate infobar if possible.
1549 const char kEnableTranslate[] = "enable-translate"; 1549 const char kEnableTranslate[] = "enable-translate";
1550 1550
1551 // Uses the tablet specific UI components when available.
1552 const char kTabletUI[] = "tablet-ui";
1553
1554 // Enables support for playing videos on Chromecast devices. 1551 // Enables support for playing videos on Chromecast devices.
1555 const char kEnableCast[] = "enable-cast"; 1552 const char kEnableCast[] = "enable-cast";
1556 1553
1557 #endif 1554 #endif
1558 1555
1559 #if defined(USE_ASH) 1556 #if defined(USE_ASH)
1560 const char kOpenAsh[] = "open-ash"; 1557 const char kOpenAsh[] = "open-ash";
1561 #endif 1558 #endif
1562 1559
1563 #if defined(OS_POSIX) 1560 #if defined(OS_POSIX)
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
1659 1656
1660 // ----------------------------------------------------------------------------- 1657 // -----------------------------------------------------------------------------
1661 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1658 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1662 // 1659 //
1663 // You were going to just dump your switches here, weren't you? Instead, please 1660 // You were going to just dump your switches here, weren't you? Instead, please
1664 // put them in alphabetical order above, or in order inside the appropriate 1661 // put them in alphabetical order above, or in order inside the appropriate
1665 // ifdef at the bottom. The order should match the header. 1662 // ifdef at the bottom. The order should match the header.
1666 // ----------------------------------------------------------------------------- 1663 // -----------------------------------------------------------------------------
1667 1664
1668 } // namespace switches 1665 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698