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

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

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
« no previous file with comments | « content/public/common/web_preferences.h ('k') | content/renderer/render_view_impl.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 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 #include "content/public/common/web_preferences.h" 5 #include "content/public/common/web_preferences.h"
6 6
7 #include "base/strings/string_util.h" 7 #include "base/strings/string_util.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "third_party/WebKit/public/web/WebSettings.h" 10 #include "third_party/WebKit/public/web/WebSettings.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 strict_mixed_content_checking(false), 122 strict_mixed_content_checking(false),
123 strict_powerful_feature_restrictions(false), 123 strict_powerful_feature_restrictions(false),
124 allow_geolocation_on_insecure_origins(false), 124 allow_geolocation_on_insecure_origins(false),
125 strictly_block_blockable_mixed_content(false), 125 strictly_block_blockable_mixed_content(false),
126 block_mixed_plugin_content(false), 126 block_mixed_plugin_content(false),
127 password_echo_enabled(false), 127 password_echo_enabled(false),
128 should_print_backgrounds(false), 128 should_print_backgrounds(false),
129 should_clear_document_background(true), 129 should_clear_document_background(true),
130 enable_scroll_animator(false), 130 enable_scroll_animator(false),
131 touch_event_feature_detection_enabled(false), 131 touch_event_feature_detection_enabled(false),
132 device_supports_touch(false),
133 touch_adjustment_enabled(true), 132 touch_adjustment_enabled(true),
134 pointer_events_max_touch_points(0), 133 pointer_events_max_touch_points(0),
135 available_pointer_types(0), 134 available_pointer_types(0),
136 primary_pointer_type(ui::POINTER_TYPE_NONE), 135 primary_pointer_type(ui::POINTER_TYPE_NONE),
137 available_hover_types(0), 136 available_hover_types(0),
138 primary_hover_type(ui::HOVER_TYPE_NONE), 137 primary_hover_type(ui::HOVER_TYPE_NONE),
139 sync_xhr_in_documents_enabled(true), 138 sync_xhr_in_documents_enabled(true),
140 should_respect_image_orientation(false), 139 should_respect_image_orientation(false),
141 number_of_cpu_cores(1), 140 number_of_cpu_cores(1),
142 #if defined(OS_MACOSX) 141 #if defined(OS_MACOSX)
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 pictograph_font_family_map[kCommonScript] = 240 pictograph_font_family_map[kCommonScript] =
242 base::ASCIIToUTF16("Times New Roman"); 241 base::ASCIIToUTF16("Times New Roman");
243 } 242 }
244 243
245 WebPreferences::WebPreferences(const WebPreferences& other) = default; 244 WebPreferences::WebPreferences(const WebPreferences& other) = default;
246 245
247 WebPreferences::~WebPreferences() { 246 WebPreferences::~WebPreferences() {
248 } 247 }
249 248
250 } // namespace content 249 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/web_preferences.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698