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

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

Issue 2800683003: Workaround for Samsung email issues (Closed)
Patch Set: Created 3 years, 8 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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 // TODO(servolk, asvitkine): Query the value directly when it is available in 283 // TODO(servolk, asvitkine): Query the value directly when it is available in
284 // the renderer process. See https://crbug.com/681160. 284 // the renderer process. See https://crbug.com/681160.
285 bool enable_instant_source_buffer_gc; 285 bool enable_instant_source_buffer_gc;
286 286
287 // Whether it is a presentation receiver. 287 // Whether it is a presentation receiver.
288 bool presentation_receiver; 288 bool presentation_receiver;
289 289
290 // If disabled, media controls should never be used. 290 // If disabled, media controls should never be used.
291 bool media_controls_enabled; 291 bool media_controls_enabled;
292 292
293 // Whether we want to disable updating selection on mutating selection range.
294 // This is to work around Samsung's email app issue. See
295 // https://crbug.com/699943 for details.
296 // TODO(changwan): remove this once we no longer support Android N.
297 bool do_not_update_selection_on_mutating_selection_range;
298
293 // We try to keep the default values the same as the default values in 299 // We try to keep the default values the same as the default values in
294 // chrome, except for the cases where it would require lots of extra work for 300 // chrome, except for the cases where it would require lots of extra work for
295 // the embedder to use the same default value. 301 // the embedder to use the same default value.
296 WebPreferences(); 302 WebPreferences();
297 WebPreferences(const WebPreferences& other); 303 WebPreferences(const WebPreferences& other);
298 ~WebPreferences(); 304 ~WebPreferences();
299 }; 305 };
300 306
301 } // namespace content 307 } // namespace content
302 308
303 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 309 #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