| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 virtual void setPinchVirtualViewportEnabled(bool) = 0; | 147 virtual void setPinchVirtualViewportEnabled(bool) = 0; |
| 148 virtual void setPluginsEnabled(bool) = 0; | 148 virtual void setPluginsEnabled(bool) = 0; |
| 149 virtual void setPrivilegedWebGLExtensionsEnabled(bool) = 0; | 149 virtual void setPrivilegedWebGLExtensionsEnabled(bool) = 0; |
| 150 virtual void setRenderVSyncNotificationEnabled(bool) = 0; | 150 virtual void setRenderVSyncNotificationEnabled(bool) = 0; |
| 151 virtual void setReportScreenSizeInPhysicalPixelsQuirk(bool) = 0; | 151 virtual void setReportScreenSizeInPhysicalPixelsQuirk(bool) = 0; |
| 152 virtual void setSansSerifFontFamily(const WebString&, UScriptCode = USCRIPT_
COMMON) = 0; | 152 virtual void setSansSerifFontFamily(const WebString&, UScriptCode = USCRIPT_
COMMON) = 0; |
| 153 virtual void setSelectTrailingWhitespaceEnabled(bool) = 0; | 153 virtual void setSelectTrailingWhitespaceEnabled(bool) = 0; |
| 154 virtual void setSelectionIncludesAltImageText(bool) = 0; | 154 virtual void setSelectionIncludesAltImageText(bool) = 0; |
| 155 virtual void setSerifFontFamily(const WebString&, UScriptCode = USCRIPT_COMM
ON) = 0; | 155 virtual void setSerifFontFamily(const WebString&, UScriptCode = USCRIPT_COMM
ON) = 0; |
| 156 virtual void setShouldPrintBackgrounds(bool) = 0; | 156 virtual void setShouldPrintBackgrounds(bool) = 0; |
| 157 virtual void setShouldClearDocumentBackground(bool) = 0; | |
| 158 virtual void setShouldRespectImageOrientation(bool) = 0; | 157 virtual void setShouldRespectImageOrientation(bool) = 0; |
| 159 virtual void setShowFPSCounter(bool) = 0; | 158 virtual void setShowFPSCounter(bool) = 0; |
| 160 virtual void setShowPaintRects(bool) = 0; | 159 virtual void setShowPaintRects(bool) = 0; |
| 161 virtual void setShrinksStandaloneImagesToFit(bool) = 0; | 160 virtual void setShrinksStandaloneImagesToFit(bool) = 0; |
| 162 virtual void setSmartInsertDeleteEnabled(bool) = 0; | 161 virtual void setSmartInsertDeleteEnabled(bool) = 0; |
| 163 // Spatial navigation feature, when enabled, improves the experience | 162 // Spatial navigation feature, when enabled, improves the experience |
| 164 // of keyboard-controlling the web pages which originally were not designed | 163 // of keyboard-controlling the web pages which originally were not designed |
| 165 // for keyboard navigation. It allows to use arrow keys to move focus betwee
n | 164 // for keyboard navigation. It allows to use arrow keys to move focus betwee
n |
| 166 // the adjacent HTML elements. As a side effect, it extends the criteria for | 165 // the adjacent HTML elements. As a side effect, it extends the criteria for |
| 167 // elements to be focusable to include any element which has click or keyboa
rd | 166 // elements to be focusable to include any element which has click or keyboa
rd |
| (...skipping 30 matching lines...) Expand all Loading... |
| 198 virtual void setWideViewportQuirkEnabled(bool) = 0; | 197 virtual void setWideViewportQuirkEnabled(bool) = 0; |
| 199 virtual void setXSSAuditorEnabled(bool) = 0; | 198 virtual void setXSSAuditorEnabled(bool) = 0; |
| 200 | 199 |
| 201 protected: | 200 protected: |
| 202 ~WebSettings() { } | 201 ~WebSettings() { } |
| 203 }; | 202 }; |
| 204 | 203 |
| 205 } // namespace blink | 204 } // namespace blink |
| 206 | 205 |
| 207 #endif | 206 #endif |
| OLD | NEW |