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

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

Issue 22342005: Add --enable-html-imports commandline switch and about-flags entry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 1527 matching lines...) Expand 10 before | Expand all | Expand 10 after
1538 SINGLE_VALUE_TYPE(switches::kEnableSpellingServiceFeedback) 1538 SINGLE_VALUE_TYPE(switches::kEnableSpellingServiceFeedback)
1539 }, 1539 },
1540 { 1540 {
1541 "enable-webgl-draft-extensions", 1541 "enable-webgl-draft-extensions",
1542 IDS_FLAGS_ENABLE_WEBGL_DRAFT_EXTENSIONS_NAME, 1542 IDS_FLAGS_ENABLE_WEBGL_DRAFT_EXTENSIONS_NAME,
1543 IDS_FLAGS_ENABLE_WEBGL_DRAFT_EXTENSIONS_DESCRIPTION, 1543 IDS_FLAGS_ENABLE_WEBGL_DRAFT_EXTENSIONS_DESCRIPTION,
1544 kOsAll, 1544 kOsAll,
1545 SINGLE_VALUE_TYPE(switches::kEnableWebGLDraftExtensions) 1545 SINGLE_VALUE_TYPE(switches::kEnableWebGLDraftExtensions)
1546 }, 1546 },
1547 { 1547 {
1548 "enable-html-imports",
1549 IDS_FLAGS_ENABLE_HTML_IMPORTS_NAME,
1550 IDS_FLAGS_ENABLE_HTML_IMPORTS_DESCRIPTION,
1551 kOsAll,
1552 SINGLE_VALUE_TYPE(switches::kEnableHTMLImports)
1553 },
1554 {
1548 "high-dpi-support", 1555 "high-dpi-support",
1549 IDS_FLAGS_HIDPI_NAME, 1556 IDS_FLAGS_HIDPI_NAME,
1550 IDS_FLAGS_HIDPI_DESCRIPTION, 1557 IDS_FLAGS_HIDPI_DESCRIPTION,
1551 kOsWin, 1558 kOsWin,
1552 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(switches::kHighDPISupport,"1", 1559 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(switches::kHighDPISupport,"1",
1553 switches::kHighDPISupport,"0") 1560 switches::kHighDPISupport,"0")
1554 }, 1561 },
1555 #if defined(OS_CHROMEOS) 1562 #if defined(OS_CHROMEOS)
1556 { 1563 {
1557 "enable-quickoffice-viewing", 1564 "enable-quickoffice-viewing",
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
2106 } 2113 }
2107 2114
2108 const Experiment* GetExperiments(size_t* count) { 2115 const Experiment* GetExperiments(size_t* count) {
2109 *count = num_experiments; 2116 *count = num_experiments;
2110 return experiments; 2117 return experiments;
2111 } 2118 }
2112 2119
2113 } // namespace testing 2120 } // namespace testing
2114 2121
2115 } // namespace about_flags 2122 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698