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

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

Issue 2339873002: Replace hide-scrollbars flag with a web setting. (Closed)
Patch Set: replace viewport test b/c overlay bars are hidden in layout tests. 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.cc » ('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 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 bool allow_universal_access_from_file_urls; 120 bool allow_universal_access_from_file_urls;
121 bool allow_file_access_from_file_urls; 121 bool allow_file_access_from_file_urls;
122 bool experimental_webgl_enabled; 122 bool experimental_webgl_enabled;
123 bool pepper_3d_enabled; 123 bool pepper_3d_enabled;
124 bool flash_3d_enabled; 124 bool flash_3d_enabled;
125 bool flash_stage3d_enabled; 125 bool flash_stage3d_enabled;
126 bool flash_stage3d_baseline_enabled; 126 bool flash_stage3d_baseline_enabled;
127 bool privileged_webgl_extensions_enabled; 127 bool privileged_webgl_extensions_enabled;
128 bool webgl_errors_to_console_enabled; 128 bool webgl_errors_to_console_enabled;
129 bool mock_scrollbars_enabled; 129 bool mock_scrollbars_enabled;
130 bool hide_scrollbars;
skobes 2016/09/16 01:07:26 Where is this consumed?
Eric Seckler 2016/09/16 07:54:22 Thanks, was missing the plumbing in RenderViewImpl
130 bool accelerated_2d_canvas_enabled; 131 bool accelerated_2d_canvas_enabled;
131 int minimum_accelerated_2d_canvas_size; 132 int minimum_accelerated_2d_canvas_size;
132 bool disable_2d_canvas_copy_on_write; 133 bool disable_2d_canvas_copy_on_write;
133 bool antialiased_2d_canvas_disabled; 134 bool antialiased_2d_canvas_disabled;
134 bool antialiased_clips_2d_canvas_enabled; 135 bool antialiased_clips_2d_canvas_enabled;
135 int accelerated_2d_canvas_msaa_sample_count; 136 int accelerated_2d_canvas_msaa_sample_count;
136 bool accelerated_filters_enabled; 137 bool accelerated_filters_enabled;
137 bool deferred_filters_enabled; 138 bool deferred_filters_enabled;
138 bool container_culling_enabled; 139 bool container_culling_enabled;
139 bool allow_running_insecure_content; 140 bool allow_running_insecure_content;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 // chrome, except for the cases where it would require lots of extra work for 253 // chrome, except for the cases where it would require lots of extra work for
253 // the embedder to use the same default value. 254 // the embedder to use the same default value.
254 WebPreferences(); 255 WebPreferences();
255 WebPreferences(const WebPreferences& other); 256 WebPreferences(const WebPreferences& other);
256 ~WebPreferences(); 257 ~WebPreferences();
257 }; 258 };
258 259
259 } // namespace content 260 } // namespace content
260 261
261 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 262 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
OLDNEW
« no previous file with comments | « content/child/runtime_features.cc ('k') | content/public/common/web_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698