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

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

Issue 10983010: FontScaleFactor and ForceEnableZoom pref_names. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing variables to WebPreferences Created 8 years, 2 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 | « chrome/common/pref_names.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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 bool accelerated_2d_canvas_enabled; 109 bool accelerated_2d_canvas_enabled;
110 bool deferred_2d_canvas_enabled; 110 bool deferred_2d_canvas_enabled;
111 bool accelerated_painting_enabled; 111 bool accelerated_painting_enabled;
112 bool accelerated_filters_enabled; 112 bool accelerated_filters_enabled;
113 bool gesture_tap_highlight_enabled; 113 bool gesture_tap_highlight_enabled;
114 bool accelerated_plugins_enabled; 114 bool accelerated_plugins_enabled;
115 bool memory_info_enabled; 115 bool memory_info_enabled;
116 bool fullscreen_enabled; 116 bool fullscreen_enabled;
117 bool allow_displaying_insecure_content; 117 bool allow_displaying_insecure_content;
118 bool allow_running_insecure_content; 118 bool allow_running_insecure_content;
119 #if defined(OS_ANDROID)
120 float font_scale_factor;
121 bool force_enable_zoom;
122 #endif
119 bool password_echo_enabled; 123 bool password_echo_enabled;
120 bool should_print_backgrounds; 124 bool should_print_backgrounds;
121 bool enable_scroll_animator; 125 bool enable_scroll_animator;
122 bool visual_word_movement_enabled; 126 bool visual_word_movement_enabled;
123 bool css_sticky_position_enabled; 127 bool css_sticky_position_enabled;
124 bool css_regions_enabled; 128 bool css_regions_enabled;
125 bool css_shaders_enabled; 129 bool css_shaders_enabled;
126 bool css_variables_enabled; 130 bool css_variables_enabled;
127 bool device_supports_touch; 131 bool device_supports_touch;
128 bool device_supports_mouse; 132 bool device_supports_mouse;
(...skipping 17 matching lines...) Expand all
146 // the embedder to use the same default value. 150 // the embedder to use the same default value.
147 WebPreferences(); 151 WebPreferences();
148 ~WebPreferences(); 152 ~WebPreferences();
149 153
150 void Apply(WebKit::WebView* web_view) const; 154 void Apply(WebKit::WebView* web_view) const;
151 }; 155 };
152 156
153 } // namespace webkit_glue 157 } // namespace webkit_glue
154 158
155 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ 159 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | webkit/glue/webpreferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698