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

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

Issue 2216073002: Color: Add ColorCorrectRendering flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@decoder_profile
Patch Set: Rebase Created 4 years, 4 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 touch_enabled(false), 132 touch_enabled(false),
133 device_supports_touch(false), 133 device_supports_touch(false),
134 device_supports_mouse(true), 134 device_supports_mouse(true),
135 touch_adjustment_enabled(true), 135 touch_adjustment_enabled(true),
136 pointer_events_max_touch_points(0), 136 pointer_events_max_touch_points(0),
137 available_pointer_types(0), 137 available_pointer_types(0),
138 primary_pointer_type(ui::POINTER_TYPE_NONE), 138 primary_pointer_type(ui::POINTER_TYPE_NONE),
139 available_hover_types(0), 139 available_hover_types(0),
140 primary_hover_type(ui::HOVER_TYPE_NONE), 140 primary_hover_type(ui::HOVER_TYPE_NONE),
141 sync_xhr_in_documents_enabled(true), 141 sync_xhr_in_documents_enabled(true),
142 image_color_profiles_enabled(false),
143 should_respect_image_orientation(false), 142 should_respect_image_orientation(false),
144 number_of_cpu_cores(1), 143 number_of_cpu_cores(1),
145 #if defined(OS_MACOSX) 144 #if defined(OS_MACOSX)
146 editing_behavior(EDITING_BEHAVIOR_MAC), 145 editing_behavior(EDITING_BEHAVIOR_MAC),
147 #elif defined(OS_WIN) 146 #elif defined(OS_WIN)
148 editing_behavior(EDITING_BEHAVIOR_WIN), 147 editing_behavior(EDITING_BEHAVIOR_WIN),
149 #elif defined(OS_ANDROID) 148 #elif defined(OS_ANDROID)
150 editing_behavior(EDITING_BEHAVIOR_ANDROID), 149 editing_behavior(EDITING_BEHAVIOR_ANDROID),
151 #elif defined(OS_POSIX) 150 #elif defined(OS_POSIX)
152 editing_behavior(EDITING_BEHAVIOR_UNIX), 151 editing_behavior(EDITING_BEHAVIOR_UNIX),
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 pictograph_font_family_map[kCommonScript] = 229 pictograph_font_family_map[kCommonScript] =
231 base::ASCIIToUTF16("Times New Roman"); 230 base::ASCIIToUTF16("Times New Roman");
232 } 231 }
233 232
234 WebPreferences::WebPreferences(const WebPreferences& other) = default; 233 WebPreferences::WebPreferences(const WebPreferences& other) = default;
235 234
236 WebPreferences::~WebPreferences() { 235 WebPreferences::~WebPreferences() {
237 } 236 }
238 237
239 } // namespace content 238 } // 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