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

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

Issue 2472773005: Remove autoplay-muted-videos feature flag. (Closed)
Patch Set: Created 4 years, 1 month 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 bool viewport_meta_layout_size_quirk; 227 bool viewport_meta_layout_size_quirk;
228 bool viewport_meta_merge_content_quirk; 228 bool viewport_meta_merge_content_quirk;
229 bool viewport_meta_non_user_scalable_quirk; 229 bool viewport_meta_non_user_scalable_quirk;
230 bool viewport_meta_zero_values_quirk; 230 bool viewport_meta_zero_values_quirk;
231 bool clobber_user_agent_initial_scale_quirk; 231 bool clobber_user_agent_initial_scale_quirk;
232 bool ignore_main_frame_overflow_hidden_quirk; 232 bool ignore_main_frame_overflow_hidden_quirk;
233 bool report_screen_size_in_physical_pixels_quirk; 233 bool report_screen_size_in_physical_pixels_quirk;
234 // Used by Android_WebView only to support legacy apps that inject script into 234 // Used by Android_WebView only to support legacy apps that inject script into
235 // a top-level initial empty document and expect it to persist on navigation. 235 // a top-level initial empty document and expect it to persist on navigation.
236 bool resue_global_for_unowned_main_frame; 236 bool resue_global_for_unowned_main_frame;
237 bool autoplay_muted_videos_enabled;
238 ProgressBarCompletion progress_bar_completion; 237 ProgressBarCompletion progress_bar_completion;
239 // Specifies default setting for spellcheck when the spellcheck attribute is 238 // Specifies default setting for spellcheck when the spellcheck attribute is
240 // not explicitly specified. 239 // not explicitly specified.
241 bool spellcheck_enabled_by_default; 240 bool spellcheck_enabled_by_default;
242 #endif 241 #endif
243 242
244 // String that describes how media element autoplay behavior should be 243 // String that describes how media element autoplay behavior should be
245 // affected by experiment. 244 // affected by experiment.
246 std::string autoplay_experiment_mode; 245 std::string autoplay_experiment_mode;
247 246
(...skipping 10 matching lines...) Expand all
258 // chrome, except for the cases where it would require lots of extra work for 257 // chrome, except for the cases where it would require lots of extra work for
259 // the embedder to use the same default value. 258 // the embedder to use the same default value.
260 WebPreferences(); 259 WebPreferences();
261 WebPreferences(const WebPreferences& other); 260 WebPreferences(const WebPreferences& other);
262 ~WebPreferences(); 261 ~WebPreferences();
263 }; 262 };
264 263
265 } // namespace content 264 } // namespace content
266 265
267 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 266 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698