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

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

Issue 658683003: Add --enable-image-color-profiles command line switch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ~alpha-order. Created 6 years, 2 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 should_clear_document_background(true), 101 should_clear_document_background(true),
102 enable_scroll_animator(false), 102 enable_scroll_animator(false),
103 region_based_columns_enabled(false), 103 region_based_columns_enabled(false),
104 touch_enabled(false), 104 touch_enabled(false),
105 device_supports_touch(false), 105 device_supports_touch(false),
106 device_supports_mouse(true), 106 device_supports_mouse(true),
107 touch_adjustment_enabled(true), 107 touch_adjustment_enabled(true),
108 pointer_events_max_touch_points(0), 108 pointer_events_max_touch_points(0),
109 sync_xhr_in_documents_enabled(true), 109 sync_xhr_in_documents_enabled(true),
110 deferred_image_decoding_enabled(false), 110 deferred_image_decoding_enabled(false),
111 image_color_profiles_enabled(false),
111 should_respect_image_orientation(false), 112 should_respect_image_orientation(false),
112 number_of_cpu_cores(1), 113 number_of_cpu_cores(1),
113 #if defined(OS_MACOSX) 114 #if defined(OS_MACOSX)
114 editing_behavior(EDITING_BEHAVIOR_MAC), 115 editing_behavior(EDITING_BEHAVIOR_MAC),
115 #elif defined(OS_WIN) 116 #elif defined(OS_WIN)
116 editing_behavior(EDITING_BEHAVIOR_WIN), 117 editing_behavior(EDITING_BEHAVIOR_WIN),
117 #elif defined(OS_ANDROID) 118 #elif defined(OS_ANDROID)
118 editing_behavior(EDITING_BEHAVIOR_ANDROID), 119 editing_behavior(EDITING_BEHAVIOR_ANDROID),
119 #elif defined(OS_POSIX) 120 #elif defined(OS_POSIX)
120 editing_behavior(EDITING_BEHAVIOR_UNIX), 121 editing_behavior(EDITING_BEHAVIOR_UNIX),
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); 173 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script");
173 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); 174 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact");
174 pictograph_font_family_map[kCommonScript] = 175 pictograph_font_family_map[kCommonScript] =
175 base::ASCIIToUTF16("Times New Roman"); 176 base::ASCIIToUTF16("Times New Roman");
176 } 177 }
177 178
178 WebPreferences::~WebPreferences() { 179 WebPreferences::~WebPreferences() {
179 } 180 }
180 181
181 } // namespace content 182 } // 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