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

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

Issue 1025933002: Convert force video overlay to preference (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years, 9 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // A struct for managing browser's settings that apply to the renderer or its 5 // A struct for managing browser's settings that apply to the renderer or its
6 // webview. These differ from WebPreferences since they apply to Chromium's 6 // webview. These differ from WebPreferences since they apply to Chromium's
7 // glue layer rather than applying to just WebKit. 7 // glue layer rather than applying to just WebKit.
8 // 8 //
9 // Adding new values to this class probably involves updating 9 // Adding new values to this class probably involves updating
10 // common/view_messages.h, browser/browser.cc, etc. 10 // common/view_messages.h, browser/browser.cc, etc.
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 122
123 // Disables rendering default error page when client choses to block a page. 123 // Disables rendering default error page when client choses to block a page.
124 // Corresponds to net::ERR_BLOCKED_BY_CLIENT. 124 // Corresponds to net::ERR_BLOCKED_BY_CLIENT.
125 bool disable_client_blocked_error_page; 125 bool disable_client_blocked_error_page;
126 126
127 // Determines whether plugins are allowed to enter fullscreen mode. 127 // Determines whether plugins are allowed to enter fullscreen mode.
128 bool plugin_fullscreen_allowed; 128 bool plugin_fullscreen_allowed;
129 129
130 // Whether video-overlay (hole-punching) should be used for the embedded 130 // Whether video-overlay (hole-punching) should be used for the embedded
131 // encrypted video. Currently only used by Android. 131 // encrypted video. Currently only used by Android.
132 bool use_video_overlay_for_embedded_encrypted_video; 132 bool allow_video_overlay_for_embedded_encrypted_video;
no sievers 2015/03/23 18:42:11 nit: Why are you changing it from 'use' to 'allow'
boliu 2015/03/23 18:57:30 Hmm, I think at one point, I was going for "allow"
133
134 // Use video-overlay (hole-punching) should be used for all video, not just
135 // encrypted video. Currently only used by Android.
136 bool use_view_overlay_for_all_video;
133 137
134 // The default system font settings for caption, small caption, menu and 138 // The default system font settings for caption, small caption, menu and
135 // status messages. Used only by Windows. 139 // status messages. Used only by Windows.
136 base::string16 caption_font_family_name; 140 base::string16 caption_font_family_name;
137 int32 caption_font_height; 141 int32 caption_font_height;
138 142
139 base::string16 small_caption_font_family_name; 143 base::string16 small_caption_font_family_name;
140 int32 small_caption_font_height; 144 int32 small_caption_font_height;
141 145
142 base::string16 menu_font_family_name; 146 base::string16 menu_font_family_name;
143 int32 menu_font_height; 147 int32 menu_font_height;
144 148
145 base::string16 status_font_family_name; 149 base::string16 status_font_family_name;
146 int32 status_font_height; 150 int32 status_font_height;
147 151
148 base::string16 message_font_family_name; 152 base::string16 message_font_family_name;
149 int32 message_font_height; 153 int32 message_font_height;
150 }; 154 };
151 155
152 } // namespace content 156 } // namespace content
153 157
154 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ 158 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698