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

Side by Side Diff: chrome/common/pref_names.cc

Issue 2681383003: media: Add a web preference to enable encrypted media (Closed)
Patch Set: Created 3 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/common/pref_names.h ('k') | content/public/common/common_param_traits_macros.h » ('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/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/common/features.h" 9 #include "chrome/common/features.h"
10 #include "chrome/common/pref_font_webkit_names.h" 10 #include "chrome/common/pref_font_webkit_names.h"
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 "webkit.webprefs.default_fixed_font_size"; 357 "webkit.webprefs.default_fixed_font_size";
358 const char kWebKitMinimumFontSize[] = "webkit.webprefs.minimum_font_size"; 358 const char kWebKitMinimumFontSize[] = "webkit.webprefs.minimum_font_size";
359 const char kWebKitMinimumLogicalFontSize[] = 359 const char kWebKitMinimumLogicalFontSize[] =
360 "webkit.webprefs.minimum_logical_font_size"; 360 "webkit.webprefs.minimum_logical_font_size";
361 const char kWebKitJavascriptEnabled[] = "webkit.webprefs.javascript_enabled"; 361 const char kWebKitJavascriptEnabled[] = "webkit.webprefs.javascript_enabled";
362 const char kWebKitJavascriptCanOpenWindowsAutomatically[] = 362 const char kWebKitJavascriptCanOpenWindowsAutomatically[] =
363 "webkit.webprefs.javascript_can_open_windows_automatically"; 363 "webkit.webprefs.javascript_can_open_windows_automatically";
364 const char kWebKitLoadsImagesAutomatically[] = 364 const char kWebKitLoadsImagesAutomatically[] =
365 "webkit.webprefs.loads_images_automatically"; 365 "webkit.webprefs.loads_images_automatically";
366 const char kWebKitPluginsEnabled[] = "webkit.webprefs.plugins_enabled"; 366 const char kWebKitPluginsEnabled[] = "webkit.webprefs.plugins_enabled";
367 const char kWebKitEncryptedMediaEnabled[] =
368 "webkit.webprefs.encrypted_media_enabled";
367 369
368 // Boolean that is true when Data Saver is enabled. 370 // Boolean that is true when Data Saver is enabled.
369 // TODO(bengr): Migrate the preference string to "data_saver.enabled" 371 // TODO(bengr): Migrate the preference string to "data_saver.enabled"
370 // (crbug.com/564207). 372 // (crbug.com/564207).
371 const char kDataSaverEnabled[] = "spdy_proxy.enabled"; 373 const char kDataSaverEnabled[] = "spdy_proxy.enabled";
372 374
373 // Boolean that is true when SafeBrowsing is enabled. 375 // Boolean that is true when SafeBrowsing is enabled.
374 const char kSafeBrowsingEnabled[] = "safebrowsing.enabled"; 376 const char kSafeBrowsingEnabled[] = "safebrowsing.enabled";
375 377
376 // Boolean that is true when the SafeBrowsing interstitial should not allow 378 // Boolean that is true when the SafeBrowsing interstitial should not allow
(...skipping 1987 matching lines...) Expand 10 before | Expand all | Expand 10 after
2364 // have been recorded. 2366 // have been recorded.
2365 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = 2367 const char kSearchGeolocationPostDisclosureMetricsRecorded[] =
2366 "search_geolocation_post_disclosure_metrics_recorded"; 2368 "search_geolocation_post_disclosure_metrics_recorded";
2367 #endif 2369 #endif
2368 2370
2369 // A dictionary which stores whether location access is enabled for the current 2371 // A dictionary which stores whether location access is enabled for the current
2370 // default search engine, if it is the Google search engine. 2372 // default search engine, if it is the Google search engine.
2371 const char kGoogleDSEGeolocationSetting[] = "google_dse_geolocation_setting"; 2373 const char kGoogleDSEGeolocationSetting[] = "google_dse_geolocation_setting";
2372 2374
2373 } // namespace prefs 2375 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | content/public/common/common_param_traits_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698