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

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

Issue 2339873002: Replace hide-scrollbars flag with a web setting. (Closed)
Patch Set: check for presence of settings using DCHECK + sync. Created 4 years, 3 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 | « content/child/runtime_features.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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 IPC_STRUCT_TRAITS_MEMBER(inert_visual_viewport) 154 IPC_STRUCT_TRAITS_MEMBER(inert_visual_viewport)
155 IPC_STRUCT_TRAITS_MEMBER(record_whole_document) 155 IPC_STRUCT_TRAITS_MEMBER(record_whole_document)
156 IPC_STRUCT_TRAITS_MEMBER(pinch_overlay_scrollbar_thickness) 156 IPC_STRUCT_TRAITS_MEMBER(pinch_overlay_scrollbar_thickness)
157 IPC_STRUCT_TRAITS_MEMBER(use_solid_color_scrollbars) 157 IPC_STRUCT_TRAITS_MEMBER(use_solid_color_scrollbars)
158 IPC_STRUCT_TRAITS_MEMBER(flash_3d_enabled) 158 IPC_STRUCT_TRAITS_MEMBER(flash_3d_enabled)
159 IPC_STRUCT_TRAITS_MEMBER(flash_stage3d_enabled) 159 IPC_STRUCT_TRAITS_MEMBER(flash_stage3d_enabled)
160 IPC_STRUCT_TRAITS_MEMBER(flash_stage3d_baseline_enabled) 160 IPC_STRUCT_TRAITS_MEMBER(flash_stage3d_baseline_enabled)
161 IPC_STRUCT_TRAITS_MEMBER(privileged_webgl_extensions_enabled) 161 IPC_STRUCT_TRAITS_MEMBER(privileged_webgl_extensions_enabled)
162 IPC_STRUCT_TRAITS_MEMBER(webgl_errors_to_console_enabled) 162 IPC_STRUCT_TRAITS_MEMBER(webgl_errors_to_console_enabled)
163 IPC_STRUCT_TRAITS_MEMBER(mock_scrollbars_enabled) 163 IPC_STRUCT_TRAITS_MEMBER(mock_scrollbars_enabled)
164 IPC_STRUCT_TRAITS_MEMBER(hide_scrollbars)
164 IPC_STRUCT_TRAITS_MEMBER(accelerated_2d_canvas_enabled) 165 IPC_STRUCT_TRAITS_MEMBER(accelerated_2d_canvas_enabled)
165 IPC_STRUCT_TRAITS_MEMBER(minimum_accelerated_2d_canvas_size) 166 IPC_STRUCT_TRAITS_MEMBER(minimum_accelerated_2d_canvas_size)
166 IPC_STRUCT_TRAITS_MEMBER(disable_2d_canvas_copy_on_write) 167 IPC_STRUCT_TRAITS_MEMBER(disable_2d_canvas_copy_on_write)
167 IPC_STRUCT_TRAITS_MEMBER(antialiased_2d_canvas_disabled) 168 IPC_STRUCT_TRAITS_MEMBER(antialiased_2d_canvas_disabled)
168 IPC_STRUCT_TRAITS_MEMBER(antialiased_clips_2d_canvas_enabled) 169 IPC_STRUCT_TRAITS_MEMBER(antialiased_clips_2d_canvas_enabled)
169 IPC_STRUCT_TRAITS_MEMBER(accelerated_2d_canvas_msaa_sample_count) 170 IPC_STRUCT_TRAITS_MEMBER(accelerated_2d_canvas_msaa_sample_count)
170 IPC_STRUCT_TRAITS_MEMBER(accelerated_filters_enabled) 171 IPC_STRUCT_TRAITS_MEMBER(accelerated_filters_enabled)
171 IPC_STRUCT_TRAITS_MEMBER(deferred_filters_enabled) 172 IPC_STRUCT_TRAITS_MEMBER(deferred_filters_enabled)
172 IPC_STRUCT_TRAITS_MEMBER(container_culling_enabled) 173 IPC_STRUCT_TRAITS_MEMBER(container_culling_enabled)
173 IPC_STRUCT_TRAITS_MEMBER(allow_running_insecure_content) 174 IPC_STRUCT_TRAITS_MEMBER(allow_running_insecure_content)
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXTextAffinity, ui::AX_TEXT_AFFINITY_LAST) 271 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXTextAffinity, ui::AX_TEXT_AFFINITY_LAST)
271 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXEventFrom, ui::AX_EVENT_FROM_LAST) 272 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXEventFrom, ui::AX_EVENT_FROM_LAST)
272 273
273 IPC_STRUCT_TRAITS_BEGIN(ui::AXRelativeBounds) 274 IPC_STRUCT_TRAITS_BEGIN(ui::AXRelativeBounds)
274 IPC_STRUCT_TRAITS_MEMBER(offset_container_id) 275 IPC_STRUCT_TRAITS_MEMBER(offset_container_id)
275 IPC_STRUCT_TRAITS_MEMBER(bounds) 276 IPC_STRUCT_TRAITS_MEMBER(bounds)
276 IPC_STRUCT_TRAITS_MEMBER(transform) 277 IPC_STRUCT_TRAITS_MEMBER(transform)
277 IPC_STRUCT_TRAITS_END() 278 IPC_STRUCT_TRAITS_END()
278 279
279 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ 280 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
OLDNEW
« no previous file with comments | « content/child/runtime_features.cc ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698