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

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

Issue 12077002: adding DiscardableMemory preferences for deferred image decoding (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | « no previous file | 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 bool device_supports_touch; 143 bool device_supports_touch;
144 bool device_supports_mouse; 144 bool device_supports_mouse;
145 bool touch_adjustment_enabled; 145 bool touch_adjustment_enabled;
146 int default_tile_width; 146 int default_tile_width;
147 int default_tile_height; 147 int default_tile_height;
148 int max_untiled_layer_width; 148 int max_untiled_layer_width;
149 int max_untiled_layer_height; 149 int max_untiled_layer_height;
150 bool fixed_position_creates_stacking_context; 150 bool fixed_position_creates_stacking_context;
151 bool sync_xhr_in_documents_enabled; 151 bool sync_xhr_in_documents_enabled;
152 bool deferred_image_decoding_enabled; 152 bool deferred_image_decoding_enabled;
153 int discardable_memory_limit_mb;
154 int discardable_memory_entry_limit;
153 bool should_respect_image_orientation; 155 bool should_respect_image_orientation;
154 int number_of_cpu_cores; 156 int number_of_cpu_cores;
155 EditingBehavior editing_behavior; 157 EditingBehavior editing_behavior;
156 bool supports_multiple_windows; 158 bool supports_multiple_windows;
157 bool viewport_enabled; 159 bool viewport_enabled;
158 160
159 // This flags corresponds to a Page's Settings' setCookieEnabled state. It 161 // This flags corresponds to a Page's Settings' setCookieEnabled state. It
160 // only controls whether or not the "document.cookie" field is properly 162 // 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 163 // 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 164 // define custom getters and setters from within a unique security content
(...skipping 12 matching lines...) Expand all
175 // the embedder to use the same default value. 177 // the embedder to use the same default value.
176 WebPreferences(); 178 WebPreferences();
177 ~WebPreferences(); 179 ~WebPreferences();
178 180
179 void Apply(WebKit::WebView* web_view) const; 181 void Apply(WebKit::WebView* web_view) const;
180 }; 182 };
181 183
182 } // namespace webkit_glue 184 } // namespace webkit_glue
183 185
184 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ 186 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__
OLDNEW
« no previous file with comments | « no previous file | webkit/glue/webpreferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698