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

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

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
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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 int minimum_font_size; 89 int minimum_font_size;
90 int minimum_logical_font_size; 90 int minimum_logical_font_size;
91 std::string default_encoding; 91 std::string default_encoding;
92 bool context_menu_on_mouse_up; 92 bool context_menu_on_mouse_up;
93 bool javascript_enabled; 93 bool javascript_enabled;
94 bool web_security_enabled; 94 bool web_security_enabled;
95 bool javascript_can_open_windows_automatically; 95 bool javascript_can_open_windows_automatically;
96 bool loads_images_automatically; 96 bool loads_images_automatically;
97 bool images_enabled; 97 bool images_enabled;
98 bool plugins_enabled; 98 bool plugins_enabled;
99 bool encrypted_media_enabled;
99 bool dom_paste_enabled; 100 bool dom_paste_enabled;
100 bool shrinks_standalone_images_to_fit; 101 bool shrinks_standalone_images_to_fit;
101 bool text_areas_are_resizable; 102 bool text_areas_are_resizable;
102 bool allow_scripts_to_close_windows; 103 bool allow_scripts_to_close_windows;
103 bool remote_fonts_enabled; 104 bool remote_fonts_enabled;
104 bool javascript_can_access_clipboard; 105 bool javascript_can_access_clipboard;
105 bool xslt_enabled; 106 bool xslt_enabled;
106 bool xss_auditor_enabled; 107 bool xss_auditor_enabled;
107 // We don't use dns_prefetching_enabled to disable DNS prefetching. Instead, 108 // We don't use dns_prefetching_enabled to disable DNS prefetching. Instead,
108 // we disable the feature at a lower layer so that we catch non-WebKit uses 109 // we disable the feature at a lower layer so that we catch non-WebKit uses
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 // chrome, except for the cases where it would require lots of extra work for 272 // chrome, except for the cases where it would require lots of extra work for
272 // the embedder to use the same default value. 273 // the embedder to use the same default value.
273 WebPreferences(); 274 WebPreferences();
274 WebPreferences(const WebPreferences& other); 275 WebPreferences(const WebPreferences& other);
275 ~WebPreferences(); 276 ~WebPreferences();
276 }; 277 };
277 278
278 } // namespace content 279 } // namespace content
279 280
280 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 281 #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