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

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

Issue 1195023002: Add a Setting to make iframes load at VeryLow priority, disabled by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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
« no previous file with comments | « Source/core/loader/LinkLoader.cpp ('k') | Source/web/WebSettingsImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 virtual void setViewportMetaEnabled(bool) override; 181 virtual void setViewportMetaEnabled(bool) override;
182 virtual void setViewportMetaLayoutSizeQuirk(bool) override; 182 virtual void setViewportMetaLayoutSizeQuirk(bool) override;
183 virtual void setViewportMetaMergeContentQuirk(bool) override; 183 virtual void setViewportMetaMergeContentQuirk(bool) override;
184 virtual void setViewportMetaNonUserScalableQuirk(bool) override; 184 virtual void setViewportMetaNonUserScalableQuirk(bool) override;
185 virtual void setViewportMetaZeroValuesQuirk(bool) override; 185 virtual void setViewportMetaZeroValuesQuirk(bool) override;
186 virtual void setWebAudioEnabled(bool) override; 186 virtual void setWebAudioEnabled(bool) override;
187 virtual void setWebGLErrorsToConsoleEnabled(bool) override; 187 virtual void setWebGLErrorsToConsoleEnabled(bool) override;
188 virtual void setWebSecurityEnabled(bool) override; 188 virtual void setWebSecurityEnabled(bool) override;
189 virtual void setWideViewportQuirkEnabled(bool) override; 189 virtual void setWideViewportQuirkEnabled(bool) override;
190 virtual void setXSSAuditorEnabled(bool) override; 190 virtual void setXSSAuditorEnabled(bool) override;
191 void setLowPriorityIframes(bool) override;
Bryan McQuade 2015/06/19 20:35:34 alternatively to this, we can use --blink-settings
191 192
192 bool showFPSCounter() const { return m_showFPSCounter; } 193 bool showFPSCounter() const { return m_showFPSCounter; }
193 bool showPaintRects() const { return m_showPaintRects; } 194 bool showPaintRects() const { return m_showPaintRects; }
194 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; } 195 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; }
195 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; } 196 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; }
196 bool doubleTapToZoomEnabled() const; 197 bool doubleTapToZoomEnabled() const;
197 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } 198 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; }
198 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; } 199 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; }
199 bool viewportMetaEnabled() const; 200 bool viewportMetaEnabled() const;
200 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu irk; } 201 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu irk; }
(...skipping 24 matching lines...) Expand all
225 // This quirk is to maintain compatibility with Android apps built on 226 // This quirk is to maintain compatibility with Android apps built on
226 // the Android SDK prior to and including version 18. Presumably, this 227 // the Android SDK prior to and including version 18. Presumably, this
227 // can be removed any time after 2015. See http://crbug.com/313754. 228 // can be removed any time after 2015. See http://crbug.com/313754.
228 bool m_clobberUserAgentInitialScaleQuirk; 229 bool m_clobberUserAgentInitialScaleQuirk;
229 bool m_mainFrameResizesAreOrientationChanges; 230 bool m_mainFrameResizesAreOrientationChanges;
230 }; 231 };
231 232
232 } // namespace blink 233 } // namespace blink
233 234
234 #endif 235 #endif
OLDNEW
« no previous file with comments | « Source/core/loader/LinkLoader.cpp ('k') | Source/web/WebSettingsImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698