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

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

Issue 785723002: Add new extension APIs related to animation policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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
« no previous file with comments | « chrome/common/pref_names.cc ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 WINDOW_OPEN_DISPOSITION_LAST) 43 WINDOW_OPEN_DISPOSITION_LAST)
44 IPC_ENUM_TRAITS_MAX_VALUE(net::RequestPriority, net::MAXIMUM_PRIORITY) 44 IPC_ENUM_TRAITS_MAX_VALUE(net::RequestPriority, net::MAXIMUM_PRIORITY)
45 IPC_ENUM_TRAITS_MAX_VALUE(content::V8CacheOptions, 45 IPC_ENUM_TRAITS_MAX_VALUE(content::V8CacheOptions,
46 content::V8_CACHE_OPTIONS_LAST) 46 content::V8_CACHE_OPTIONS_LAST)
47 IPC_ENUM_TRAITS_MIN_MAX_VALUE(ui::PointerType, 47 IPC_ENUM_TRAITS_MIN_MAX_VALUE(ui::PointerType,
48 ui::POINTER_TYPE_FIRST, 48 ui::POINTER_TYPE_FIRST,
49 ui::POINTER_TYPE_LAST) 49 ui::POINTER_TYPE_LAST)
50 IPC_ENUM_TRAITS_MIN_MAX_VALUE(ui::HoverType, 50 IPC_ENUM_TRAITS_MIN_MAX_VALUE(ui::HoverType,
51 ui::HOVER_TYPE_FIRST, 51 ui::HOVER_TYPE_FIRST,
52 ui::HOVER_TYPE_LAST) 52 ui::HOVER_TYPE_LAST)
53 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::ImageAnimationPolicy,
54 content::IMAGE_ANIMATION_POLICY_ALLOWED,
55 content::IMAGE_ANIMATION_POLICY_NO_ANIMATION)
53 56
54 IPC_STRUCT_TRAITS_BEGIN(blink::WebPoint) 57 IPC_STRUCT_TRAITS_BEGIN(blink::WebPoint)
55 IPC_STRUCT_TRAITS_MEMBER(x) 58 IPC_STRUCT_TRAITS_MEMBER(x)
56 IPC_STRUCT_TRAITS_MEMBER(y) 59 IPC_STRUCT_TRAITS_MEMBER(y)
57 IPC_STRUCT_TRAITS_END() 60 IPC_STRUCT_TRAITS_END()
58 61
59 IPC_STRUCT_TRAITS_BEGIN(blink::WebRect) 62 IPC_STRUCT_TRAITS_BEGIN(blink::WebRect)
60 IPC_STRUCT_TRAITS_MEMBER(x) 63 IPC_STRUCT_TRAITS_MEMBER(x)
61 IPC_STRUCT_TRAITS_MEMBER(y) 64 IPC_STRUCT_TRAITS_MEMBER(y)
62 IPC_STRUCT_TRAITS_MEMBER(width) 65 IPC_STRUCT_TRAITS_MEMBER(width)
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 IPC_STRUCT_TRAITS_MEMBER(viewport_meta_enabled) 190 IPC_STRUCT_TRAITS_MEMBER(viewport_meta_enabled)
188 IPC_STRUCT_TRAITS_MEMBER(main_frame_resizes_are_orientation_changes) 191 IPC_STRUCT_TRAITS_MEMBER(main_frame_resizes_are_orientation_changes)
189 IPC_STRUCT_TRAITS_MEMBER(initialize_at_minimum_page_scale) 192 IPC_STRUCT_TRAITS_MEMBER(initialize_at_minimum_page_scale)
190 IPC_STRUCT_TRAITS_MEMBER(smart_insert_delete_enabled) 193 IPC_STRUCT_TRAITS_MEMBER(smart_insert_delete_enabled)
191 IPC_STRUCT_TRAITS_MEMBER(cookie_enabled) 194 IPC_STRUCT_TRAITS_MEMBER(cookie_enabled)
192 IPC_STRUCT_TRAITS_MEMBER(navigate_on_drag_drop) 195 IPC_STRUCT_TRAITS_MEMBER(navigate_on_drag_drop)
193 IPC_STRUCT_TRAITS_MEMBER(spatial_navigation_enabled) 196 IPC_STRUCT_TRAITS_MEMBER(spatial_navigation_enabled)
194 IPC_STRUCT_TRAITS_MEMBER(v8_cache_options) 197 IPC_STRUCT_TRAITS_MEMBER(v8_cache_options)
195 IPC_STRUCT_TRAITS_MEMBER(slimming_paint_enabled) 198 IPC_STRUCT_TRAITS_MEMBER(slimming_paint_enabled)
196 IPC_STRUCT_TRAITS_MEMBER(pepper_accelerated_video_decode_enabled) 199 IPC_STRUCT_TRAITS_MEMBER(pepper_accelerated_video_decode_enabled)
200 IPC_STRUCT_TRAITS_MEMBER(animation_policy)
197 #if defined(OS_ANDROID) 201 #if defined(OS_ANDROID)
198 IPC_STRUCT_TRAITS_MEMBER(text_autosizing_enabled) 202 IPC_STRUCT_TRAITS_MEMBER(text_autosizing_enabled)
199 IPC_STRUCT_TRAITS_MEMBER(font_scale_factor) 203 IPC_STRUCT_TRAITS_MEMBER(font_scale_factor)
200 IPC_STRUCT_TRAITS_MEMBER(device_scale_adjustment) 204 IPC_STRUCT_TRAITS_MEMBER(device_scale_adjustment)
201 IPC_STRUCT_TRAITS_MEMBER(force_enable_zoom) 205 IPC_STRUCT_TRAITS_MEMBER(force_enable_zoom)
202 IPC_STRUCT_TRAITS_MEMBER(fullscreen_supported) 206 IPC_STRUCT_TRAITS_MEMBER(fullscreen_supported)
203 IPC_STRUCT_TRAITS_MEMBER(double_tap_to_zoom_enabled) 207 IPC_STRUCT_TRAITS_MEMBER(double_tap_to_zoom_enabled)
204 IPC_STRUCT_TRAITS_MEMBER(user_gesture_required_for_media_playback) 208 IPC_STRUCT_TRAITS_MEMBER(user_gesture_required_for_media_playback)
205 IPC_STRUCT_TRAITS_MEMBER(default_video_poster_url) 209 IPC_STRUCT_TRAITS_MEMBER(default_video_poster_url)
206 IPC_STRUCT_TRAITS_MEMBER(support_deprecated_target_density_dpi) 210 IPC_STRUCT_TRAITS_MEMBER(support_deprecated_target_density_dpi)
(...skipping 26 matching lines...) Expand all
233 IPC_STRUCT_TRAITS_MEMBER(statusBarVisible) 237 IPC_STRUCT_TRAITS_MEMBER(statusBarVisible)
234 IPC_STRUCT_TRAITS_MEMBER(toolBarVisible) 238 IPC_STRUCT_TRAITS_MEMBER(toolBarVisible)
235 IPC_STRUCT_TRAITS_MEMBER(locationBarVisible) 239 IPC_STRUCT_TRAITS_MEMBER(locationBarVisible)
236 IPC_STRUCT_TRAITS_MEMBER(scrollbarsVisible) 240 IPC_STRUCT_TRAITS_MEMBER(scrollbarsVisible)
237 IPC_STRUCT_TRAITS_MEMBER(resizable) 241 IPC_STRUCT_TRAITS_MEMBER(resizable)
238 IPC_STRUCT_TRAITS_MEMBER(fullscreen) 242 IPC_STRUCT_TRAITS_MEMBER(fullscreen)
239 IPC_STRUCT_TRAITS_MEMBER(dialog) 243 IPC_STRUCT_TRAITS_MEMBER(dialog)
240 IPC_STRUCT_TRAITS_END() 244 IPC_STRUCT_TRAITS_END()
241 245
242 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ 246 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698