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

Side by Side Diff: content/public/common/web_preferences.h

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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
6 #define CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 6 #define CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 int minimum_font_size; 90 int minimum_font_size;
91 int minimum_logical_font_size; 91 int minimum_logical_font_size;
92 std::string default_encoding; 92 std::string default_encoding;
93 bool context_menu_on_mouse_up; 93 bool context_menu_on_mouse_up;
94 bool javascript_enabled; 94 bool javascript_enabled;
95 bool web_security_enabled; 95 bool web_security_enabled;
96 bool javascript_can_open_windows_automatically; 96 bool javascript_can_open_windows_automatically;
97 bool loads_images_automatically; 97 bool loads_images_automatically;
98 bool images_enabled; 98 bool images_enabled;
99 bool plugins_enabled; 99 bool plugins_enabled;
100 bool encrypted_media_enabled;
100 bool dom_paste_enabled; 101 bool dom_paste_enabled;
101 bool shrinks_standalone_images_to_fit; 102 bool shrinks_standalone_images_to_fit;
102 bool text_areas_are_resizable; 103 bool text_areas_are_resizable;
103 bool allow_scripts_to_close_windows; 104 bool allow_scripts_to_close_windows;
104 bool remote_fonts_enabled; 105 bool remote_fonts_enabled;
105 bool javascript_can_access_clipboard; 106 bool javascript_can_access_clipboard;
106 bool xslt_enabled; 107 bool xslt_enabled;
107 bool xss_auditor_enabled; 108 bool xss_auditor_enabled;
108 // We don't use dns_prefetching_enabled to disable DNS prefetching. Instead, 109 // We don't use dns_prefetching_enabled to disable DNS prefetching. Instead,
109 // we disable the feature at a lower layer so that we catch non-WebKit uses 110 // we disable the feature at a lower layer so that we catch non-WebKit uses
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 // chrome, except for the cases where it would require lots of extra work for 287 // chrome, except for the cases where it would require lots of extra work for
287 // the embedder to use the same default value. 288 // the embedder to use the same default value.
288 WebPreferences(); 289 WebPreferences();
289 WebPreferences(const WebPreferences& other); 290 WebPreferences(const WebPreferences& other);
290 ~WebPreferences(); 291 ~WebPreferences();
291 }; 292 };
292 293
293 } // namespace content 294 } // namespace content
294 295
295 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 296 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
OLDNEW
« no previous file with comments | « content/public/common/common_param_traits_macros.h ('k') | content/public/common/web_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698