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

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

Issue 1146053009: Added experiment for changing viewport scroll ordering. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added new about_flag to histograms.xml Created 5 years, 6 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/public/common/content_switches.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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 bool should_respect_image_orientation; 169 bool should_respect_image_orientation;
170 int number_of_cpu_cores; 170 int number_of_cpu_cores;
171 EditingBehavior editing_behavior; 171 EditingBehavior editing_behavior;
172 bool supports_multiple_windows; 172 bool supports_multiple_windows;
173 bool viewport_enabled; 173 bool viewport_enabled;
174 bool viewport_meta_enabled; 174 bool viewport_meta_enabled;
175 bool main_frame_resizes_are_orientation_changes; 175 bool main_frame_resizes_are_orientation_changes;
176 bool initialize_at_minimum_page_scale; 176 bool initialize_at_minimum_page_scale;
177 bool smart_insert_delete_enabled; 177 bool smart_insert_delete_enabled;
178 bool spatial_navigation_enabled; 178 bool spatial_navigation_enabled;
179 bool invert_viewport_scroll_order;
179 int pinch_overlay_scrollbar_thickness; 180 int pinch_overlay_scrollbar_thickness;
180 bool use_solid_color_scrollbars; 181 bool use_solid_color_scrollbars;
181 bool navigate_on_drag_drop; 182 bool navigate_on_drag_drop;
182 V8CacheOptions v8_cache_options; 183 V8CacheOptions v8_cache_options;
183 bool slimming_paint_enabled; 184 bool slimming_paint_enabled;
184 185
185 // This flags corresponds to a Page's Settings' setCookieEnabled state. It 186 // This flags corresponds to a Page's Settings' setCookieEnabled state. It
186 // only controls whether or not the "document.cookie" field is properly 187 // only controls whether or not the "document.cookie" field is properly
187 // connected to the backing store, for instance if you wanted to be able to 188 // connected to the backing store, for instance if you wanted to be able to
188 // define custom getters and setters from within a unique security content 189 // define custom getters and setters from within a unique security content
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 // We try to keep the default values the same as the default values in 228 // We try to keep the default values the same as the default values in
228 // chrome, except for the cases where it would require lots of extra work for 229 // chrome, except for the cases where it would require lots of extra work for
229 // the embedder to use the same default value. 230 // the embedder to use the same default value.
230 WebPreferences(); 231 WebPreferences();
231 ~WebPreferences(); 232 ~WebPreferences();
232 }; 233 };
233 234
234 } // namespace content 235 } // namespace content
235 236
236 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 237 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
OLDNEW
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/public/common/web_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698