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

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

Issue 14234002: [Android WebView] Never turn off viewport and fixed layout (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Jonathan's comment addressed Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « content/public/common/common_param_traits_macros.h ('k') | webkit/glue/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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 bool cookie_enabled; 157 bool cookie_enabled;
158 158
159 #if defined(OS_ANDROID) 159 #if defined(OS_ANDROID)
160 bool text_autosizing_enabled; 160 bool text_autosizing_enabled;
161 float font_scale_factor; 161 float font_scale_factor;
162 bool force_enable_zoom; 162 bool force_enable_zoom;
163 bool double_tap_to_zoom_enabled; 163 bool double_tap_to_zoom_enabled;
164 bool user_gesture_required_for_media_playback; 164 bool user_gesture_required_for_media_playback;
165 GURL default_video_poster_url; 165 GURL default_video_poster_url;
166 bool support_deprecated_target_density_dpi; 166 bool support_deprecated_target_density_dpi;
167 bool use_wide_viewport;
167 #endif 168 #endif
168 169
169 // We try to keep the default values the same as the default values in 170 // We try to keep the default values the same as the default values in
170 // chrome, except for the cases where it would require lots of extra work for 171 // chrome, except for the cases where it would require lots of extra work for
171 // the embedder to use the same default value. 172 // the embedder to use the same default value.
172 WebPreferences(); 173 WebPreferences();
173 ~WebPreferences(); 174 ~WebPreferences();
174 175
175 void Apply(WebKit::WebView* web_view) const; 176 void Apply(WebKit::WebView* web_view) const;
176 }; 177 };
177 178
178 } // namespace webkit_glue 179 } // namespace webkit_glue
179 180
180 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ 181 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__
OLDNEW
« no previous file with comments | « content/public/common/common_param_traits_macros.h ('k') | webkit/glue/webpreferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698