diff options
author | Victoria Lease <violets@google.com> | 2012-03-30 11:01:31 -0700 |
---|---|---|
committer | Victoria Lease <violets@google.com> | 2012-03-30 11:26:36 -0700 |
commit | 361796a8de13ad8057f57e08c2322e3a025ae63b (patch) | |
tree | a445749c195a5cc945cae316f5adc5f040fdf603 /Source/WebCore/page/Settings.h | |
parent | eb4d2ca0fc95f42c0530e8adfcd107ff5369c09f (diff) | |
download | external_webkit-361796a8de13ad8057f57e08c2322e3a025ae63b.zip external_webkit-361796a8de13ad8057f57e08c2322e3a025ae63b.tar.gz external_webkit-361796a8de13ad8057f57e08c2322e3a025ae63b.tar.bz2 |
add enable/disable switch for link prefetch to WebSettings
Bug: 5218987
Change-Id: Ie88a117e52d1835114415ee6721108d8a882594a
Diffstat (limited to 'Source/WebCore/page/Settings.h')
-rw-r--r-- | Source/WebCore/page/Settings.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/WebCore/page/Settings.h b/Source/WebCore/page/Settings.h index 2bb222d..2cf7715 100644 --- a/Source/WebCore/page/Settings.h +++ b/Source/WebCore/page/Settings.h @@ -352,6 +352,11 @@ namespace WebCore { void setXSSAuditorEnabled(bool); bool xssAuditorEnabled() const { return m_xssAuditorEnabled; } +#if ENABLE(LINK_PREFETCH) + void setLinkPrefetchEnabled(bool); + bool linkPrefetchEnabled() const { return m_linkPrefetchEnabled; } +#endif + void setCanvasUsesAcceleratedDrawing(bool); bool canvasUsesAcceleratedDrawing() const { return m_canvasUsesAcceleratedDrawing; } @@ -567,6 +572,9 @@ namespace WebCore { bool m_acceleratedDrawingEnabled : 1; bool m_downloadableBinaryFontsEnabled : 1; bool m_xssAuditorEnabled : 1; +#if ENABLE(LINK_PREFETCH) + bool m_linkPrefetchEnabled : 1; +#endif bool m_acceleratedCompositingEnabled : 1; bool m_acceleratedCompositingFor3DTransformsEnabled : 1; bool m_acceleratedCompositingForVideoEnabled : 1; |