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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
280 // TODO(servolk, asvitkine): Query the value directly when it is available in | 280 // TODO(servolk, asvitkine): Query the value directly when it is available in |
281 // the renderer process. See https://crbug.com/681160. | 281 // the renderer process. See https://crbug.com/681160. |
282 bool enable_instant_source_buffer_gc; | 282 bool enable_instant_source_buffer_gc; |
283 | 283 |
284 // Whether it is a presentation receiver. | 284 // Whether it is a presentation receiver. |
285 bool presentation_receiver; | 285 bool presentation_receiver; |
286 | 286 |
287 // If disabled, media controls should never be used. | 287 // If disabled, media controls should never be used. |
288 bool media_controls_enabled; | 288 bool media_controls_enabled; |
289 | 289 |
290 bool do_not_update_selection_on_mutating_selection_range; | |
Avi (use Gerrit)
2017/04/05 14:30:01
Needs a comment explaining what this does, why thi
Changwan Ryu
2017/04/05 17:29:37
Done.
| |
291 | |
290 // We try to keep the default values the same as the default values in | 292 // We try to keep the default values the same as the default values in |
291 // chrome, except for the cases where it would require lots of extra work for | 293 // chrome, except for the cases where it would require lots of extra work for |
292 // the embedder to use the same default value. | 294 // the embedder to use the same default value. |
293 WebPreferences(); | 295 WebPreferences(); |
294 WebPreferences(const WebPreferences& other); | 296 WebPreferences(const WebPreferences& other); |
295 ~WebPreferences(); | 297 ~WebPreferences(); |
296 }; | 298 }; |
297 | 299 |
298 } // namespace content | 300 } // namespace content |
299 | 301 |
300 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 302 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
OLD | NEW |