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

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

Issue 547373002: Add a command line option and a Finch experiment for script streaming. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 smart_insert_delete_enabled(true), 129 smart_insert_delete_enabled(true),
130 #else 130 #else
131 smart_insert_delete_enabled(false), 131 smart_insert_delete_enabled(false),
132 #endif 132 #endif
133 spatial_navigation_enabled(false), 133 spatial_navigation_enabled(false),
134 pinch_virtual_viewport_enabled(false), 134 pinch_virtual_viewport_enabled(false),
135 pinch_overlay_scrollbar_thickness(0), 135 pinch_overlay_scrollbar_thickness(0),
136 use_solid_color_scrollbars(false), 136 use_solid_color_scrollbars(false),
137 navigate_on_drag_drop(true), 137 navigate_on_drag_drop(true),
138 v8_cache_options(V8_CACHE_OPTIONS_OFF), 138 v8_cache_options(V8_CACHE_OPTIONS_OFF),
139 v8_script_streaming_enabled(false),
139 cookie_enabled(true), 140 cookie_enabled(true),
140 pepper_accelerated_video_decode_enabled(false) 141 pepper_accelerated_video_decode_enabled(false)
141 #if defined(OS_ANDROID) 142 #if defined(OS_ANDROID)
142 , 143 ,
143 text_autosizing_enabled(true), 144 text_autosizing_enabled(true),
144 font_scale_factor(1.0f), 145 font_scale_factor(1.0f),
145 device_scale_adjustment(1.0f), 146 device_scale_adjustment(1.0f),
146 force_enable_zoom(false), 147 force_enable_zoom(false),
147 disallow_fullscreen_for_non_media_elements(false), 148 disallow_fullscreen_for_non_media_elements(false),
148 fullscreen_supported(true), 149 fullscreen_supported(true),
(...skipping 21 matching lines...) Expand all
170 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); 171 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script");
171 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); 172 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact");
172 pictograph_font_family_map[kCommonScript] = 173 pictograph_font_family_map[kCommonScript] =
173 base::ASCIIToUTF16("Times New Roman"); 174 base::ASCIIToUTF16("Times New Roman");
174 } 175 }
175 176
176 WebPreferences::~WebPreferences() { 177 WebPreferences::~WebPreferences() {
177 } 178 }
178 179
179 } // namespace content 180 } // 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