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

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

Issue 15567005: Plumb pinch virtual viewport flag to CC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased for landing Created 7 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 | Annotate | Revision Log
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 bool deferred_image_decoding_enabled; 148 bool deferred_image_decoding_enabled;
149 bool should_respect_image_orientation; 149 bool should_respect_image_orientation;
150 int number_of_cpu_cores; 150 int number_of_cpu_cores;
151 webkit_glue::EditingBehavior editing_behavior; 151 webkit_glue::EditingBehavior editing_behavior;
152 bool supports_multiple_windows; 152 bool supports_multiple_windows;
153 bool viewport_enabled; 153 bool viewport_enabled;
154 bool initialize_at_minimum_page_scale; 154 bool initialize_at_minimum_page_scale;
155 bool smart_insert_delete_enabled; 155 bool smart_insert_delete_enabled;
156 bool spatial_navigation_enabled; 156 bool spatial_navigation_enabled;
157 bool experimental_websocket_enabled; 157 bool experimental_websocket_enabled;
158 bool pinch_virtual_viewport_enabled;
158 159
159 // This flags corresponds to a Page's Settings' setCookieEnabled state. It 160 // This flags corresponds to a Page's Settings' setCookieEnabled state. It
160 // only controls whether or not the "document.cookie" field is properly 161 // only controls whether or not the "document.cookie" field is properly
161 // connected to the backing store, for instance if you wanted to be able to 162 // connected to the backing store, for instance if you wanted to be able to
162 // define custom getters and setters from within a unique security content 163 // define custom getters and setters from within a unique security content
163 // without raising a DOM security exception. 164 // without raising a DOM security exception.
164 bool cookie_enabled; 165 bool cookie_enabled;
165 166
166 #if defined(OS_ANDROID) 167 #if defined(OS_ANDROID)
167 bool text_autosizing_enabled; 168 bool text_autosizing_enabled;
168 float font_scale_factor; 169 float font_scale_factor;
169 bool force_enable_zoom; 170 bool force_enable_zoom;
170 bool double_tap_to_zoom_enabled; 171 bool double_tap_to_zoom_enabled;
171 bool user_gesture_required_for_media_playback; 172 bool user_gesture_required_for_media_playback;
172 GURL default_video_poster_url; 173 GURL default_video_poster_url;
173 bool support_deprecated_target_density_dpi; 174 bool support_deprecated_target_density_dpi;
174 bool use_wide_viewport; 175 bool use_wide_viewport;
175 #endif 176 #endif
176 177
177 // We try to keep the default values the same as the default values in 178 // We try to keep the default values the same as the default values in
178 // chrome, except for the cases where it would require lots of extra work for 179 // chrome, except for the cases where it would require lots of extra work for
179 // the embedder to use the same default value. 180 // the embedder to use the same default value.
180 WebPreferences(); 181 WebPreferences();
181 ~WebPreferences(); 182 ~WebPreferences();
182 }; 183 };
183 184
184 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ 185 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | webkit/glue/webpreferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698