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

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

Issue 9255018: Add a per-tab preference to match WebSettings::images_enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/common/view_messages.h ('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) 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 int default_font_size; 42 int default_font_size;
43 int default_fixed_font_size; 43 int default_fixed_font_size;
44 int minimum_font_size; 44 int minimum_font_size;
45 int minimum_logical_font_size; 45 int minimum_logical_font_size;
46 std::string default_encoding; 46 std::string default_encoding;
47 bool javascript_enabled; 47 bool javascript_enabled;
48 bool dart_enabled; 48 bool dart_enabled;
49 bool web_security_enabled; 49 bool web_security_enabled;
50 bool javascript_can_open_windows_automatically; 50 bool javascript_can_open_windows_automatically;
51 bool loads_images_automatically; 51 bool loads_images_automatically;
52 bool images_enabled;
52 bool plugins_enabled; 53 bool plugins_enabled;
53 bool dom_paste_enabled; 54 bool dom_paste_enabled;
54 bool developer_extras_enabled; 55 bool developer_extras_enabled;
55 typedef std::vector<std::pair<std::string, std::string> > 56 typedef std::vector<std::pair<std::string, std::string> >
56 WebInspectorPreferences; 57 WebInspectorPreferences;
57 WebInspectorPreferences inspector_settings; 58 WebInspectorPreferences inspector_settings;
58 bool site_specific_quirks_enabled; 59 bool site_specific_quirks_enabled;
59 bool shrinks_standalone_images_to_fit; 60 bool shrinks_standalone_images_to_fit;
60 bool uses_universal_detector; 61 bool uses_universal_detector;
61 bool text_areas_are_resizable; 62 bool text_areas_are_resizable;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // We try to keep the default values the same as the default values in 118 // We try to keep the default values the same as the default values in
118 // chrome, except for the cases where it would require lots of extra work for 119 // chrome, except for the cases where it would require lots of extra work for
119 // the embedder to use the same default value. 120 // the embedder to use the same default value.
120 WebPreferences(); 121 WebPreferences();
121 ~WebPreferences(); 122 ~WebPreferences();
122 123
123 void Apply(WebKit::WebView* web_view) const; 124 void Apply(WebKit::WebView* web_view) const;
124 }; 125 };
125 126
126 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ 127 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | webkit/glue/webpreferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698