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

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

Issue 10386213: Add command line flags for compositor's default tile size and (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
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, common/render_messages.cc, browser/tab_contents/ 8 // WebKit::WebSettings, common/render_messages.cc, 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 bool allow_displaying_insecure_content; 114 bool allow_displaying_insecure_content;
115 bool allow_running_insecure_content; 115 bool allow_running_insecure_content;
116 bool password_echo_enabled; 116 bool password_echo_enabled;
117 bool should_print_backgrounds; 117 bool should_print_backgrounds;
118 bool enable_scroll_animator; 118 bool enable_scroll_animator;
119 bool hixie76_websocket_protocol_enabled; 119 bool hixie76_websocket_protocol_enabled;
120 bool visual_word_movement_enabled; 120 bool visual_word_movement_enabled;
121 bool per_tile_painting_enabled; 121 bool per_tile_painting_enabled;
122 bool css_regions_enabled; 122 bool css_regions_enabled;
123 bool css_shaders_enabled; 123 bool css_shaders_enabled;
124 int default_tile_width;
125 int default_tile_height;
126 int max_untiled_layer_width;
127 int max_untiled_layer_height;
128
124 // We try to keep the default values the same as the default values in 129 // We try to keep the default values the same as the default values in
125 // chrome, except for the cases where it would require lots of extra work for 130 // chrome, except for the cases where it would require lots of extra work for
126 // the embedder to use the same default value. 131 // the embedder to use the same default value.
127 WebPreferences(); 132 WebPreferences();
128 ~WebPreferences(); 133 ~WebPreferences();
129 134
130 void Apply(WebKit::WebView* web_view) const; 135 void Apply(WebKit::WebView* web_view) const;
131 }; 136 };
132 137
133 } // namespace webkit_glue 138 } // namespace webkit_glue
134 139
135 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ 140 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698