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

Unified Diff: webkit/glue/webpreferences.cc

Issue 12026010: Add GOOGLE_TV build tag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change commit message Created 7 years, 11 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
« build/common.gypi ('K') | « content/browser/android/content_startup_flags.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webpreferences.cc
diff --git a/webkit/glue/webpreferences.cc b/webkit/glue/webpreferences.cc
index 7c783fb87eb1d254d02dfd50994b53fd8e408a7d..306943f499b89da236544d8554b0e3a6c3a83f6f 100644
--- a/webkit/glue/webpreferences.cc
+++ b/webkit/glue/webpreferences.cc
@@ -144,8 +144,12 @@ WebPreferences::WebPreferences()
text_autosizing_enabled(true),
font_scale_factor(1.0f),
force_enable_zoom(false),
+#if defined(GOOGLE_TV)
+ user_gesture_required_for_media_playback(false)
+#else
user_gesture_required_for_media_playback(true)
#endif
+#endif
{
standard_font_family_map[kCommonScript] =
ASCIIToUTF16("Times New Roman");
« build/common.gypi ('K') | « content/browser/android/content_startup_flags.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698