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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 virtual void setAccelerated2dCanvasEnabled(bool) = 0; | 86 virtual void setAccelerated2dCanvasEnabled(bool) = 0; |
87 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0; | 87 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0; |
88 virtual void setAcceleratedCompositingEnabled(bool) = 0; | 88 virtual void setAcceleratedCompositingEnabled(bool) = 0; |
89 virtual void setPreferCompositingToLCDTextEnabled(bool) = 0; | 89 virtual void setPreferCompositingToLCDTextEnabled(bool) = 0; |
90 // Not implemented yet, see http://crbug.com/178119 | 90 // Not implemented yet, see http://crbug.com/178119 |
91 virtual void setAcceleratedCompositingForTransitionEnabled(bool) { }; | 91 virtual void setAcceleratedCompositingForTransitionEnabled(bool) { }; |
92 // If set to true, allows frames with an https origin to display passive | 92 // If set to true, allows frames with an https origin to display passive |
93 // contents at an insecure URL. Otherwise, disallows it. The | 93 // contents at an insecure URL. Otherwise, disallows it. The |
94 // FrameLoaderClient set to the frame may override the value set by this | 94 // FrameLoaderClient set to the frame may override the value set by this |
95 // method. | 95 // method. |
| 96 virtual void setAccessibilityEnabled(bool) = 0; |
96 virtual void setAllowDisplayOfInsecureContent(bool) = 0; | 97 virtual void setAllowDisplayOfInsecureContent(bool) = 0; |
97 virtual void setAllowFileAccessFromFileURLs(bool) = 0; | 98 virtual void setAllowFileAccessFromFileURLs(bool) = 0; |
98 virtual void setAllowCustomScrollbarInMainFrame(bool) = 0; | 99 virtual void setAllowCustomScrollbarInMainFrame(bool) = 0; |
99 // If set to true, allows frames with an https origin to run active | 100 // If set to true, allows frames with an https origin to run active |
100 // contents at an insecure URL. This includes WebSockets. Otherwise, | 101 // contents at an insecure URL. This includes WebSockets. Otherwise, |
101 // disallows it. The FrameLoaderClient set to the frame may override the | 102 // disallows it. The FrameLoaderClient set to the frame may override the |
102 // value set by this method. | 103 // value set by this method. |
103 virtual void setAllowRunningOfInsecureContent(bool) = 0; | 104 virtual void setAllowRunningOfInsecureContent(bool) = 0; |
104 // If set to true, allows frames with an https origin to connect WebSockets | 105 // If set to true, allows frames with an https origin to connect WebSockets |
105 // with an insecure URL (ws://). Otherwise, disallows it. Only when this is | 106 // with an insecure URL (ws://). Otherwise, disallows it. Only when this is |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 virtual void setEnableTouchAdjustment(bool) = 0; | 139 virtual void setEnableTouchAdjustment(bool) = 0; |
139 virtual void setRegionBasedColumnsEnabled(bool) = 0; | 140 virtual void setRegionBasedColumnsEnabled(bool) = 0; |
140 virtual void setExperimentalWebGLEnabled(bool) = 0; | 141 virtual void setExperimentalWebGLEnabled(bool) = 0; |
141 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO
MMON) = 0; | 142 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO
MMON) = 0; |
142 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM
ON) = 0; | 143 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM
ON) = 0; |
143 virtual void setForceZeroLayoutHeight(bool) = 0; | 144 virtual void setForceZeroLayoutHeight(bool) = 0; |
144 virtual void setFullscreenSupported(bool) = 0; | 145 virtual void setFullscreenSupported(bool) = 0; |
145 virtual void setHyperlinkAuditingEnabled(bool) = 0; | 146 virtual void setHyperlinkAuditingEnabled(bool) = 0; |
146 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) = 0; | 147 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) = 0; |
147 virtual void setImagesEnabled(bool) = 0; | 148 virtual void setImagesEnabled(bool) = 0; |
| 149 virtual void setInlineTextBoxAccessibilityEnabled(bool) = 0; |
148 virtual void setJavaEnabled(bool) = 0; | 150 virtual void setJavaEnabled(bool) = 0; |
149 virtual void setJavaScriptCanAccessClipboard(bool) = 0; | 151 virtual void setJavaScriptCanAccessClipboard(bool) = 0; |
150 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) = 0; | 152 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) = 0; |
151 virtual void setJavaScriptEnabled(bool) = 0; | 153 virtual void setJavaScriptEnabled(bool) = 0; |
152 virtual void setLayerSquashingEnabled(bool) = 0; | 154 virtual void setLayerSquashingEnabled(bool) = 0; |
153 virtual void setLoadsImagesAutomatically(bool) = 0; | 155 virtual void setLoadsImagesAutomatically(bool) = 0; |
154 virtual void setLoadWithOverviewMode(bool) = 0; | 156 virtual void setLoadWithOverviewMode(bool) = 0; |
155 virtual void setLocalStorageEnabled(bool) = 0; | 157 virtual void setLocalStorageEnabled(bool) = 0; |
156 virtual void setMainFrameClipsContent(bool) = 0; | 158 virtual void setMainFrameClipsContent(bool) = 0; |
157 virtual void setMainFrameResizesAreOrientationChanges(bool) = 0; | 159 virtual void setMainFrameResizesAreOrientationChanges(bool) = 0; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 virtual void setWideViewportQuirkEnabled(bool) = 0; | 230 virtual void setWideViewportQuirkEnabled(bool) = 0; |
229 virtual void setXSSAuditorEnabled(bool) = 0; | 231 virtual void setXSSAuditorEnabled(bool) = 0; |
230 | 232 |
231 protected: | 233 protected: |
232 ~WebSettings() { } | 234 ~WebSettings() { } |
233 }; | 235 }; |
234 | 236 |
235 } // namespace blink | 237 } // namespace blink |
236 | 238 |
237 #endif | 239 #endif |
OLD | NEW |