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

Side by Side Diff: webkit/common/webpreferences.h

Issue 38793007: Experimental viewport meta tag support for desktop (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « content/renderer/web_preferences.cc ('k') | webkit/common/webpreferences.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // A struct for managing webkit's settings. 5 // A struct for managing webkit's settings.
6 // 6 //
7 // Adding new values to this class probably involves updating 7 // Adding new values to this class probably involves updating
8 // blink::WebSettings, content/common/view_messages.h, browser/tab_contents/ 8 // blink::WebSettings, content/common/view_messages.h, browser/tab_contents/
9 // render_view_host_delegate_helper.cc, and browser/profiles/profile.cc. 9 // render_view_host_delegate_helper.cc, and browser/profiles/profile.cc.
10 10
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 bool touch_adjustment_enabled; 139 bool touch_adjustment_enabled;
140 int pointer_events_max_touch_points; 140 int pointer_events_max_touch_points;
141 bool fixed_position_creates_stacking_context; 141 bool fixed_position_creates_stacking_context;
142 bool sync_xhr_in_documents_enabled; 142 bool sync_xhr_in_documents_enabled;
143 bool deferred_image_decoding_enabled; 143 bool deferred_image_decoding_enabled;
144 bool should_respect_image_orientation; 144 bool should_respect_image_orientation;
145 int number_of_cpu_cores; 145 int number_of_cpu_cores;
146 webkit_glue::EditingBehavior editing_behavior; 146 webkit_glue::EditingBehavior editing_behavior;
147 bool supports_multiple_windows; 147 bool supports_multiple_windows;
148 bool viewport_enabled; 148 bool viewport_enabled;
149 bool viewport_meta_enabled;
150 bool main_frame_resizes_are_orientation_changes;
149 bool initialize_at_minimum_page_scale; 151 bool initialize_at_minimum_page_scale;
150 bool smart_insert_delete_enabled; 152 bool smart_insert_delete_enabled;
151 bool spatial_navigation_enabled; 153 bool spatial_navigation_enabled;
152 bool experimental_websocket_enabled; 154 bool experimental_websocket_enabled;
153 bool pinch_virtual_viewport_enabled; 155 bool pinch_virtual_viewport_enabled;
154 int pinch_overlay_scrollbar_thickness; 156 int pinch_overlay_scrollbar_thickness;
155 bool use_solid_color_scrollbars; 157 bool use_solid_color_scrollbars;
156 bool compositor_touch_hit_testing; 158 bool compositor_touch_hit_testing;
157 159
158 // This flags corresponds to a Page's Settings' setCookieEnabled state. It 160 // This flags corresponds to a Page's Settings' setCookieEnabled state. It
(...skipping 26 matching lines...) Expand all
185 #endif 187 #endif
186 188
187 // We try to keep the default values the same as the default values in 189 // We try to keep the default values the same as the default values in
188 // chrome, except for the cases where it would require lots of extra work for 190 // chrome, except for the cases where it would require lots of extra work for
189 // the embedder to use the same default value. 191 // the embedder to use the same default value.
190 WebPreferences(); 192 WebPreferences();
191 ~WebPreferences(); 193 ~WebPreferences();
192 }; 194 };
193 195
194 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ 196 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__
OLDNEW
« no previous file with comments | « content/renderer/web_preferences.cc ('k') | webkit/common/webpreferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698