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

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

Issue 49043010: Plumb device scale adjustment separately. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rmquirk
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
« 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 // WebKit::WebSettings, content/common/view_messages.h, browser/tab_contents/ 8 // WebKit::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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 160
161 // This flags corresponds to a Page's Settings' setCookieEnabled state. It 161 // This flags corresponds to a Page's Settings' setCookieEnabled state. It
162 // only controls whether or not the "document.cookie" field is properly 162 // only controls whether or not the "document.cookie" field is properly
163 // connected to the backing store, for instance if you wanted to be able to 163 // connected to the backing store, for instance if you wanted to be able to
164 // define custom getters and setters from within a unique security content 164 // define custom getters and setters from within a unique security content
165 // without raising a DOM security exception. 165 // without raising a DOM security exception.
166 bool cookie_enabled; 166 bool cookie_enabled;
167 167
168 #if defined(OS_ANDROID) 168 #if defined(OS_ANDROID)
169 bool text_autosizing_enabled; 169 bool text_autosizing_enabled;
170 float text_autosizing_font_scale_factor; 170 float font_scale_factor;
171 float device_scale_adjustment;
171 bool force_enable_zoom; 172 bool force_enable_zoom;
172 bool double_tap_to_zoom_enabled; 173 bool double_tap_to_zoom_enabled;
173 bool user_gesture_required_for_media_playback; 174 bool user_gesture_required_for_media_playback;
174 bool user_gesture_required_for_media_fullscreen; 175 bool user_gesture_required_for_media_fullscreen;
175 GURL default_video_poster_url; 176 GURL default_video_poster_url;
176 bool support_deprecated_target_density_dpi; 177 bool support_deprecated_target_density_dpi;
177 bool use_legacy_background_size_shorthand_behavior; 178 bool use_legacy_background_size_shorthand_behavior;
178 bool wide_viewport_quirk; 179 bool wide_viewport_quirk;
179 bool use_wide_viewport; 180 bool use_wide_viewport;
180 bool viewport_meta_layout_size_quirk; 181 bool viewport_meta_layout_size_quirk;
181 bool viewport_meta_merge_content_quirk; 182 bool viewport_meta_merge_content_quirk;
182 bool viewport_meta_zero_values_quirk; 183 bool viewport_meta_zero_values_quirk;
183 bool ignore_main_frame_overflow_hidden_quirk; 184 bool ignore_main_frame_overflow_hidden_quirk;
184 bool report_screen_size_in_physical_pixels_quirk; 185 bool report_screen_size_in_physical_pixels_quirk;
185 #endif 186 #endif
186 187
187 // We try to keep the default values the same as the default values in 188 // 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 189 // chrome, except for the cases where it would require lots of extra work for
189 // the embedder to use the same default value. 190 // the embedder to use the same default value.
190 WebPreferences(); 191 WebPreferences();
191 ~WebPreferences(); 192 ~WebPreferences();
192 }; 193 };
193 194
194 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ 195 #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