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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 virtual void setAllowFileAccessFromFileURLs(bool) = 0; | 128 virtual void setAllowFileAccessFromFileURLs(bool) = 0; |
129 virtual void setAllowCustomScrollbarInMainFrame(bool) = 0; | 129 virtual void setAllowCustomScrollbarInMainFrame(bool) = 0; |
130 virtual void setAllowGeolocationOnInsecureOrigins(bool) = 0; | 130 virtual void setAllowGeolocationOnInsecureOrigins(bool) = 0; |
131 // If set to true, allows frames with an https origin to run active | 131 // If set to true, allows frames with an https origin to run active |
132 // contents at an insecure URL. This includes WebSockets. Otherwise, | 132 // contents at an insecure URL. This includes WebSockets. Otherwise, |
133 // disallows it. The FrameLoaderClient set to the frame may override the | 133 // disallows it. The FrameLoaderClient set to the frame may override the |
134 // value set by this method. | 134 // value set by this method. |
135 virtual void setAllowRunningOfInsecureContent(bool) = 0; | 135 virtual void setAllowRunningOfInsecureContent(bool) = 0; |
136 virtual void setAllowScriptsToCloseWindows(bool) = 0; | 136 virtual void setAllowScriptsToCloseWindows(bool) = 0; |
137 virtual void setAllowUniversalAccessFromFileURLs(bool) = 0; | 137 virtual void setAllowUniversalAccessFromFileURLs(bool) = 0; |
| 138 virtual void setAlwaysShowContextMenuOnTouch(bool) = 0; |
138 virtual void setAntialiased2dCanvasEnabled(bool) = 0; | 139 virtual void setAntialiased2dCanvasEnabled(bool) = 0; |
139 virtual void setAntialiasedClips2dCanvasEnabled(bool) = 0; | 140 virtual void setAntialiasedClips2dCanvasEnabled(bool) = 0; |
140 virtual void setAutoplayExperimentMode(const WebString&) = 0; | 141 virtual void setAutoplayExperimentMode(const WebString&) = 0; |
141 virtual void setAutoZoomFocusedNodeToLegibleScale(bool) = 0; | 142 virtual void setAutoZoomFocusedNodeToLegibleScale(bool) = 0; |
142 virtual void setCaretBrowsingEnabled(bool) = 0; | 143 virtual void setCaretBrowsingEnabled(bool) = 0; |
143 virtual void setClobberUserAgentInitialScaleQuirk(bool) = 0; | 144 virtual void setClobberUserAgentInitialScaleQuirk(bool) = 0; |
144 virtual void setCookieEnabled(bool) = 0; | 145 virtual void setCookieEnabled(bool) = 0; |
145 virtual void setNavigateOnDragDrop(bool) = 0; | 146 virtual void setNavigateOnDragDrop(bool) = 0; |
146 virtual void setCursiveFontFamily(const WebString&, UScriptCode = USCRIPT_CO
MMON) = 0; | 147 virtual void setCursiveFontFamily(const WebString&, UScriptCode = USCRIPT_CO
MMON) = 0; |
147 virtual void setDNSPrefetchingEnabled(bool) = 0; | 148 virtual void setDNSPrefetchingEnabled(bool) = 0; |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 virtual void setWideViewportQuirkEnabled(bool) = 0; | 274 virtual void setWideViewportQuirkEnabled(bool) = 0; |
274 virtual void setXSSAuditorEnabled(bool) = 0; | 275 virtual void setXSSAuditorEnabled(bool) = 0; |
275 | 276 |
276 protected: | 277 protected: |
277 ~WebSettings() { } | 278 ~WebSettings() { } |
278 }; | 279 }; |
279 | 280 |
280 } // namespace blink | 281 } // namespace blink |
281 | 282 |
282 #endif | 283 #endif |
OLD | NEW |