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

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

Issue 10916279: Chromium compositor change implementing page-scale driven pinch-zoom. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Rebaselined to 160422. Created 8 years, 2 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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, content/common/view_messages.h, browser/tab_contents/ 8 // WebKit::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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 bool sync_xhr_in_documents_enabled; 139 bool sync_xhr_in_documents_enabled;
140 int number_of_cpu_cores; 140 int number_of_cpu_cores;
141 141
142 // This flags corresponds to a Page's Settings' setCookieEnabled state. It 142 // This flags corresponds to a Page's Settings' setCookieEnabled state. It
143 // only controls whether or not the "document.cookie" field is properly 143 // only controls whether or not the "document.cookie" field is properly
144 // connected to the backing store, for instance if you wanted to be able to 144 // connected to the backing store, for instance if you wanted to be able to
145 // define custom getters and setters from within a unique security content 145 // define custom getters and setters from within a unique security content
146 // without raising a DOM security exception. 146 // without raising a DOM security exception.
147 bool cookie_enabled; 147 bool cookie_enabled;
148 148
149 bool apply_page_scale_factor_in_compositor;
150
149 // We try to keep the default values the same as the default values in 151 // We try to keep the default values the same as the default values in
150 // chrome, except for the cases where it would require lots of extra work for 152 // chrome, except for the cases where it would require lots of extra work for
151 // the embedder to use the same default value. 153 // the embedder to use the same default value.
152 WebPreferences(); 154 WebPreferences();
153 ~WebPreferences(); 155 ~WebPreferences();
154 156
155 void Apply(WebKit::WebView* web_view) const; 157 void Apply(WebKit::WebView* web_view) const;
156 }; 158 };
157 159
158 } // namespace webkit_glue 160 } // namespace webkit_glue
159 161
160 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ 162 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/web_compositor_support_impl.cc ('k') | webkit/glue/webpreferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698