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

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

Issue 2640023008: Enabling autoplay and fullscreen for downloaded media (Closed)
Patch Set: removed include 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 bool report_screen_size_in_physical_pixels_quirk; 243 bool report_screen_size_in_physical_pixels_quirk;
244 // Used by Android_WebView only to support legacy apps that inject script into 244 // Used by Android_WebView only to support legacy apps that inject script into
245 // a top-level initial empty document and expect it to persist on navigation. 245 // a top-level initial empty document and expect it to persist on navigation.
246 bool resue_global_for_unowned_main_frame; 246 bool resue_global_for_unowned_main_frame;
247 ProgressBarCompletion progress_bar_completion; 247 ProgressBarCompletion progress_bar_completion;
248 // Specifies default setting for spellcheck when the spellcheck attribute is 248 // Specifies default setting for spellcheck when the spellcheck attribute is
249 // not explicitly specified. 249 // not explicitly specified.
250 bool spellcheck_enabled_by_default; 250 bool spellcheck_enabled_by_default;
251 // If enabled, when a video goes fullscreen, the orientation should be locked. 251 // If enabled, when a video goes fullscreen, the orientation should be locked.
252 bool video_fullscreen_orientation_lock_enabled; 252 bool video_fullscreen_orientation_lock_enabled;
253 bool embedded_media_experience_enabled;
253 #else // defined(OS_ANDROID) 254 #else // defined(OS_ANDROID)
254 bool cross_origin_media_playback_requires_user_gesture; 255 bool cross_origin_media_playback_requires_user_gesture;
255 #endif // defined(OS_ANDROID) 256 #endif // defined(OS_ANDROID)
256 257
257 // Default (used if the page or UA doesn't override these) values for page 258 // Default (used if the page or UA doesn't override these) values for page
258 // scale limits. These are set directly on the WebView so there's no analogue 259 // scale limits. These are set directly on the WebView so there's no analogue
259 // in WebSettings. 260 // in WebSettings.
260 float default_minimum_page_scale_factor; 261 float default_minimum_page_scale_factor;
261 float default_maximum_page_scale_factor; 262 float default_maximum_page_scale_factor;
262 263
(...skipping 28 matching lines...) Expand all
291 // chrome, except for the cases where it would require lots of extra work for 292 // chrome, except for the cases where it would require lots of extra work for
292 // the embedder to use the same default value. 293 // the embedder to use the same default value.
293 WebPreferences(); 294 WebPreferences();
294 WebPreferences(const WebPreferences& other); 295 WebPreferences(const WebPreferences& other);
295 ~WebPreferences(); 296 ~WebPreferences();
296 }; 297 };
297 298
298 } // namespace content 299 } // namespace content
299 300
300 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 301 #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