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

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

Issue 6581004: Add command line switches and about:flag to enable FPS indicator and compositor layer tree. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 bool user_style_sheet_enabled; 63 bool user_style_sheet_enabled;
64 GURL user_style_sheet_location; 64 GURL user_style_sheet_location;
65 bool author_and_user_styles_enabled; 65 bool author_and_user_styles_enabled;
66 bool frame_flattening_enabled; 66 bool frame_flattening_enabled;
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;
74 bool show_fps_counter;
73 bool accelerated_compositing_enabled; 75 bool accelerated_compositing_enabled;
74 bool accelerated_layers_enabled; 76 bool accelerated_layers_enabled;
75 bool accelerated_video_enabled; 77 bool accelerated_video_enabled;
76 bool accelerated_2d_canvas_enabled; 78 bool accelerated_2d_canvas_enabled;
77 bool accelerated_plugins_enabled; 79 bool accelerated_plugins_enabled;
78 bool memory_info_enabled; 80 bool memory_info_enabled;
79 bool interactive_form_validation_enabled; 81 bool interactive_form_validation_enabled;
80 82
81 // We try to keep the default values the same as the default values in 83 // We try to keep the default values the same as the default values in
82 // chrome, except for the cases where it would require lots of extra work for 84 // chrome, except for the cases where it would require lots of extra work for
83 // the embedder to use the same default value. 85 // the embedder to use the same default value.
84 WebPreferences(); 86 WebPreferences();
85 ~WebPreferences(); 87 ~WebPreferences();
86 88
87 void Apply(WebKit::WebView* web_view) const; 89 void Apply(WebKit::WebView* web_view) const;
88 }; 90 };
89 91
90 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ 92 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698