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

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

Issue 126993002: Switch from CommandLine switch to WebPreferences to control Pepper 3D. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix a bug jamesr pointed out Created 6 years, 11 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 | « content/renderer/pepper/ppb_graphics_3d_impl.cc ('k') | webkit/common/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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // blink::WebSettings, content/common/view_messages.h, browser/tab_contents/ 8 // blink::WebSettings, content/common/view_messages.h, 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 bool databases_enabled; 88 bool databases_enabled;
89 bool application_cache_enabled; 89 bool application_cache_enabled;
90 bool tabs_to_links; 90 bool tabs_to_links;
91 bool caret_browsing_enabled; 91 bool caret_browsing_enabled;
92 bool hyperlink_auditing_enabled; 92 bool hyperlink_auditing_enabled;
93 bool is_online; 93 bool is_online;
94 bool allow_universal_access_from_file_urls; 94 bool allow_universal_access_from_file_urls;
95 bool allow_file_access_from_file_urls; 95 bool allow_file_access_from_file_urls;
96 bool webaudio_enabled; 96 bool webaudio_enabled;
97 bool experimental_webgl_enabled; 97 bool experimental_webgl_enabled;
98 bool pepper_3d_enabled;
98 bool flash_3d_enabled; 99 bool flash_3d_enabled;
99 bool flash_stage3d_enabled; 100 bool flash_stage3d_enabled;
100 bool flash_stage3d_baseline_enabled; 101 bool flash_stage3d_baseline_enabled;
101 bool gl_multisampling_enabled; 102 bool gl_multisampling_enabled;
102 bool privileged_webgl_extensions_enabled; 103 bool privileged_webgl_extensions_enabled;
103 bool webgl_errors_to_console_enabled; 104 bool webgl_errors_to_console_enabled;
104 bool accelerated_compositing_for_overflow_scroll_enabled; 105 bool accelerated_compositing_for_overflow_scroll_enabled;
105 bool universal_accelerated_compositing_for_overflow_scroll_enabled; 106 bool universal_accelerated_compositing_for_overflow_scroll_enabled;
106 bool accelerated_compositing_for_scrollable_frames_enabled; 107 bool accelerated_compositing_for_scrollable_frames_enabled;
107 bool composited_scrolling_for_frames_enabled; 108 bool composited_scrolling_for_frames_enabled;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 #endif 190 #endif
190 191
191 // We try to keep the default values the same as the default values in 192 // We try to keep the default values the same as the default values in
192 // chrome, except for the cases where it would require lots of extra work for 193 // chrome, except for the cases where it would require lots of extra work for
193 // the embedder to use the same default value. 194 // the embedder to use the same default value.
194 WebPreferences(); 195 WebPreferences();
195 ~WebPreferences(); 196 ~WebPreferences();
196 }; 197 };
197 198
198 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ 199 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__
OLDNEW
« no previous file with comments | « content/renderer/pepper/ppb_graphics_3d_impl.cc ('k') | webkit/common/webpreferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698