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

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

Issue 591413003: Add a mechanism for users to opt-out of CSP & XSS violations reports. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed function case inconsistency. 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
« no previous file with comments | « Source/core/html/parser/XSSAuditorDelegate.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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 virtual void setViewportMetaEnabled(bool) OVERRIDE; 169 virtual void setViewportMetaEnabled(bool) OVERRIDE;
170 virtual void setViewportMetaLayoutSizeQuirk(bool) OVERRIDE; 170 virtual void setViewportMetaLayoutSizeQuirk(bool) OVERRIDE;
171 virtual void setViewportMetaMergeContentQuirk(bool) OVERRIDE; 171 virtual void setViewportMetaMergeContentQuirk(bool) OVERRIDE;
172 virtual void setViewportMetaNonUserScalableQuirk(bool) OVERRIDE; 172 virtual void setViewportMetaNonUserScalableQuirk(bool) OVERRIDE;
173 virtual void setViewportMetaZeroValuesQuirk(bool) OVERRIDE; 173 virtual void setViewportMetaZeroValuesQuirk(bool) OVERRIDE;
174 virtual void setWebAudioEnabled(bool) OVERRIDE; 174 virtual void setWebAudioEnabled(bool) OVERRIDE;
175 virtual void setWebGLErrorsToConsoleEnabled(bool) OVERRIDE; 175 virtual void setWebGLErrorsToConsoleEnabled(bool) OVERRIDE;
176 virtual void setWebSecurityEnabled(bool) OVERRIDE; 176 virtual void setWebSecurityEnabled(bool) OVERRIDE;
177 virtual void setWideViewportQuirkEnabled(bool) OVERRIDE; 177 virtual void setWideViewportQuirkEnabled(bool) OVERRIDE;
178 virtual void setXSSAuditorEnabled(bool) OVERRIDE; 178 virtual void setXSSAuditorEnabled(bool) OVERRIDE;
179 virtual void setCSPViolationReportsEnabled(bool) OVERRIDE;
180 virtual void setXSSViolationReportsEnabled(bool) OVERRIDE;
181
179 182
180 bool showFPSCounter() const { return m_showFPSCounter; } 183 bool showFPSCounter() const { return m_showFPSCounter; }
181 bool showPaintRects() const { return m_showPaintRects; } 184 bool showPaintRects() const { return m_showPaintRects; }
182 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; } 185 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; }
183 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; } 186 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; }
184 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } 187 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; }
185 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } 188 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; }
186 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; } 189 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; }
187 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu irk; } 190 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu irk; }
188 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser ScalableQuirk; } 191 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser ScalableQuirk; }
(...skipping 25 matching lines...) Expand all
214 // This quirk is to maintain compatibility with Android apps built on 217 // This quirk is to maintain compatibility with Android apps built on
215 // the Android SDK prior to and including version 18. Presumably, this 218 // the Android SDK prior to and including version 18. Presumably, this
216 // can be removed any time after 2015. See http://crbug.com/313754. 219 // can be removed any time after 2015. See http://crbug.com/313754.
217 bool m_clobberUserAgentInitialScaleQuirk; 220 bool m_clobberUserAgentInitialScaleQuirk;
218 bool m_mainFrameResizesAreOrientationChanges; 221 bool m_mainFrameResizesAreOrientationChanges;
219 }; 222 };
220 223
221 } // namespace blink 224 } // namespace blink
222 225
223 #endif 226 #endif
OLDNEW
« no previous file with comments | « Source/core/html/parser/XSSAuditorDelegate.cpp ('k') | Source/web/WebSettingsImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698