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

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: Cleanup. Renaming function. Created 6 years, 9 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 1545 matching lines...) Expand 10 before | Expand all | Expand 10 after
1556 SINGLE_VALUE_TYPE(switches::kEnableWebGLDraftExtensions) 1556 SINGLE_VALUE_TYPE(switches::kEnableWebGLDraftExtensions)
1557 }, 1557 },
1558 { 1558 {
1559 "enable-html-imports", 1559 "enable-html-imports",
1560 IDS_FLAGS_ENABLE_HTML_IMPORTS_NAME, 1560 IDS_FLAGS_ENABLE_HTML_IMPORTS_NAME,
1561 IDS_FLAGS_ENABLE_HTML_IMPORTS_DESCRIPTION, 1561 IDS_FLAGS_ENABLE_HTML_IMPORTS_DESCRIPTION,
1562 kOsAll, 1562 kOsAll,
1563 SINGLE_VALUE_TYPE(switches::kEnableHTMLImports) 1563 SINGLE_VALUE_TYPE(switches::kEnableHTMLImports)
1564 }, 1564 },
1565 { 1565 {
1566 "high-dpi-support",
1567 IDS_FLAGS_HIDPI_NAME,
1568 IDS_FLAGS_HIDPI_DESCRIPTION,
1569 kOsWin,
1570 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(switches::kHighDPISupport, "1",
1571 switches::kHighDPISupport, "0")
1572 },
1573 {
1574 "enable-web-midi", 1566 "enable-web-midi",
1575 IDS_FLAGS_ENABLE_WEB_MIDI_NAME, 1567 IDS_FLAGS_ENABLE_WEB_MIDI_NAME,
1576 IDS_FLAGS_ENABLE_WEB_MIDI_DESCRIPTION, 1568 IDS_FLAGS_ENABLE_WEB_MIDI_DESCRIPTION,
1577 kOsMac | kOsWin | kOsLinux | kOsCrOS | kOsAndroid, 1569 kOsMac | kOsWin | kOsLinux | kOsCrOS | kOsAndroid,
1578 SINGLE_VALUE_TYPE(switches::kEnableWebMIDI) 1570 SINGLE_VALUE_TYPE(switches::kEnableWebMIDI)
1579 }, 1571 },
1580 { 1572 {
1581 "enable-new-profile-management", 1573 "enable-new-profile-management",
1582 IDS_FLAGS_ENABLE_NEW_PROFILE_MANAGEMENT_NAME, 1574 IDS_FLAGS_ENABLE_NEW_PROFILE_MANAGEMENT_NAME,
1583 IDS_FLAGS_ENABLE_NEW_PROFILE_MANAGEMENT_DESCRIPTION, 1575 IDS_FLAGS_ENABLE_NEW_PROFILE_MANAGEMENT_DESCRIPTION,
(...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after
2423 } 2415 }
2424 2416
2425 const Experiment* GetExperiments(size_t* count) { 2417 const Experiment* GetExperiments(size_t* count) {
2426 *count = num_experiments; 2418 *count = num_experiments;
2427 return experiments; 2419 return experiments;
2428 } 2420 }
2429 2421
2430 } // namespace testing 2422 } // namespace testing
2431 2423
2432 } // namespace about_flags 2424 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/browser/renderer_host/render_widget_host_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698