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

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

Issue 1521913002: PDF: Delete non-material viewer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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') | chrome/browser/pdf/pdf_extension_test.cc » ('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 1429 matching lines...) Expand 10 before | Expand all | Expand 10 after
1440 IDS_FLAGS_SITE_ENGAGEMENT_SERVICE_DESCRIPTION, 1440 IDS_FLAGS_SITE_ENGAGEMENT_SERVICE_DESCRIPTION,
1441 kOsAll, 1441 kOsAll,
1442 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSiteEngagementService, 1442 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSiteEngagementService,
1443 switches::kDisableSiteEngagementService)}, 1443 switches::kDisableSiteEngagementService)},
1444 {"enable-session-crashed-bubble", 1444 {"enable-session-crashed-bubble",
1445 IDS_FLAGS_SESSION_CRASHED_BUBBLE_NAME, 1445 IDS_FLAGS_SESSION_CRASHED_BUBBLE_NAME,
1446 IDS_FLAGS_SESSION_CRASHED_BUBBLE_DESCRIPTION, 1446 IDS_FLAGS_SESSION_CRASHED_BUBBLE_DESCRIPTION,
1447 kOsWin | kOsLinux, 1447 kOsWin | kOsLinux,
1448 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSessionCrashedBubble, 1448 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSessionCrashedBubble,
1449 switches::kDisableSessionCrashedBubble)}, 1449 switches::kDisableSessionCrashedBubble)},
1450 {"enable-pdf-material-ui",
1451 IDS_FLAGS_PDF_MATERIAL_UI_NAME,
1452 IDS_FLAGS_PDF_MATERIAL_UI_DESCRIPTION,
1453 kOsDesktop,
1454 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePdfMaterialUI,
1455 switches::kDisablePdfMaterialUI)},
1456 {"disable-cast-streaming-hw-encoding", 1450 {"disable-cast-streaming-hw-encoding",
1457 IDS_FLAGS_CAST_STREAMING_HW_ENCODING_NAME, 1451 IDS_FLAGS_CAST_STREAMING_HW_ENCODING_NAME,
1458 IDS_FLAGS_CAST_STREAMING_HW_ENCODING_DESCRIPTION, 1452 IDS_FLAGS_CAST_STREAMING_HW_ENCODING_DESCRIPTION,
1459 kOsAll, 1453 kOsAll,
1460 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableCastStreamingHWEncoding)}, 1454 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableCastStreamingHWEncoding)},
1461 #if defined(OS_ANDROID) 1455 #if defined(OS_ANDROID)
1462 {"prefetch-search-results", 1456 {"prefetch-search-results",
1463 IDS_FLAGS_PREFETCH_SEARCH_RESULTS_NAME, 1457 IDS_FLAGS_PREFETCH_SEARCH_RESULTS_NAME,
1464 IDS_FLAGS_PREFETCH_SEARCH_RESULTS_DESCRIPTION, 1458 IDS_FLAGS_PREFETCH_SEARCH_RESULTS_DESCRIPTION,
1465 kOsAndroid, 1459 kOsAndroid,
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after
2280 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2274 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2281 2275
2282 const FeatureEntry* GetFeatureEntries(size_t* count) { 2276 const FeatureEntry* GetFeatureEntries(size_t* count) {
2283 *count = arraysize(kFeatureEntries); 2277 *count = arraysize(kFeatureEntries);
2284 return kFeatureEntries; 2278 return kFeatureEntries;
2285 } 2279 }
2286 2280
2287 } // namespace testing 2281 } // namespace testing
2288 2282
2289 } // namespace about_flags 2283 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/pdf/pdf_extension_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698