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

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

Issue 2496593002: Adding an experimental flag to block autoplay with sound in cross-origin iframes (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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Singly or Multiply-included shared traits file depending on circumstances. 5 // Singly or Multiply-included shared traits file depending on circumstances.
6 // This allows the use of IPC serialization macros in more than one IPC message 6 // This allows the use of IPC serialization macros in more than one IPC message
7 // file. 7 // file.
8 #ifndef CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ 8 #ifndef CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
9 #define CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ 9 #define CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
10 10
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 IPC_STRUCT_TRAITS_MEMBER(use_wide_viewport) 228 IPC_STRUCT_TRAITS_MEMBER(use_wide_viewport)
229 IPC_STRUCT_TRAITS_MEMBER(force_zero_layout_height) 229 IPC_STRUCT_TRAITS_MEMBER(force_zero_layout_height)
230 IPC_STRUCT_TRAITS_MEMBER(viewport_meta_layout_size_quirk) 230 IPC_STRUCT_TRAITS_MEMBER(viewport_meta_layout_size_quirk)
231 IPC_STRUCT_TRAITS_MEMBER(viewport_meta_merge_content_quirk) 231 IPC_STRUCT_TRAITS_MEMBER(viewport_meta_merge_content_quirk)
232 IPC_STRUCT_TRAITS_MEMBER(viewport_meta_non_user_scalable_quirk) 232 IPC_STRUCT_TRAITS_MEMBER(viewport_meta_non_user_scalable_quirk)
233 IPC_STRUCT_TRAITS_MEMBER(viewport_meta_zero_values_quirk) 233 IPC_STRUCT_TRAITS_MEMBER(viewport_meta_zero_values_quirk)
234 IPC_STRUCT_TRAITS_MEMBER(clobber_user_agent_initial_scale_quirk) 234 IPC_STRUCT_TRAITS_MEMBER(clobber_user_agent_initial_scale_quirk)
235 IPC_STRUCT_TRAITS_MEMBER(ignore_main_frame_overflow_hidden_quirk) 235 IPC_STRUCT_TRAITS_MEMBER(ignore_main_frame_overflow_hidden_quirk)
236 IPC_STRUCT_TRAITS_MEMBER(report_screen_size_in_physical_pixels_quirk) 236 IPC_STRUCT_TRAITS_MEMBER(report_screen_size_in_physical_pixels_quirk)
237 IPC_STRUCT_TRAITS_MEMBER(resue_global_for_unowned_main_frame) 237 IPC_STRUCT_TRAITS_MEMBER(resue_global_for_unowned_main_frame)
238 IPC_STRUCT_TRAITS_MEMBER(autoplay_muted_videos_enabled)
239 IPC_STRUCT_TRAITS_MEMBER(progress_bar_completion) 238 IPC_STRUCT_TRAITS_MEMBER(progress_bar_completion)
240 IPC_STRUCT_TRAITS_MEMBER(spellcheck_enabled_by_default) 239 IPC_STRUCT_TRAITS_MEMBER(spellcheck_enabled_by_default)
241 #endif 240 #endif
241 IPC_STRUCT_TRAITS_MEMBER(autoplay_muted_videos_enabled)
242 #if !defined(OS_ANDROID)
243 IPC_STRUCT_TRAITS_MEMBER(
244 user_gesture_required_for_media_playback_in_cross_origin_iframes)
245 #endif
242 IPC_STRUCT_TRAITS_MEMBER(autoplay_experiment_mode) 246 IPC_STRUCT_TRAITS_MEMBER(autoplay_experiment_mode)
243 IPC_STRUCT_TRAITS_MEMBER(default_minimum_page_scale_factor) 247 IPC_STRUCT_TRAITS_MEMBER(default_minimum_page_scale_factor)
244 IPC_STRUCT_TRAITS_MEMBER(default_maximum_page_scale_factor) 248 IPC_STRUCT_TRAITS_MEMBER(default_maximum_page_scale_factor)
245 IPC_STRUCT_TRAITS_MEMBER(hide_download_ui) 249 IPC_STRUCT_TRAITS_MEMBER(hide_download_ui)
246 IPC_STRUCT_TRAITS_END() 250 IPC_STRUCT_TRAITS_END()
247 251
248 IPC_STRUCT_TRAITS_BEGIN(blink::WebWindowFeatures) 252 IPC_STRUCT_TRAITS_BEGIN(blink::WebWindowFeatures)
249 IPC_STRUCT_TRAITS_MEMBER(x) 253 IPC_STRUCT_TRAITS_MEMBER(x)
250 IPC_STRUCT_TRAITS_MEMBER(xSet) 254 IPC_STRUCT_TRAITS_MEMBER(xSet)
251 IPC_STRUCT_TRAITS_MEMBER(y) 255 IPC_STRUCT_TRAITS_MEMBER(y)
(...skipping 23 matching lines...) Expand all
275 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXTextAffinity, ui::AX_TEXT_AFFINITY_LAST) 279 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXTextAffinity, ui::AX_TEXT_AFFINITY_LAST)
276 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXEventFrom, ui::AX_EVENT_FROM_LAST) 280 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXEventFrom, ui::AX_EVENT_FROM_LAST)
277 281
278 IPC_STRUCT_TRAITS_BEGIN(ui::AXRelativeBounds) 282 IPC_STRUCT_TRAITS_BEGIN(ui::AXRelativeBounds)
279 IPC_STRUCT_TRAITS_MEMBER(offset_container_id) 283 IPC_STRUCT_TRAITS_MEMBER(offset_container_id)
280 IPC_STRUCT_TRAITS_MEMBER(bounds) 284 IPC_STRUCT_TRAITS_MEMBER(bounds)
281 IPC_STRUCT_TRAITS_MEMBER(transform) 285 IPC_STRUCT_TRAITS_MEMBER(transform)
282 IPC_STRUCT_TRAITS_END() 286 IPC_STRUCT_TRAITS_END()
283 287
284 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ 288 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698