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

Unified Diff: ppapi/shared_impl/ppapi_preferences.cc

Issue 188143003: Ensure that pepper plugins honor the GPU H/W video decode blacklist and the disable-accelerated-vid… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/shared_impl/ppapi_preferences.h ('k') | webkit/common/webpreferences.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppapi_preferences.cc
===================================================================
--- ppapi/shared_impl/ppapi_preferences.cc (revision 254895)
+++ ppapi/shared_impl/ppapi_preferences.cc (working copy)
@@ -12,7 +12,8 @@
number_of_cpu_cores(0),
is_3d_supported(true),
is_stage3d_supported(false),
- is_stage3d_baseline_supported(false) {}
+ is_stage3d_baseline_supported(false),
+ is_accelerated_video_decode_enabled(false) {}
Preferences::Preferences(const WebPreferences& prefs)
: standard_font_family_map(prefs.standard_font_family_map),
@@ -29,7 +30,9 @@
// and if it runs in hardware
// (accelerated_compositing_for_plugins_enabled)
is_webgl_supported(prefs.experimental_webgl_enabled &&
- prefs.accelerated_compositing_for_plugins_enabled) {}
+ prefs.accelerated_compositing_for_plugins_enabled),
+ is_accelerated_video_decode_enabled(
+ prefs.pepper_accelerated_video_decode_enabled) {}
Preferences::~Preferences() {}
« no previous file with comments | « ppapi/shared_impl/ppapi_preferences.h ('k') | webkit/common/webpreferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698