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

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

Issue 153403003: Move supports-high-dpi flag into registry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reformat, remove strings Created 6 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 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/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 1644 matching lines...) Expand 10 before | Expand all | Expand 10 after
1655 SINGLE_VALUE_TYPE(switches::kEnableWebGLDraftExtensions) 1655 SINGLE_VALUE_TYPE(switches::kEnableWebGLDraftExtensions)
1656 }, 1656 },
1657 { 1657 {
1658 "enable-html-imports", 1658 "enable-html-imports",
1659 IDS_FLAGS_ENABLE_HTML_IMPORTS_NAME, 1659 IDS_FLAGS_ENABLE_HTML_IMPORTS_NAME,
1660 IDS_FLAGS_ENABLE_HTML_IMPORTS_DESCRIPTION, 1660 IDS_FLAGS_ENABLE_HTML_IMPORTS_DESCRIPTION,
1661 kOsAll, 1661 kOsAll,
1662 SINGLE_VALUE_TYPE(switches::kEnableHTMLImports) 1662 SINGLE_VALUE_TYPE(switches::kEnableHTMLImports)
1663 }, 1663 },
1664 { 1664 {
1665 "high-dpi-support",
1666 IDS_FLAGS_HIDPI_NAME,
1667 IDS_FLAGS_HIDPI_DESCRIPTION,
1668 kOsWin,
1669 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(switches::kHighDPISupport, "1",
1670 switches::kHighDPISupport, "0")
1671 },
1672 {
1673 "enable-web-midi", 1665 "enable-web-midi",
1674 IDS_FLAGS_ENABLE_WEB_MIDI_NAME, 1666 IDS_FLAGS_ENABLE_WEB_MIDI_NAME,
1675 IDS_FLAGS_ENABLE_WEB_MIDI_DESCRIPTION, 1667 IDS_FLAGS_ENABLE_WEB_MIDI_DESCRIPTION,
1676 kOsMac | kOsWin | kOsLinux | kOsCrOS | kOsAndroid, 1668 kOsMac | kOsWin | kOsLinux | kOsCrOS | kOsAndroid,
1677 SINGLE_VALUE_TYPE(switches::kEnableWebMIDI) 1669 SINGLE_VALUE_TYPE(switches::kEnableWebMIDI)
1678 }, 1670 },
1679 { 1671 {
1680 "enable-new-profile-management", 1672 "enable-new-profile-management",
1681 IDS_FLAGS_ENABLE_NEW_PROFILE_MANAGEMENT_NAME, 1673 IDS_FLAGS_ENABLE_NEW_PROFILE_MANAGEMENT_NAME,
1682 IDS_FLAGS_ENABLE_NEW_PROFILE_MANAGEMENT_DESCRIPTION, 1674 IDS_FLAGS_ENABLE_NEW_PROFILE_MANAGEMENT_DESCRIPTION,
(...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
2501 } 2493 }
2502 2494
2503 const Experiment* GetExperiments(size_t* count) { 2495 const Experiment* GetExperiments(size_t* count) {
2504 *count = num_experiments; 2496 *count = num_experiments;
2505 return experiments; 2497 return experiments;
2506 } 2498 }
2507 2499
2508 } // namespace testing 2500 } // namespace testing
2509 2501
2510 } // namespace about_flags 2502 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | ui/gfx/win/dpi.cc » ('j') | ui/gfx/win/dpi.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698