| 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 virtual void setPinchOverlayScrollbarThickness(int) = 0; | 139 virtual void setPinchOverlayScrollbarThickness(int) = 0; |
| 140 virtual void setPinchVirtualViewportEnabled(bool) = 0; | 140 virtual void setPinchVirtualViewportEnabled(bool) = 0; |
| 141 virtual void setPluginsEnabled(bool) = 0; | 141 virtual void setPluginsEnabled(bool) = 0; |
| 142 virtual void setPrivilegedWebGLExtensionsEnabled(bool) = 0; | 142 virtual void setPrivilegedWebGLExtensionsEnabled(bool) = 0; |
| 143 virtual void setRenderVSyncNotificationEnabled(bool) = 0; | 143 virtual void setRenderVSyncNotificationEnabled(bool) = 0; |
| 144 virtual void setSansSerifFontFamily(const WebString&, UScriptCode = USCRIPT_
COMMON) = 0; | 144 virtual void setSansSerifFontFamily(const WebString&, UScriptCode = USCRIPT_
COMMON) = 0; |
| 145 virtual void setSelectTrailingWhitespaceEnabled(bool) = 0; | 145 virtual void setSelectTrailingWhitespaceEnabled(bool) = 0; |
| 146 virtual void setSelectionIncludesAltImageText(bool) = 0; | 146 virtual void setSelectionIncludesAltImageText(bool) = 0; |
| 147 virtual void setSerifFontFamily(const WebString&, UScriptCode = USCRIPT_COMM
ON) = 0; | 147 virtual void setSerifFontFamily(const WebString&, UScriptCode = USCRIPT_COMM
ON) = 0; |
| 148 virtual void setShouldPrintBackgrounds(bool) = 0; | 148 virtual void setShouldPrintBackgrounds(bool) = 0; |
| 149 virtual void setShouldBlendWithExistingContent(bool) = 0; |
| 149 virtual void setShouldRespectImageOrientation(bool) = 0; | 150 virtual void setShouldRespectImageOrientation(bool) = 0; |
| 150 virtual void setShowFPSCounter(bool) = 0; | 151 virtual void setShowFPSCounter(bool) = 0; |
| 151 virtual void setShowPaintRects(bool) = 0; | 152 virtual void setShowPaintRects(bool) = 0; |
| 152 virtual void setShrinksStandaloneImagesToFit(bool) = 0; | 153 virtual void setShrinksStandaloneImagesToFit(bool) = 0; |
| 153 virtual void setSmartInsertDeleteEnabled(bool) = 0; | 154 virtual void setSmartInsertDeleteEnabled(bool) = 0; |
| 154 // Spatial navigation feature, when enabled, improves the experience | 155 // Spatial navigation feature, when enabled, improves the experience |
| 155 // of keyboard-controlling the web pages which originally were not designed | 156 // of keyboard-controlling the web pages which originally were not designed |
| 156 // for keyboard navigation. It allows to use arrow keys to move focus betwee
n | 157 // for keyboard navigation. It allows to use arrow keys to move focus betwee
n |
| 157 // the adjacent HTML elements. As a side effect, it extends the criteria for | 158 // the adjacent HTML elements. As a side effect, it extends the criteria for |
| 158 // elements to be focusable to include any element which has click or keyboa
rd | 159 // elements to be focusable to include any element which has click or keyboa
rd |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 void setFixedElementsLayoutRelativeToFrame(bool) { } | 194 void setFixedElementsLayoutRelativeToFrame(bool) { } |
| 194 void setInitializeAtMinimumPageScale(bool enabled) { setLoadWithOverviewMode
(enabled); } | 195 void setInitializeAtMinimumPageScale(bool enabled) { setLoadWithOverviewMode
(enabled); } |
| 195 | 196 |
| 196 protected: | 197 protected: |
| 197 ~WebSettings() { } | 198 ~WebSettings() { } |
| 198 }; | 199 }; |
| 199 | 200 |
| 200 } // namespace WebKit | 201 } // namespace WebKit |
| 201 | 202 |
| 202 #endif | 203 #endif |
| OLD | NEW |