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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 10802004: Experimental flag for HiDPI-aware PDF Viewer (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 unified diff | Download patch | Annotate | Revision Log
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/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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698