| OLD | NEW |
| 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/browser/about_flags.h" | 5 #include "chrome/browser/about_flags.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <iterator> | 8 #include <iterator> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 705 kOsWin, | 705 kOsWin, |
| 706 SINGLE_VALUE_TYPE(switches::kEnableStackedTabStrip) | 706 SINGLE_VALUE_TYPE(switches::kEnableStackedTabStrip) |
| 707 }, | 707 }, |
| 708 { | 708 { |
| 709 "force-device-scale-factor", | 709 "force-device-scale-factor", |
| 710 IDS_FLAGS_FORCE_HIGH_DPI_NAME, | 710 IDS_FLAGS_FORCE_HIGH_DPI_NAME, |
| 711 IDS_FLAGS_FORCE_HIGH_DPI_DESCRIPTION, | 711 IDS_FLAGS_FORCE_HIGH_DPI_DESCRIPTION, |
| 712 kOsCrOS, | 712 kOsCrOS, |
| 713 SINGLE_VALUE_TYPE_AND_VALUE(switches::kForceDeviceScaleFactor, "2") | 713 SINGLE_VALUE_TYPE_AND_VALUE(switches::kForceDeviceScaleFactor, "2") |
| 714 }, | 714 }, |
| 715 { |
| 716 "enable-hidpi-pdf-plugin", |
| 717 IDS_FLAGS_ENABLE_HIGH_DPI_PDF_PLUGIN_NAME, |
| 718 IDS_FLAGS_ENABLE_HIGH_DPI_PDF_PLUGIN_DESCRIPTION, |
| 719 kOsCrOS | kOsMac, |
| 720 SINGLE_VALUE_TYPE(switches::kEnableHighDPIPDFPlugin) |
| 721 }, |
| 715 #if defined(OS_CHROMEOS) | 722 #if defined(OS_CHROMEOS) |
| 716 { | 723 { |
| 717 "allow-touchpad-three-finger-click", | 724 "allow-touchpad-three-finger-click", |
| 718 IDS_FLAGS_ALLOW_TOUCHPAD_THREE_FINGER_CLICK_NAME, | 725 IDS_FLAGS_ALLOW_TOUCHPAD_THREE_FINGER_CLICK_NAME, |
| 719 IDS_FLAGS_ALLOW_TOUCHPAD_THREE_FINGER_CLICK_DESCRIPTION, | 726 IDS_FLAGS_ALLOW_TOUCHPAD_THREE_FINGER_CLICK_DESCRIPTION, |
| 720 kOsCrOS, | 727 kOsCrOS, |
| 721 SINGLE_VALUE_TYPE(switches::kEnableTouchpadThreeFingerClick) | 728 SINGLE_VALUE_TYPE(switches::kEnableTouchpadThreeFingerClick) |
| 722 }, | 729 }, |
| 723 #endif | 730 #endif |
| 724 { | 731 { |
| (...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1289 } | 1296 } |
| 1290 | 1297 |
| 1291 const Experiment* GetExperiments(size_t* count) { | 1298 const Experiment* GetExperiments(size_t* count) { |
| 1292 *count = num_experiments; | 1299 *count = num_experiments; |
| 1293 return experiments; | 1300 return experiments; |
| 1294 } | 1301 } |
| 1295 | 1302 |
| 1296 } // namespace testing | 1303 } // namespace testing |
| 1297 | 1304 |
| 1298 } // namespace about_flags | 1305 } // namespace about_flags |
| OLD | NEW |