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

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

Issue 1712743002: Revert "Make window.scroll properties relative to the layout viewport by default." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix failing test Created 4 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 | « 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 viewport_enabled; 169 bool viewport_enabled;
170 bool viewport_meta_enabled; 170 bool viewport_meta_enabled;
171 bool main_frame_resizes_are_orientation_changes; 171 bool main_frame_resizes_are_orientation_changes;
172 bool initialize_at_minimum_page_scale; 172 bool initialize_at_minimum_page_scale;
173 bool smart_insert_delete_enabled; 173 bool smart_insert_delete_enabled;
174 bool spatial_navigation_enabled; 174 bool spatial_navigation_enabled;
175 int pinch_overlay_scrollbar_thickness; 175 int pinch_overlay_scrollbar_thickness;
176 bool use_solid_color_scrollbars; 176 bool use_solid_color_scrollbars;
177 bool navigate_on_drag_drop; 177 bool navigate_on_drag_drop;
178 V8CacheOptions v8_cache_options; 178 V8CacheOptions v8_cache_options;
179 bool inert_visual_viewport;
179 180
180 // This flags corresponds to a Page's Settings' setCookieEnabled state. It 181 // This flags corresponds to a Page's Settings' setCookieEnabled state. It
181 // only controls whether or not the "document.cookie" field is properly 182 // only controls whether or not the "document.cookie" field is properly
182 // connected to the backing store, for instance if you wanted to be able to 183 // connected to the backing store, for instance if you wanted to be able to
183 // define custom getters and setters from within a unique security content 184 // define custom getters and setters from within a unique security content
184 // without raising a DOM security exception. 185 // without raising a DOM security exception.
185 bool cookie_enabled; 186 bool cookie_enabled;
186 187
187 // This flag indicates whether H/W accelerated video decode is enabled for 188 // This flag indicates whether H/W accelerated video decode is enabled for
188 // pepper plugins. Defaults to false. 189 // pepper plugins. Defaults to false.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 // We try to keep the default values the same as the default values in 227 // We try to keep the default values the same as the default values in
227 // chrome, except for the cases where it would require lots of extra work for 228 // chrome, except for the cases where it would require lots of extra work for
228 // the embedder to use the same default value. 229 // the embedder to use the same default value.
229 WebPreferences(); 230 WebPreferences();
230 ~WebPreferences(); 231 ~WebPreferences();
231 }; 232 };
232 233
233 } // namespace content 234 } // namespace content
234 235
235 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 236 #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