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

Side by Side Diff: components/html_viewer/web_preferences.h

Issue 1415513002: Remove plumbing for inert-visual-viewport flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef COMPONENTS_HTML_VIEWER_WEB_PREFERENCES_H_ 5 #ifndef COMPONENTS_HTML_VIEWER_WEB_PREFERENCES_H_
6 #define COMPONENTS_HTML_VIEWER_WEB_PREFERENCES_H_ 6 #define COMPONENTS_HTML_VIEWER_WEB_PREFERENCES_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 bool viewport_meta_enabled; 162 bool viewport_meta_enabled;
163 bool main_frame_resizes_are_orientation_changes; 163 bool main_frame_resizes_are_orientation_changes;
164 bool initialize_at_minimum_page_scale; 164 bool initialize_at_minimum_page_scale;
165 bool smart_insert_delete_enabled; 165 bool smart_insert_delete_enabled;
166 bool spatial_navigation_enabled; 166 bool spatial_navigation_enabled;
167 int pinch_overlay_scrollbar_thickness; 167 int pinch_overlay_scrollbar_thickness;
168 bool use_solid_color_scrollbars; 168 bool use_solid_color_scrollbars;
169 bool navigate_on_drag_drop; 169 bool navigate_on_drag_drop;
170 V8CacheOptions v8_cache_options; 170 V8CacheOptions v8_cache_options;
171 bool slimming_paint_v2_enabled; 171 bool slimming_paint_v2_enabled;
172 bool inert_visual_viewport;
173 172
174 // This flags corresponds to a Page's Settings' setCookieEnabled state. It 173 // This flags corresponds to a Page's Settings' setCookieEnabled state. It
175 // only controls whether or not the "document.cookie" field is properly 174 // only controls whether or not the "document.cookie" field is properly
176 // connected to the backing store, for instance if you wanted to be able to 175 // connected to the backing store, for instance if you wanted to be able to
177 // define custom getters and setters from within a unique security content 176 // define custom getters and setters from within a unique security content
178 // without raising a DOM security exception. 177 // without raising a DOM security exception.
179 bool cookie_enabled; 178 bool cookie_enabled;
180 179
181 // This flag indicates whether H/W accelerated video decode is enabled for 180 // This flag indicates whether H/W accelerated video decode is enabled for
182 // pepper plugins. Defaults to false. 181 // pepper plugins. Defaults to false.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 // We try to keep the default values the same as the default values in 217 // We try to keep the default values the same as the default values in
219 // chrome, except for the cases where it would require lots of extra work for 218 // chrome, except for the cases where it would require lots of extra work for
220 // the embedder to use the same default value. 219 // the embedder to use the same default value.
221 WebPreferences(); 220 WebPreferences();
222 ~WebPreferences(); 221 ~WebPreferences();
223 }; 222 };
224 223
225 } // namespace html_viewer 224 } // namespace html_viewer
226 225
227 #endif // COMPONENTS_HTML_VIEWER_WEB_PREFERENCES_H_ 226 #endif // COMPONENTS_HTML_VIEWER_WEB_PREFERENCES_H_
OLDNEW
« no previous file with comments | « components/html_viewer/blink_settings_impl.cc ('k') | components/html_viewer/web_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698