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

Side by Side Diff: Source/web/WebSettingsImpl.h

Issue 609923003: Adding blink side flag that allows disabling YUV decoding (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: New name Created 6 years, 2 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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 virtual void setViewportMetaEnabled(bool) OVERRIDE; 170 virtual void setViewportMetaEnabled(bool) OVERRIDE;
171 virtual void setViewportMetaLayoutSizeQuirk(bool) OVERRIDE; 171 virtual void setViewportMetaLayoutSizeQuirk(bool) OVERRIDE;
172 virtual void setViewportMetaMergeContentQuirk(bool) OVERRIDE; 172 virtual void setViewportMetaMergeContentQuirk(bool) OVERRIDE;
173 virtual void setViewportMetaNonUserScalableQuirk(bool) OVERRIDE; 173 virtual void setViewportMetaNonUserScalableQuirk(bool) OVERRIDE;
174 virtual void setViewportMetaZeroValuesQuirk(bool) OVERRIDE; 174 virtual void setViewportMetaZeroValuesQuirk(bool) OVERRIDE;
175 virtual void setWebAudioEnabled(bool) OVERRIDE; 175 virtual void setWebAudioEnabled(bool) OVERRIDE;
176 virtual void setWebGLErrorsToConsoleEnabled(bool) OVERRIDE; 176 virtual void setWebGLErrorsToConsoleEnabled(bool) OVERRIDE;
177 virtual void setWebSecurityEnabled(bool) OVERRIDE; 177 virtual void setWebSecurityEnabled(bool) OVERRIDE;
178 virtual void setWideViewportQuirkEnabled(bool) OVERRIDE; 178 virtual void setWideViewportQuirkEnabled(bool) OVERRIDE;
179 virtual void setXSSAuditorEnabled(bool) OVERRIDE; 179 virtual void setXSSAuditorEnabled(bool) OVERRIDE;
180 virtual void setDecodeToYUVEnabled(bool); // FIXME: add OVERRIDE once this i s in base class
180 181
181 bool showFPSCounter() const { return m_showFPSCounter; } 182 bool showFPSCounter() const { return m_showFPSCounter; }
182 bool showPaintRects() const { return m_showPaintRects; } 183 bool showPaintRects() const { return m_showPaintRects; }
183 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; } 184 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; }
184 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; } 185 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; }
185 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } 186 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; }
186 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } 187 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; }
187 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; } 188 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; }
188 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu irk; } 189 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu irk; }
189 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser ScalableQuirk; } 190 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser ScalableQuirk; }
(...skipping 20 matching lines...) Expand all
210 bool m_viewportMetaLayoutSizeQuirk; 211 bool m_viewportMetaLayoutSizeQuirk;
211 // This quirk is to maintain compatibility with Android apps built on 212 // This quirk is to maintain compatibility with Android apps built on
212 // the Android SDK prior to and including version 18. Presumably, this 213 // the Android SDK prior to and including version 18. Presumably, this
213 // can be removed any time after 2015. See http://crbug.com/312691. 214 // can be removed any time after 2015. See http://crbug.com/312691.
214 bool m_viewportMetaNonUserScalableQuirk; 215 bool m_viewportMetaNonUserScalableQuirk;
215 // This quirk is to maintain compatibility with Android apps built on 216 // This quirk is to maintain compatibility with Android apps built on
216 // the Android SDK prior to and including version 18. Presumably, this 217 // the Android SDK prior to and including version 18. Presumably, this
217 // can be removed any time after 2015. See http://crbug.com/313754. 218 // can be removed any time after 2015. See http://crbug.com/313754.
218 bool m_clobberUserAgentInitialScaleQuirk; 219 bool m_clobberUserAgentInitialScaleQuirk;
219 bool m_mainFrameResizesAreOrientationChanges; 220 bool m_mainFrameResizesAreOrientationChanges;
221 bool m_decodeToYUVEnabled;
220 }; 222 };
221 223
222 } // namespace blink 224 } // namespace blink
223 225
224 #endif 226 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698