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

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: .. Created 3 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
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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 bool video_fullscreen_orientation_lock_enabled; 248 bool video_fullscreen_orientation_lock_enabled;
249 // If enabled, fullscreen should be entered/exited when the device is rotated 249 // If enabled, fullscreen should be entered/exited when the device is rotated
250 // to/from the orientation of the video. 250 // to/from the orientation of the video.
251 bool video_rotate_to_fullscreen_enabled; 251 bool video_rotate_to_fullscreen_enabled;
252 // If enabled, video fullscreen detection will be enabled. 252 // If enabled, video fullscreen detection will be enabled.
253 bool video_fullscreen_detection_enabled; 253 bool video_fullscreen_detection_enabled;
254 bool embedded_media_experience_enabled; 254 bool embedded_media_experience_enabled;
255 // Enable 8 (#RRGGBBAA) and 4 (#RGBA) value hex colors in CSS Android 255 // Enable 8 (#RRGGBBAA) and 4 (#RGBA) value hex colors in CSS Android
256 // WebView quirk (http://crbug.com/618472). 256 // WebView quirk (http://crbug.com/618472).
257 bool css_hex_alpha_color_enabled; 257 bool css_hex_alpha_color_enabled;
258 bool enable_media_download_in_product_help;
258 #else // defined(OS_ANDROID) 259 #else // defined(OS_ANDROID)
259 #endif // defined(OS_ANDROID) 260 #endif // defined(OS_ANDROID)
260 261
261 // Default (used if the page or UA doesn't override these) values for page 262 // Default (used if the page or UA doesn't override these) values for page
262 // scale limits. These are set directly on the WebView so there's no analogue 263 // scale limits. These are set directly on the WebView so there's no analogue
263 // in WebSettings. 264 // in WebSettings.
264 float default_minimum_page_scale_factor; 265 float default_minimum_page_scale_factor;
265 float default_maximum_page_scale_factor; 266 float default_maximum_page_scale_factor;
266 267
267 // Whether download UI should be hidden on this page. 268 // Whether download UI should be hidden on this page.
(...skipping 21 matching lines...) Expand all
289 // chrome, except for the cases where it would require lots of extra work for 290 // chrome, except for the cases where it would require lots of extra work for
290 // the embedder to use the same default value. 291 // the embedder to use the same default value.
291 WebPreferences(); 292 WebPreferences();
292 WebPreferences(const WebPreferences& other); 293 WebPreferences(const WebPreferences& other);
293 ~WebPreferences(); 294 ~WebPreferences();
294 }; 295 };
295 296
296 } // namespace content 297 } // namespace content
297 298
298 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 299 #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