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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 virtual void setReportScreenSizeInPhysicalPixelsQuirk(bool) = 0; | 199 virtual void setReportScreenSizeInPhysicalPixelsQuirk(bool) = 0; |
200 virtual void setRootLayerScrolls(bool) = 0; | 200 virtual void setRootLayerScrolls(bool) = 0; |
201 virtual void setRubberBandingOnCompositorThread(bool) = 0; | 201 virtual void setRubberBandingOnCompositorThread(bool) = 0; |
202 virtual void setSansSerifFontFamily(const WebString&, UScriptCode = USCRIPT_
COMMON) = 0; | 202 virtual void setSansSerifFontFamily(const WebString&, UScriptCode = USCRIPT_
COMMON) = 0; |
203 virtual void setSelectTrailingWhitespaceEnabled(bool) = 0; | 203 virtual void setSelectTrailingWhitespaceEnabled(bool) = 0; |
204 virtual void setSelectionIncludesAltImageText(bool) = 0; | 204 virtual void setSelectionIncludesAltImageText(bool) = 0; |
205 virtual void setSerifFontFamily(const WebString&, UScriptCode = USCRIPT_COMM
ON) = 0; | 205 virtual void setSerifFontFamily(const WebString&, UScriptCode = USCRIPT_COMM
ON) = 0; |
206 virtual void setShouldPrintBackgrounds(bool) = 0; | 206 virtual void setShouldPrintBackgrounds(bool) = 0; |
207 virtual void setShouldClearDocumentBackground(bool) = 0; | 207 virtual void setShouldClearDocumentBackground(bool) = 0; |
208 virtual void setShouldRespectImageOrientation(bool) = 0; | 208 virtual void setShouldRespectImageOrientation(bool) = 0; |
| 209 virtual void setShowContextMenuOnMouseUp(bool) = 0; |
209 virtual void setShowFPSCounter(bool) = 0; | 210 virtual void setShowFPSCounter(bool) = 0; |
210 virtual void setShowPaintRects(bool) = 0; | 211 virtual void setShowPaintRects(bool) = 0; |
211 virtual void setShrinksStandaloneImagesToFit(bool) = 0; | 212 virtual void setShrinksStandaloneImagesToFit(bool) = 0; |
212 virtual void setShrinksViewportContentToFit(bool) = 0; | 213 virtual void setShrinksViewportContentToFit(bool) = 0; |
213 virtual void setSmartInsertDeleteEnabled(bool) = 0; | 214 virtual void setSmartInsertDeleteEnabled(bool) = 0; |
214 // Spatial navigation feature, when enabled, improves the experience | 215 // Spatial navigation feature, when enabled, improves the experience |
215 // of keyboard-controlling the web pages which originally were not designed | 216 // of keyboard-controlling the web pages which originally were not designed |
216 // for keyboard navigation. It allows to use arrow keys to move focus betwee
n | 217 // for keyboard navigation. It allows to use arrow keys to move focus betwee
n |
217 // the adjacent HTML elements. As a side effect, it extends the criteria for | 218 // the adjacent HTML elements. As a side effect, it extends the criteria for |
218 // elements to be focusable to include any element which has click or keyboa
rd | 219 // elements to be focusable to include any element which has click or keyboa
rd |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 virtual void setWideViewportQuirkEnabled(bool) = 0; | 252 virtual void setWideViewportQuirkEnabled(bool) = 0; |
252 virtual void setXSSAuditorEnabled(bool) = 0; | 253 virtual void setXSSAuditorEnabled(bool) = 0; |
253 | 254 |
254 protected: | 255 protected: |
255 ~WebSettings() { } | 256 ~WebSettings() { } |
256 }; | 257 }; |
257 | 258 |
258 } // namespace blink | 259 } // namespace blink |
259 | 260 |
260 #endif | 261 #endif |
OLD | NEW |