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

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

Issue 896463005: Add flag to enable Material Design for the PDF Viewer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase before commit Created 5 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 | « chrome/app/generated_resources.grd ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
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 <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 1699 matching lines...) Expand 10 before | Expand all | Expand 10 after
1710 }, 1710 },
1711 { 1711 {
1712 "enable-out-of-process-pdf", 1712 "enable-out-of-process-pdf",
1713 IDS_FLAGS_OUT_OF_PROCESS_PDF_NAME, 1713 IDS_FLAGS_OUT_OF_PROCESS_PDF_NAME,
1714 IDS_FLAGS_OUT_OF_PROCESS_PDF_DESCRIPTION, 1714 IDS_FLAGS_OUT_OF_PROCESS_PDF_DESCRIPTION,
1715 kOsDesktop, 1715 kOsDesktop,
1716 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableOutOfProcessPdf, 1716 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableOutOfProcessPdf,
1717 switches::kDisableOutOfProcessPdf) 1717 switches::kDisableOutOfProcessPdf)
1718 }, 1718 },
1719 { 1719 {
1720 "enable-pdf-material-ui",
1721 IDS_FLAGS_PDF_MATERIAL_UI_NAME,
1722 IDS_FLAGS_PDF_MATERIAL_UI_DESCRIPTION,
1723 kOsDesktop,
1724 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePdfMaterialUI,
1725 switches::kDisablePdfMaterialUI)
1726 },
1727 {
1720 "disable-cast-streaming-hw-encoding", 1728 "disable-cast-streaming-hw-encoding",
1721 IDS_FLAGS_DISABLE_CAST_STREAMING_HW_ENCODING_NAME, 1729 IDS_FLAGS_DISABLE_CAST_STREAMING_HW_ENCODING_NAME,
1722 IDS_FLAGS_DISABLE_CAST_STREAMING_HW_ENCODING_DESCRIPTION, 1730 IDS_FLAGS_DISABLE_CAST_STREAMING_HW_ENCODING_DESCRIPTION,
1723 kOsAll, 1731 kOsAll,
1724 SINGLE_VALUE_TYPE(switches::kDisableCastStreamingHWEncoding) 1732 SINGLE_VALUE_TYPE(switches::kDisableCastStreamingHWEncoding)
1725 }, 1733 },
1726 #if defined(OS_ANDROID) 1734 #if defined(OS_ANDROID)
1727 { 1735 {
1728 "disable-cast", 1736 "disable-cast",
1729 IDS_FLAGS_DISABLE_CAST_NAME, 1737 IDS_FLAGS_DISABLE_CAST_NAME,
(...skipping 994 matching lines...) Expand 10 before | Expand all | Expand 10 after
2724 } 2732 }
2725 2733
2726 const Experiment* GetExperiments(size_t* count) { 2734 const Experiment* GetExperiments(size_t* count) {
2727 *count = num_experiments; 2735 *count = num_experiments;
2728 return experiments; 2736 return experiments;
2729 } 2737 }
2730 2738
2731 } // namespace testing 2739 } // namespace testing
2732 2740
2733 } // namespace about_flags 2741 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698