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.h

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/content_switches.cc ('k') | content/public/common/web_preferences.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 #ifndef CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
6 #define CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 6 #define CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 bool device_supports_touch; 165 bool device_supports_touch;
166 // TODO(mustaq): Nuke when the new API is ready 166 // TODO(mustaq): Nuke when the new API is ready
167 bool device_supports_mouse; 167 bool device_supports_mouse;
168 bool touch_adjustment_enabled; 168 bool touch_adjustment_enabled;
169 int pointer_events_max_touch_points; 169 int pointer_events_max_touch_points;
170 int available_pointer_types; 170 int available_pointer_types;
171 ui::PointerType primary_pointer_type; 171 ui::PointerType primary_pointer_type;
172 int available_hover_types; 172 int available_hover_types;
173 ui::HoverType primary_hover_type; 173 ui::HoverType primary_hover_type;
174 bool sync_xhr_in_documents_enabled; 174 bool sync_xhr_in_documents_enabled;
175 bool image_color_profiles_enabled; 175 bool color_correct_rendering_enabled = false;
176 bool should_respect_image_orientation; 176 bool should_respect_image_orientation;
177 int number_of_cpu_cores; 177 int number_of_cpu_cores;
178 EditingBehavior editing_behavior; 178 EditingBehavior editing_behavior;
179 bool supports_multiple_windows; 179 bool supports_multiple_windows;
180 bool viewport_enabled; 180 bool viewport_enabled;
181 bool viewport_meta_enabled; 181 bool viewport_meta_enabled;
182 bool shrinks_viewport_contents_to_fit; 182 bool shrinks_viewport_contents_to_fit;
183 ViewportStyle viewport_style; 183 ViewportStyle viewport_style;
184 bool always_show_context_menu_on_touch; 184 bool always_show_context_menu_on_touch;
185 bool main_frame_resizes_are_orientation_changes; 185 bool main_frame_resizes_are_orientation_changes;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 // chrome, except for the cases where it would require lots of extra work for 255 // chrome, except for the cases where it would require lots of extra work for
256 // the embedder to use the same default value. 256 // the embedder to use the same default value.
257 WebPreferences(); 257 WebPreferences();
258 WebPreferences(const WebPreferences& other); 258 WebPreferences(const WebPreferences& other);
259 ~WebPreferences(); 259 ~WebPreferences();
260 }; 260 };
261 261
262 } // namespace content 262 } // namespace content
263 263
264 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 264 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
OLDNEW
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/public/common/web_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698