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

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: Fixes based on feedback 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
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 asynchronous_spell_checking_enabled; 75 bool asynchronous_spell_checking_enabled;
74 bool accelerated_compositing_enabled; 76 bool accelerated_compositing_enabled;
75 bool composite_to_texture_enabled; 77 bool composite_to_texture_enabled;
76 bool accelerated_layers_enabled; 78 bool accelerated_layers_enabled;
77 bool accelerated_video_enabled; 79 bool accelerated_video_enabled;
78 bool accelerated_2d_canvas_enabled; 80 bool accelerated_2d_canvas_enabled;
79 bool accelerated_plugins_enabled; 81 bool accelerated_plugins_enabled;
80 bool memory_info_enabled; 82 bool memory_info_enabled;
81 bool interactive_form_validation_enabled; 83 bool interactive_form_validation_enabled;
82 84
83 // We try to keep the default values the same as the default values in 85 // We try to keep the default values the same as the default values in
84 // chrome, except for the cases where it would require lots of extra work for 86 // chrome, except for the cases where it would require lots of extra work for
85 // the embedder to use the same default value. 87 // the embedder to use the same default value.
86 WebPreferences(); 88 WebPreferences();
87 ~WebPreferences(); 89 ~WebPreferences();
88 90
89 void Apply(WebKit::WebView* web_view) const; 91 void Apply(WebKit::WebView* web_view) const;
90 }; 92 };
91 93
92 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ 94 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698