| OLD | NEW |
| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 virtual void setDisallowFullscreenForNonMediaElements(bool) OVERRIDE; | 92 virtual void setDisallowFullscreenForNonMediaElements(bool) OVERRIDE; |
| 93 virtual void setDoubleTapToZoomEnabled(bool) OVERRIDE; | 93 virtual void setDoubleTapToZoomEnabled(bool) OVERRIDE; |
| 94 virtual void setDownloadableBinaryFontsEnabled(bool) OVERRIDE; | 94 virtual void setDownloadableBinaryFontsEnabled(bool) OVERRIDE; |
| 95 virtual void setEditingBehavior(EditingBehavior) OVERRIDE; | 95 virtual void setEditingBehavior(EditingBehavior) OVERRIDE; |
| 96 virtual void setEnableScrollAnimator(bool) OVERRIDE; | 96 virtual void setEnableScrollAnimator(bool) OVERRIDE; |
| 97 virtual void setEnableTouchAdjustment(bool) OVERRIDE; | 97 virtual void setEnableTouchAdjustment(bool) OVERRIDE; |
| 98 virtual void setRegionBasedColumnsEnabled(bool) OVERRIDE; | 98 virtual void setRegionBasedColumnsEnabled(bool) OVERRIDE; |
| 99 virtual void setExperimentalWebGLEnabled(bool) OVERRIDE; | 99 virtual void setExperimentalWebGLEnabled(bool) OVERRIDE; |
| 100 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO
MMON) OVERRIDE; | 100 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO
MMON) OVERRIDE; |
| 101 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM
ON) OVERRIDE; | 101 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM
ON) OVERRIDE; |
| 102 virtual void setFullscreenSupported(bool) OVERRIDE; |
| 102 virtual void setHyperlinkAuditingEnabled(bool) OVERRIDE; | 103 virtual void setHyperlinkAuditingEnabled(bool) OVERRIDE; |
| 103 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) OVERRIDE; | 104 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) OVERRIDE; |
| 104 virtual void setImagesEnabled(bool) OVERRIDE; | 105 virtual void setImagesEnabled(bool) OVERRIDE; |
| 105 virtual void setJavaEnabled(bool) OVERRIDE; | 106 virtual void setJavaEnabled(bool) OVERRIDE; |
| 106 virtual void setJavaScriptCanAccessClipboard(bool) OVERRIDE; | 107 virtual void setJavaScriptCanAccessClipboard(bool) OVERRIDE; |
| 107 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) OVERRIDE; | 108 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) OVERRIDE; |
| 108 virtual void setJavaScriptEnabled(bool) OVERRIDE; | 109 virtual void setJavaScriptEnabled(bool) OVERRIDE; |
| 109 virtual void setLayerSquashingEnabled(bool) OVERRIDE; | 110 virtual void setLayerSquashingEnabled(bool) OVERRIDE; |
| 110 virtual void setLoadsImagesAutomatically(bool) OVERRIDE; | 111 virtual void setLoadsImagesAutomatically(bool) OVERRIDE; |
| 111 virtual void setLoadWithOverviewMode(bool) OVERRIDE; | 112 virtual void setLoadWithOverviewMode(bool) OVERRIDE; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 virtual void setWebAudioEnabled(bool) OVERRIDE; | 170 virtual void setWebAudioEnabled(bool) OVERRIDE; |
| 170 virtual void setWebGLErrorsToConsoleEnabled(bool) OVERRIDE; | 171 virtual void setWebGLErrorsToConsoleEnabled(bool) OVERRIDE; |
| 171 virtual void setWebSecurityEnabled(bool) OVERRIDE; | 172 virtual void setWebSecurityEnabled(bool) OVERRIDE; |
| 172 virtual void setWideViewportQuirkEnabled(bool) OVERRIDE; | 173 virtual void setWideViewportQuirkEnabled(bool) OVERRIDE; |
| 173 virtual void setXSSAuditorEnabled(bool) OVERRIDE; | 174 virtual void setXSSAuditorEnabled(bool) OVERRIDE; |
| 174 | 175 |
| 175 bool showFPSCounter() const { return m_showFPSCounter; } | 176 bool showFPSCounter() const { return m_showFPSCounter; } |
| 176 bool showPaintRects() const { return m_showPaintRects; } | 177 bool showPaintRects() const { return m_showPaintRects; } |
| 177 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati
onEnabled; } | 178 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati
onEnabled; } |
| 178 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod
eToLegibleScale; } | 179 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod
eToLegibleScale; } |
| 179 bool disallowFullscreenForNonMediaElements() const { return m_disallowFullsc
reenForNonMediaElements; } | |
| 180 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } | 180 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } |
| 181 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } | 181 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } |
| 182 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } | 182 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } |
| 183 bool useExpandedHeuristicsForGpuRasterization() const { return m_useExpanded
HeuristicsForGpuRasterization; } | 183 bool useExpandedHeuristicsForGpuRasterization() const { return m_useExpanded
HeuristicsForGpuRasterization; } |
| 184 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu
irk; } | 184 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu
irk; } |
| 185 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser
ScalableQuirk; } | 185 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser
ScalableQuirk; } |
| 186 bool clobberUserAgentInitialScaleQuirk() const { return m_clobberUserAgentIn
itialScaleQuirk; } | 186 bool clobberUserAgentInitialScaleQuirk() const { return m_clobberUserAgentIn
itialScaleQuirk; } |
| 187 | 187 |
| 188 private: | 188 private: |
| 189 blink::Settings* m_settings; | 189 blink::Settings* m_settings; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 204 bool m_viewportMetaLayoutSizeQuirk; | 204 bool m_viewportMetaLayoutSizeQuirk; |
| 205 // This quirk is to maintain compatibility with Android apps built on | 205 // This quirk is to maintain compatibility with Android apps built on |
| 206 // the Android SDK prior to and including version 18. Presumably, this | 206 // the Android SDK prior to and including version 18. Presumably, this |
| 207 // can be removed any time after 2015. See http://crbug.com/312691. | 207 // can be removed any time after 2015. See http://crbug.com/312691. |
| 208 bool m_viewportMetaNonUserScalableQuirk; | 208 bool m_viewportMetaNonUserScalableQuirk; |
| 209 // This quirk is to maintain compatibility with Android apps built on | 209 // This quirk is to maintain compatibility with Android apps built on |
| 210 // the Android SDK prior to and including version 18. Presumably, this | 210 // the Android SDK prior to and including version 18. Presumably, this |
| 211 // can be removed any time after 2015. See http://crbug.com/313754. | 211 // can be removed any time after 2015. See http://crbug.com/313754. |
| 212 bool m_clobberUserAgentInitialScaleQuirk; | 212 bool m_clobberUserAgentInitialScaleQuirk; |
| 213 bool m_mainFrameResizesAreOrientationChanges; | 213 bool m_mainFrameResizesAreOrientationChanges; |
| 214 bool m_disallowFullscreenForNonMediaElements; | |
| 215 }; | 214 }; |
| 216 | 215 |
| 217 } // namespace blink | 216 } // namespace blink |
| 218 | 217 |
| 219 #endif | 218 #endif |
| OLD | NEW |