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

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

Issue 6726005: Added a command-line flag to enable h/w accelerated rendering of content layers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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) 2011 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
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 force_compositing_mode;
78 bool composite_to_texture_enabled; 78 bool composite_to_texture_enabled;
79 bool accelerated_layers_enabled; 79 bool accelerated_layers_enabled;
80 bool accelerated_video_enabled; 80 bool accelerated_video_enabled;
81 bool accelerated_2d_canvas_enabled; 81 bool accelerated_2d_canvas_enabled;
82 bool accelerated_drawing_enabled;
82 bool accelerated_plugins_enabled; 83 bool accelerated_plugins_enabled;
83 bool memory_info_enabled; 84 bool memory_info_enabled;
84 bool interactive_form_validation_enabled; 85 bool interactive_form_validation_enabled;
85 bool fullscreen_enabled; 86 bool fullscreen_enabled;
86 87
87 // We try to keep the default values the same as the default values in 88 // We try to keep the default values the same as the default values in
88 // chrome, except for the cases where it would require lots of extra work for 89 // chrome, except for the cases where it would require lots of extra work for
89 // the embedder to use the same default value. 90 // the embedder to use the same default value.
90 WebPreferences(); 91 WebPreferences();
91 ~WebPreferences(); 92 ~WebPreferences();
92 93
93 void Apply(WebKit::WebView* web_view) const; 94 void Apply(WebKit::WebView* web_view) const;
94 }; 95 };
95 96
96 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ 97 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698