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

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

Issue 1660193007: [Presentation API] Adding a flag to disable gesture check for starting presentations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed philipj@'s comment Created 4 years, 10 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
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/public/common/web_preferences.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 // define custom getters and setters from within a unique security content 182 // define custom getters and setters from within a unique security content
183 // without raising a DOM security exception. 183 // without raising a DOM security exception.
184 bool cookie_enabled; 184 bool cookie_enabled;
185 185
186 // This flag indicates whether H/W accelerated video decode is enabled for 186 // This flag indicates whether H/W accelerated video decode is enabled for
187 // pepper plugins. Defaults to false. 187 // pepper plugins. Defaults to false.
188 bool pepper_accelerated_video_decode_enabled; 188 bool pepper_accelerated_video_decode_enabled;
189 189
190 ImageAnimationPolicy animation_policy; 190 ImageAnimationPolicy animation_policy;
191 191
192 bool user_gesture_required_for_presentation;
193
192 #if defined(OS_ANDROID) 194 #if defined(OS_ANDROID)
193 bool text_autosizing_enabled; 195 bool text_autosizing_enabled;
194 float font_scale_factor; 196 float font_scale_factor;
195 float device_scale_adjustment; 197 float device_scale_adjustment;
196 bool force_enable_zoom; 198 bool force_enable_zoom;
197 bool fullscreen_supported; 199 bool fullscreen_supported;
198 bool double_tap_to_zoom_enabled; 200 bool double_tap_to_zoom_enabled;
199 bool user_gesture_required_for_media_playback; 201 bool user_gesture_required_for_media_playback;
200 GURL default_video_poster_url; 202 GURL default_video_poster_url;
201 bool support_deprecated_target_density_dpi; 203 bool support_deprecated_target_density_dpi;
(...skipping 21 matching lines...) Expand all
223 // We try to keep the default values the same as the default values in 225 // We try to keep the default values the same as the default values in
224 // chrome, except for the cases where it would require lots of extra work for 226 // chrome, except for the cases where it would require lots of extra work for
225 // the embedder to use the same default value. 227 // the embedder to use the same default value.
226 WebPreferences(); 228 WebPreferences();
227 ~WebPreferences(); 229 ~WebPreferences();
228 }; 230 };
229 231
230 } // namespace content 232 } // namespace content
231 233
232 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 234 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
OLDNEW
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/public/common/web_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698