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

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

Issue 399953004: Remove flag to disable cc touch hit testing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 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/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/strings/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "third_party/WebKit/public/web/WebSettings.h" 10 #include "third_party/WebKit/public/web/WebSettings.h"
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 initialize_at_minimum_page_scale(true), 120 initialize_at_minimum_page_scale(true),
121 #if defined(OS_MACOSX) 121 #if defined(OS_MACOSX)
122 smart_insert_delete_enabled(true), 122 smart_insert_delete_enabled(true),
123 #else 123 #else
124 smart_insert_delete_enabled(false), 124 smart_insert_delete_enabled(false),
125 #endif 125 #endif
126 spatial_navigation_enabled(false), 126 spatial_navigation_enabled(false),
127 pinch_virtual_viewport_enabled(false), 127 pinch_virtual_viewport_enabled(false),
128 pinch_overlay_scrollbar_thickness(0), 128 pinch_overlay_scrollbar_thickness(0),
129 use_solid_color_scrollbars(false), 129 use_solid_color_scrollbars(false),
130 compositor_touch_hit_testing(true),
131 navigate_on_drag_drop(true), 130 navigate_on_drag_drop(true),
132 cookie_enabled(true), 131 cookie_enabled(true),
133 pepper_accelerated_video_decode_enabled(false) 132 pepper_accelerated_video_decode_enabled(false)
134 #if defined(OS_ANDROID) 133 #if defined(OS_ANDROID)
135 , 134 ,
136 text_autosizing_enabled(true), 135 text_autosizing_enabled(true),
137 font_scale_factor(1.0f), 136 font_scale_factor(1.0f),
138 device_scale_adjustment(1.0f), 137 device_scale_adjustment(1.0f),
139 force_enable_zoom(false), 138 force_enable_zoom(false),
140 disallow_fullscreen_for_non_media_elements(false), 139 disallow_fullscreen_for_non_media_elements(false),
(...skipping 20 matching lines...) Expand all
161 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); 160 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script");
162 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); 161 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact");
163 pictograph_font_family_map[kCommonScript] = 162 pictograph_font_family_map[kCommonScript] =
164 base::ASCIIToUTF16("Times New Roman"); 163 base::ASCIIToUTF16("Times New Roman");
165 } 164 }
166 165
167 WebPreferences::~WebPreferences() { 166 WebPreferences::~WebPreferences() {
168 } 167 }
169 168
170 } // namespace content 169 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/web_preferences.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698