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

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

Issue 2943983003: chrome/blink: Add functionality for in-product help for media elements. (Closed)
Patch Set: mounir's comments. Created 3 years, 5 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 // not explicitly specified. 246 // not explicitly specified.
247 bool spellcheck_enabled_by_default; 247 bool spellcheck_enabled_by_default;
248 // If enabled, when a video goes fullscreen, the orientation should be locked. 248 // If enabled, when a video goes fullscreen, the orientation should be locked.
249 bool video_fullscreen_orientation_lock_enabled; 249 bool video_fullscreen_orientation_lock_enabled;
250 // If enabled, fullscreen should be entered/exited when the device is rotated 250 // If enabled, fullscreen should be entered/exited when the device is rotated
251 // to/from the orientation of the video. 251 // to/from the orientation of the video.
252 bool video_rotate_to_fullscreen_enabled; 252 bool video_rotate_to_fullscreen_enabled;
253 // If enabled, video fullscreen detection will be enabled. 253 // If enabled, video fullscreen detection will be enabled.
254 bool video_fullscreen_detection_enabled; 254 bool video_fullscreen_detection_enabled;
255 bool embedded_media_experience_enabled; 255 bool embedded_media_experience_enabled;
256 bool enable_media_download_in_product_help;
256 #else // defined(OS_ANDROID) 257 #else // defined(OS_ANDROID)
257 #endif // defined(OS_ANDROID) 258 #endif // defined(OS_ANDROID)
258 259
259 // Default (used if the page or UA doesn't override these) values for page 260 // Default (used if the page or UA doesn't override these) values for page
260 // scale limits. These are set directly on the WebView so there's no analogue 261 // scale limits. These are set directly on the WebView so there's no analogue
261 // in WebSettings. 262 // in WebSettings.
262 float default_minimum_page_scale_factor; 263 float default_minimum_page_scale_factor;
263 float default_maximum_page_scale_factor; 264 float default_maximum_page_scale_factor;
264 265
265 // Whether download UI should be hidden on this page. 266 // Whether download UI should be hidden on this page.
(...skipping 21 matching lines...) Expand all
287 // chrome, except for the cases where it would require lots of extra work for 288 // chrome, except for the cases where it would require lots of extra work for
288 // the embedder to use the same default value. 289 // the embedder to use the same default value.
289 WebPreferences(); 290 WebPreferences();
290 WebPreferences(const WebPreferences& other); 291 WebPreferences(const WebPreferences& other);
291 ~WebPreferences(); 292 ~WebPreferences();
292 }; 293 };
293 294
294 } // namespace content 295 } // namespace content
295 296
296 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 297 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698