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

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

Issue 2676633006: media: Add a web preference to enable encrypted media (Closed)
Patch Set: use a new pref 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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 "webkit.webprefs.default_fixed_font_size"; 364 "webkit.webprefs.default_fixed_font_size";
365 const char kWebKitMinimumFontSize[] = "webkit.webprefs.minimum_font_size"; 365 const char kWebKitMinimumFontSize[] = "webkit.webprefs.minimum_font_size";
366 const char kWebKitMinimumLogicalFontSize[] = 366 const char kWebKitMinimumLogicalFontSize[] =
367 "webkit.webprefs.minimum_logical_font_size"; 367 "webkit.webprefs.minimum_logical_font_size";
368 const char kWebKitJavascriptEnabled[] = "webkit.webprefs.javascript_enabled"; 368 const char kWebKitJavascriptEnabled[] = "webkit.webprefs.javascript_enabled";
369 const char kWebKitJavascriptCanOpenWindowsAutomatically[] = 369 const char kWebKitJavascriptCanOpenWindowsAutomatically[] =
370 "webkit.webprefs.javascript_can_open_windows_automatically"; 370 "webkit.webprefs.javascript_can_open_windows_automatically";
371 const char kWebKitLoadsImagesAutomatically[] = 371 const char kWebKitLoadsImagesAutomatically[] =
372 "webkit.webprefs.loads_images_automatically"; 372 "webkit.webprefs.loads_images_automatically";
373 const char kWebKitPluginsEnabled[] = "webkit.webprefs.plugins_enabled"; 373 const char kWebKitPluginsEnabled[] = "webkit.webprefs.plugins_enabled";
374 const char kWebKitEncryptedMediaEnabled[] =
375 "webkit.webprefs.encrypted_media_enabled";
374 376
375 // Boolean that is true when Data Saver is enabled. 377 // Boolean that is true when Data Saver is enabled.
376 // TODO(bengr): Migrate the preference string to "data_saver.enabled" 378 // TODO(bengr): Migrate the preference string to "data_saver.enabled"
377 // (crbug.com/564207). 379 // (crbug.com/564207).
378 const char kDataSaverEnabled[] = "spdy_proxy.enabled"; 380 const char kDataSaverEnabled[] = "spdy_proxy.enabled";
379 381
380 // Boolean that is true when SafeBrowsing is enabled. 382 // Boolean that is true when SafeBrowsing is enabled.
381 const char kSafeBrowsingEnabled[] = "safebrowsing.enabled"; 383 const char kSafeBrowsingEnabled[] = "safebrowsing.enabled";
382 384
383 // Boolean that is true when the SafeBrowsing interstitial should not allow 385 // Boolean that is true when the SafeBrowsing interstitial should not allow
(...skipping 2002 matching lines...) Expand 10 before | Expand all | Expand 10 after
2386 // default search engine, if it is the Google search engine. 2388 // default search engine, if it is the Google search engine.
2387 const char kGoogleDSEGeolocationSetting[] = "google_dse_geolocation_setting"; 2389 const char kGoogleDSEGeolocationSetting[] = "google_dse_geolocation_setting";
2388 2390
2389 // A dictionary of manifest URLs of Web Share Targets to a dictionary containing 2391 // A dictionary of manifest URLs of Web Share Targets to a dictionary containing
2390 // attributes of its share_target field found in its manifest. Each key in the 2392 // attributes of its share_target field found in its manifest. Each key in the
2391 // dictionary is the name of the attribute, and the value is the corresponding 2393 // dictionary is the name of the attribute, and the value is the corresponding
2392 // value. 2394 // value.
2393 const char kWebShareVisitedTargets[] = "profile.web_share.visited_targets"; 2395 const char kWebShareVisitedTargets[] = "profile.web_share.visited_targets";
2394 2396
2395 } // namespace prefs 2397 } // 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