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

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

Issue 6665057: add support for forcing compositing mode (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: updated license headers for copyright year Created 9 years, 9 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/render_messages.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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
11 #ifndef WEBKIT_GLUE_WEBPREFERENCES_H__ 11 #ifndef WEBKIT_GLUE_WEBPREFERENCES_H__
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 bool allow_universal_access_from_file_urls; 67 bool allow_universal_access_from_file_urls;
68 bool allow_file_access_from_file_urls; 68 bool allow_file_access_from_file_urls;
69 bool webaudio_enabled; 69 bool webaudio_enabled;
70 bool experimental_webgl_enabled; 70 bool experimental_webgl_enabled;
71 bool gl_multisampling_enabled; 71 bool gl_multisampling_enabled;
72 bool show_composited_layer_borders; 72 bool show_composited_layer_borders;
73 bool show_composited_layer_tree; 73 bool show_composited_layer_tree;
74 bool show_fps_counter; 74 bool show_fps_counter;
75 bool asynchronous_spell_checking_enabled; 75 bool asynchronous_spell_checking_enabled;
76 bool accelerated_compositing_enabled; 76 bool accelerated_compositing_enabled;
77 bool force_compositing_mode;
77 bool composite_to_texture_enabled; 78 bool composite_to_texture_enabled;
78 bool accelerated_layers_enabled; 79 bool accelerated_layers_enabled;
79 bool accelerated_video_enabled; 80 bool accelerated_video_enabled;
80 bool accelerated_2d_canvas_enabled; 81 bool accelerated_2d_canvas_enabled;
81 bool accelerated_plugins_enabled; 82 bool accelerated_plugins_enabled;
82 bool memory_info_enabled; 83 bool memory_info_enabled;
83 bool interactive_form_validation_enabled; 84 bool interactive_form_validation_enabled;
84 bool fullscreen_enabled; 85 bool fullscreen_enabled;
85 86
86 // We try to keep the default values the same as the default values in 87 // We try to keep the default values the same as the default values in
87 // chrome, except for the cases where it would require lots of extra work for 88 // chrome, except for the cases where it would require lots of extra work for
88 // the embedder to use the same default value. 89 // the embedder to use the same default value.
89 WebPreferences(); 90 WebPreferences();
90 ~WebPreferences(); 91 ~WebPreferences();
91 92
92 void Apply(WebKit::WebView* web_view) const; 93 void Apply(WebKit::WebView* web_view) const;
93 }; 94 };
94 95
95 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ 96 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__
OLDNEW
« no previous file with comments | « chrome/common/render_messages.cc ('k') | webkit/glue/webpreferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698