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

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

Issue 2885033007: Disable color/date chooser in VR mode via WebPreferences (Closed)
Patch Set: added explanatory comment. Created 3 years, 7 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
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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 // not explicitly specified. 253 // not explicitly specified.
254 bool spellcheck_enabled_by_default; 254 bool spellcheck_enabled_by_default;
255 // If enabled, when a video goes fullscreen, the orientation should be locked. 255 // If enabled, when a video goes fullscreen, the orientation should be locked.
256 bool video_fullscreen_orientation_lock_enabled; 256 bool video_fullscreen_orientation_lock_enabled;
257 // If enabled, fullscreen should be entered/exited when the device is rotated 257 // If enabled, fullscreen should be entered/exited when the device is rotated
258 // to/from the orientation of the video. 258 // to/from the orientation of the video.
259 bool video_rotate_to_fullscreen_enabled; 259 bool video_rotate_to_fullscreen_enabled;
260 // If enabled, video fullscreen detection will be enabled. 260 // If enabled, video fullscreen detection will be enabled.
261 bool video_fullscreen_detection_enabled; 261 bool video_fullscreen_detection_enabled;
262 bool embedded_media_experience_enabled; 262 bool embedded_media_experience_enabled;
263 bool page_popups_suppressed;
263 #else // defined(OS_ANDROID) 264 #else // defined(OS_ANDROID)
264 #endif // defined(OS_ANDROID) 265 #endif // defined(OS_ANDROID)
265 266
266 // Default (used if the page or UA doesn't override these) values for page 267 // Default (used if the page or UA doesn't override these) values for page
267 // scale limits. These are set directly on the WebView so there's no analogue 268 // scale limits. These are set directly on the WebView so there's no analogue
268 // in WebSettings. 269 // in WebSettings.
269 float default_minimum_page_scale_factor; 270 float default_minimum_page_scale_factor;
270 float default_maximum_page_scale_factor; 271 float default_maximum_page_scale_factor;
271 272
272 // Whether download UI should be hidden on this page. 273 // Whether download UI should be hidden on this page.
(...skipping 29 matching lines...) Expand all
302 // chrome, except for the cases where it would require lots of extra work for 303 // chrome, except for the cases where it would require lots of extra work for
303 // the embedder to use the same default value. 304 // the embedder to use the same default value.
304 WebPreferences(); 305 WebPreferences();
305 WebPreferences(const WebPreferences& other); 306 WebPreferences(const WebPreferences& other);
306 ~WebPreferences(); 307 ~WebPreferences();
307 }; 308 };
308 309
309 } // namespace content 310 } // namespace content
310 311
311 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 312 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
OLDNEW
« no previous file with comments | « content/public/common/common_param_traits_macros.h ('k') | content/public/common/web_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698