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

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: Add pdf-material-ui entries in histograms.xml 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
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 1703 matching lines...) Expand 10 before | Expand all | Expand 10 after
1714 }, 1714 },
1715 { 1715 {
1716 "enable-out-of-process-pdf", 1716 "enable-out-of-process-pdf",
1717 IDS_FLAGS_OUT_OF_PROCESS_PDF_NAME, 1717 IDS_FLAGS_OUT_OF_PROCESS_PDF_NAME,
1718 IDS_FLAGS_OUT_OF_PROCESS_PDF_DESCRIPTION, 1718 IDS_FLAGS_OUT_OF_PROCESS_PDF_DESCRIPTION,
1719 kOsDesktop, 1719 kOsDesktop,
1720 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableOutOfProcessPdf, 1720 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableOutOfProcessPdf,
1721 switches::kDisableOutOfProcessPdf) 1721 switches::kDisableOutOfProcessPdf)
1722 }, 1722 },
1723 { 1723 {
1724 "enable-pdf-material-ui",
1725 IDS_FLAGS_PDF_MATERIAL_UI_NAME,
1726 IDS_FLAGS_PDF_MATERIAL_UI_DESCRIPTION,
1727 kOsDesktop,
1728 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePdfMaterialUI,
1729 switches::kDisablePdfMaterialUI)
1730 },
1731 {
1724 "disable-cast-streaming-hw-encoding", 1732 "disable-cast-streaming-hw-encoding",
1725 IDS_FLAGS_DISABLE_CAST_STREAMING_HW_ENCODING_NAME, 1733 IDS_FLAGS_DISABLE_CAST_STREAMING_HW_ENCODING_NAME,
1726 IDS_FLAGS_DISABLE_CAST_STREAMING_HW_ENCODING_DESCRIPTION, 1734 IDS_FLAGS_DISABLE_CAST_STREAMING_HW_ENCODING_DESCRIPTION,
1727 kOsAll, 1735 kOsAll,
1728 SINGLE_VALUE_TYPE(switches::kDisableCastStreamingHWEncoding) 1736 SINGLE_VALUE_TYPE(switches::kDisableCastStreamingHWEncoding)
1729 }, 1737 },
1730 #if defined(OS_ANDROID) 1738 #if defined(OS_ANDROID)
1731 { 1739 {
1732 "disable-cast", 1740 "disable-cast",
1733 IDS_FLAGS_DISABLE_CAST_NAME, 1741 IDS_FLAGS_DISABLE_CAST_NAME,
(...skipping 993 matching lines...) Expand 10 before | Expand all | Expand 10 after
2727 } 2735 }
2728 2736
2729 const Experiment* GetExperiments(size_t* count) { 2737 const Experiment* GetExperiments(size_t* count) {
2730 *count = num_experiments; 2738 *count = num_experiments;
2731 return experiments; 2739 return experiments;
2732 } 2740 }
2733 2741
2734 } // namespace testing 2742 } // namespace testing
2735 2743
2736 } // namespace about_flags 2744 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698