| OLD | NEW |
| 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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 // |enable_instant_source_buffer_gc| flag controls whether the GC is done | 276 // |enable_instant_source_buffer_gc| flag controls whether the GC is done |
| 277 // immediately on memory pressure notification or during the next SourceBuffer | 277 // immediately on memory pressure notification or during the next SourceBuffer |
| 278 // append (slower, but is MSE-spec compliant). | 278 // append (slower, but is MSE-spec compliant). |
| 279 // TODO(servolk, asvitkine): Query the value directly when it is available in | 279 // TODO(servolk, asvitkine): Query the value directly when it is available in |
| 280 // the renderer process. See https://crbug.com/681160. | 280 // the renderer process. See https://crbug.com/681160. |
| 281 bool enable_instant_source_buffer_gc; | 281 bool enable_instant_source_buffer_gc; |
| 282 | 282 |
| 283 // Whether it is a presentation receiver. | 283 // Whether it is a presentation receiver. |
| 284 bool presentation_receiver; | 284 bool presentation_receiver; |
| 285 | 285 |
| 286 // If disabled, media controls should never be used. |
| 287 bool media_controls_enabled; |
| 288 |
| 286 // We try to keep the default values the same as the default values in | 289 // We try to keep the default values the same as the default values in |
| 287 // 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 |
| 288 // the embedder to use the same default value. | 291 // the embedder to use the same default value. |
| 289 WebPreferences(); | 292 WebPreferences(); |
| 290 WebPreferences(const WebPreferences& other); | 293 WebPreferences(const WebPreferences& other); |
| 291 ~WebPreferences(); | 294 ~WebPreferences(); |
| 292 }; | 295 }; |
| 293 | 296 |
| 294 } // namespace content | 297 } // namespace content |
| 295 | 298 |
| 296 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 299 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
| OLD | NEW |