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

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

Issue 2846713002: [Media] Added feature flag for new remote playback pipeline (Closed)
Patch Set: Created 3 years, 8 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 (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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 IPC_STRUCT_TRAITS_MEMBER(video_fullscreen_orientation_lock_enabled) 241 IPC_STRUCT_TRAITS_MEMBER(video_fullscreen_orientation_lock_enabled)
242 IPC_STRUCT_TRAITS_MEMBER(video_fullscreen_detection_enabled) 242 IPC_STRUCT_TRAITS_MEMBER(video_fullscreen_detection_enabled)
243 IPC_STRUCT_TRAITS_MEMBER(embedded_media_experience_enabled) 243 IPC_STRUCT_TRAITS_MEMBER(embedded_media_experience_enabled)
244 #else // defined(OS_ANDROID) 244 #else // defined(OS_ANDROID)
245 IPC_STRUCT_TRAITS_MEMBER(cross_origin_media_playback_requires_user_gesture) 245 IPC_STRUCT_TRAITS_MEMBER(cross_origin_media_playback_requires_user_gesture)
246 #endif // defined(OS_ANDROID) 246 #endif // defined(OS_ANDROID)
247 IPC_STRUCT_TRAITS_MEMBER(default_minimum_page_scale_factor) 247 IPC_STRUCT_TRAITS_MEMBER(default_minimum_page_scale_factor)
248 IPC_STRUCT_TRAITS_MEMBER(default_maximum_page_scale_factor) 248 IPC_STRUCT_TRAITS_MEMBER(default_maximum_page_scale_factor)
249 IPC_STRUCT_TRAITS_MEMBER(hide_download_ui) 249 IPC_STRUCT_TRAITS_MEMBER(hide_download_ui)
250 IPC_STRUCT_TRAITS_MEMBER(background_video_track_optimization_enabled) 250 IPC_STRUCT_TRAITS_MEMBER(background_video_track_optimization_enabled)
251 IPC_STRUCT_TRAITS_MEMBER(new_remote_playback_pipeline_enabled)
Mike West 2017/04/27 11:12:53 Rather than adding this to WebPreferences, did you
whywhat 2017/04/27 14:17:28 Do you mean I could directly use FeatureList::IsEn
251 IPC_STRUCT_TRAITS_MEMBER(enable_instant_source_buffer_gc) 252 IPC_STRUCT_TRAITS_MEMBER(enable_instant_source_buffer_gc)
252 IPC_STRUCT_TRAITS_MEMBER(presentation_receiver) 253 IPC_STRUCT_TRAITS_MEMBER(presentation_receiver)
253 IPC_STRUCT_TRAITS_MEMBER(media_controls_enabled) 254 IPC_STRUCT_TRAITS_MEMBER(media_controls_enabled)
254 IPC_STRUCT_TRAITS_MEMBER(do_not_update_selection_on_mutating_selection_range) 255 IPC_STRUCT_TRAITS_MEMBER(do_not_update_selection_on_mutating_selection_range)
255 IPC_STRUCT_TRAITS_END() 256 IPC_STRUCT_TRAITS_END()
256 257
257 IPC_STRUCT_TRAITS_BEGIN(blink::mojom::WindowFeatures) 258 IPC_STRUCT_TRAITS_BEGIN(blink::mojom::WindowFeatures)
258 IPC_STRUCT_TRAITS_MEMBER(x) 259 IPC_STRUCT_TRAITS_MEMBER(x)
259 IPC_STRUCT_TRAITS_MEMBER(has_x) 260 IPC_STRUCT_TRAITS_MEMBER(has_x)
260 IPC_STRUCT_TRAITS_MEMBER(y) 261 IPC_STRUCT_TRAITS_MEMBER(y)
(...skipping 23 matching lines...) Expand all
284 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXTextAffinity, ui::AX_TEXT_AFFINITY_LAST) 285 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXTextAffinity, ui::AX_TEXT_AFFINITY_LAST)
285 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXEventFrom, ui::AX_EVENT_FROM_LAST) 286 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXEventFrom, ui::AX_EVENT_FROM_LAST)
286 287
287 IPC_STRUCT_TRAITS_BEGIN(ui::AXRelativeBounds) 288 IPC_STRUCT_TRAITS_BEGIN(ui::AXRelativeBounds)
288 IPC_STRUCT_TRAITS_MEMBER(offset_container_id) 289 IPC_STRUCT_TRAITS_MEMBER(offset_container_id)
289 IPC_STRUCT_TRAITS_MEMBER(bounds) 290 IPC_STRUCT_TRAITS_MEMBER(bounds)
290 IPC_STRUCT_TRAITS_MEMBER(transform) 291 IPC_STRUCT_TRAITS_MEMBER(transform)
291 IPC_STRUCT_TRAITS_END() 292 IPC_STRUCT_TRAITS_END()
292 293
293 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ 294 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698