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

Side by Side Diff: content/public/common/web_preferences.h

Issue 2773403003: Removed device_supports_touch. (Closed)
Patch Set: Preserved old touch-flag behavior. Created 3 years, 8 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
6 #define CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 6 #define CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 // TODO(jww): Remove when WebView no longer needs this exception. 153 // TODO(jww): Remove when WebView no longer needs this exception.
154 bool allow_geolocation_on_insecure_origins; 154 bool allow_geolocation_on_insecure_origins;
155 // Disallow user opt-in for blockable mixed content. 155 // Disallow user opt-in for blockable mixed content.
156 bool strictly_block_blockable_mixed_content; 156 bool strictly_block_blockable_mixed_content;
157 bool block_mixed_plugin_content; 157 bool block_mixed_plugin_content;
158 bool password_echo_enabled; 158 bool password_echo_enabled;
159 bool should_print_backgrounds; 159 bool should_print_backgrounds;
160 bool should_clear_document_background; 160 bool should_clear_document_background;
161 bool enable_scroll_animator; 161 bool enable_scroll_animator;
162 bool touch_event_feature_detection_enabled; 162 bool touch_event_feature_detection_enabled;
163 // TODO(mustaq): Nuke when the new API is ready
164 bool device_supports_touch;
165 bool touch_adjustment_enabled; 163 bool touch_adjustment_enabled;
166 int pointer_events_max_touch_points; 164 int pointer_events_max_touch_points;
167 int available_pointer_types; 165 int available_pointer_types;
168 ui::PointerType primary_pointer_type; 166 ui::PointerType primary_pointer_type;
169 int available_hover_types; 167 int available_hover_types;
170 ui::HoverType primary_hover_type; 168 ui::HoverType primary_hover_type;
171 bool sync_xhr_in_documents_enabled; 169 bool sync_xhr_in_documents_enabled;
172 bool color_correct_rendering_enabled = false; 170 bool color_correct_rendering_enabled = false;
173 bool color_correct_rendering_default_mode_enabled = false; 171 bool color_correct_rendering_default_mode_enabled = false;
174 bool should_respect_image_orientation; 172 bool should_respect_image_orientation;
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 // chrome, except for the cases where it would require lots of extra work for 291 // chrome, except for the cases where it would require lots of extra work for
294 // the embedder to use the same default value. 292 // the embedder to use the same default value.
295 WebPreferences(); 293 WebPreferences();
296 WebPreferences(const WebPreferences& other); 294 WebPreferences(const WebPreferences& other);
297 ~WebPreferences(); 295 ~WebPreferences();
298 }; 296 };
299 297
300 } // namespace content 298 } // namespace content
301 299
302 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 300 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
OLDNEW
« no previous file with comments | « content/public/common/common_param_traits_macros.h ('k') | content/public/common/web_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698