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

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

Issue 425343002: [Android WebView] API to enable fullscreen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update AwContentsClientGetVideoLoadingProgressViewTest Created 6 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 | Annotate | Revision Log
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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 // This flag indicates whether H/W accelerated video decode is enabled for 151 // This flag indicates whether H/W accelerated video decode is enabled for
152 // pepper plugins. Defaults to false. 152 // pepper plugins. Defaults to false.
153 bool pepper_accelerated_video_decode_enabled; 153 bool pepper_accelerated_video_decode_enabled;
154 154
155 #if defined(OS_ANDROID) 155 #if defined(OS_ANDROID)
156 bool text_autosizing_enabled; 156 bool text_autosizing_enabled;
157 float font_scale_factor; 157 float font_scale_factor;
158 float device_scale_adjustment; 158 float device_scale_adjustment;
159 bool force_enable_zoom; 159 bool force_enable_zoom;
160 bool disallow_fullscreen_for_non_media_elements; 160 bool disallow_fullscreen_for_non_media_elements;
161 bool fullscreen_supported;
161 bool double_tap_to_zoom_enabled; 162 bool double_tap_to_zoom_enabled;
162 bool user_gesture_required_for_media_playback; 163 bool user_gesture_required_for_media_playback;
163 GURL default_video_poster_url; 164 GURL default_video_poster_url;
164 bool support_deprecated_target_density_dpi; 165 bool support_deprecated_target_density_dpi;
165 bool use_legacy_background_size_shorthand_behavior; 166 bool use_legacy_background_size_shorthand_behavior;
166 bool wide_viewport_quirk; 167 bool wide_viewport_quirk;
167 bool use_wide_viewport; 168 bool use_wide_viewport;
168 bool viewport_meta_layout_size_quirk; 169 bool viewport_meta_layout_size_quirk;
169 bool viewport_meta_merge_content_quirk; 170 bool viewport_meta_merge_content_quirk;
170 bool viewport_meta_non_user_scalable_quirk; 171 bool viewport_meta_non_user_scalable_quirk;
171 bool viewport_meta_zero_values_quirk; 172 bool viewport_meta_zero_values_quirk;
172 bool clobber_user_agent_initial_scale_quirk; 173 bool clobber_user_agent_initial_scale_quirk;
173 bool ignore_main_frame_overflow_hidden_quirk; 174 bool ignore_main_frame_overflow_hidden_quirk;
174 bool report_screen_size_in_physical_pixels_quirk; 175 bool report_screen_size_in_physical_pixels_quirk;
175 #endif 176 #endif
176 177
177 // We try to keep the default values the same as the default values in 178 // We try to keep the default values the same as the default values in
178 // chrome, except for the cases where it would require lots of extra work for 179 // chrome, except for the cases where it would require lots of extra work for
179 // the embedder to use the same default value. 180 // the embedder to use the same default value.
180 WebPreferences(); 181 WebPreferences();
181 ~WebPreferences(); 182 ~WebPreferences();
182 }; 183 };
183 184
184 } // namespace content 185 } // namespace content
185 186
186 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 187 #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