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

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: Code cleanup - remove useless comment. 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
« no previous file with comments | « no previous file | ui/gfx/win/dpi.cc » ('j') | ui/gfx/win/dpi.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1656 matching lines...) Expand 10 before | Expand all | Expand 10 after
1667 SINGLE_VALUE_TYPE(switches::kEnableWebGLDraftExtensions) 1667 SINGLE_VALUE_TYPE(switches::kEnableWebGLDraftExtensions)
1668 }, 1668 },
1669 { 1669 {
1670 "enable-html-imports", 1670 "enable-html-imports",
1671 IDS_FLAGS_ENABLE_HTML_IMPORTS_NAME, 1671 IDS_FLAGS_ENABLE_HTML_IMPORTS_NAME,
1672 IDS_FLAGS_ENABLE_HTML_IMPORTS_DESCRIPTION, 1672 IDS_FLAGS_ENABLE_HTML_IMPORTS_DESCRIPTION,
1673 kOsAll, 1673 kOsAll,
1674 SINGLE_VALUE_TYPE(switches::kEnableHTMLImports) 1674 SINGLE_VALUE_TYPE(switches::kEnableHTMLImports)
1675 }, 1675 },
1676 { 1676 {
1677 "high-dpi-support",
1678 IDS_FLAGS_HIDPI_NAME,
1679 IDS_FLAGS_HIDPI_DESCRIPTION,
1680 kOsWin,
1681 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(switches::kHighDPISupport, "1",
1682 switches::kHighDPISupport, "0")
1683 },
1684 {
1685 "enable-web-midi", 1677 "enable-web-midi",
1686 IDS_FLAGS_ENABLE_WEB_MIDI_NAME, 1678 IDS_FLAGS_ENABLE_WEB_MIDI_NAME,
1687 IDS_FLAGS_ENABLE_WEB_MIDI_DESCRIPTION, 1679 IDS_FLAGS_ENABLE_WEB_MIDI_DESCRIPTION,
1688 kOsMac | kOsWin | kOsLinux | kOsCrOS | kOsAndroid, 1680 kOsMac | kOsWin | kOsLinux | kOsCrOS | kOsAndroid,
1689 SINGLE_VALUE_TYPE(switches::kEnableWebMIDI) 1681 SINGLE_VALUE_TYPE(switches::kEnableWebMIDI)
1690 }, 1682 },
1691 { 1683 {
1692 "enable-new-profile-management", 1684 "enable-new-profile-management",
1693 IDS_FLAGS_ENABLE_NEW_PROFILE_MANAGEMENT_NAME, 1685 IDS_FLAGS_ENABLE_NEW_PROFILE_MANAGEMENT_NAME,
1694 IDS_FLAGS_ENABLE_NEW_PROFILE_MANAGEMENT_DESCRIPTION, 1686 IDS_FLAGS_ENABLE_NEW_PROFILE_MANAGEMENT_DESCRIPTION,
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after
2515 } 2507 }
2516 2508
2517 const Experiment* GetExperiments(size_t* count) { 2509 const Experiment* GetExperiments(size_t* count) {
2518 *count = num_experiments; 2510 *count = num_experiments;
2519 return experiments; 2511 return experiments;
2520 } 2512 }
2521 2513
2522 } // namespace testing 2514 } // namespace testing
2523 2515
2524 } // namespace about_flags 2516 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | ui/gfx/win/dpi.cc » ('j') | ui/gfx/win/dpi.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698