| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 virtual void setAllowRunningOfInsecureContent(bool) = 0; | 104 virtual void setAllowRunningOfInsecureContent(bool) = 0; |
| 105 // 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 |
| 106 // 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 |
| 107 // set to true, this value overrides the value set by | 107 // set to true, this value overrides the value set by |
| 108 // setAllowRunningOfInsecureContent() for WebSockets. The FrameLoaderClient | 108 // setAllowRunningOfInsecureContent() for WebSockets. The FrameLoaderClient |
| 109 // set to the frame may override the value set by this method. | 109 // set to the frame may override the value set by this method. |
| 110 virtual void setAllowConnectingInsecureWebSocket(bool) = 0; | 110 virtual void setAllowConnectingInsecureWebSocket(bool) = 0; |
| 111 virtual void setAllowScriptsToCloseWindows(bool) = 0; | 111 virtual void setAllowScriptsToCloseWindows(bool) = 0; |
| 112 virtual void setAllowUniversalAccessFromFileURLs(bool) = 0; | 112 virtual void setAllowUniversalAccessFromFileURLs(bool) = 0; |
| 113 virtual void setAntialiased2dCanvasEnabled(bool) = 0; | 113 virtual void setAntialiased2dCanvasEnabled(bool) = 0; |
| 114 virtual void setAntialiasedClips2dCanvasEnabled(bool) = 0; |
| 114 virtual void setAsynchronousSpellCheckingEnabled(bool) = 0; | 115 virtual void setAsynchronousSpellCheckingEnabled(bool) = 0; |
| 115 virtual void setAutoZoomFocusedNodeToLegibleScale(bool) = 0; | 116 virtual void setAutoZoomFocusedNodeToLegibleScale(bool) = 0; |
| 116 virtual void setCaretBrowsingEnabled(bool) = 0; | 117 virtual void setCaretBrowsingEnabled(bool) = 0; |
| 117 virtual void setClobberUserAgentInitialScaleQuirk(bool) = 0; | 118 virtual void setClobberUserAgentInitialScaleQuirk(bool) = 0; |
| 118 virtual void setContainerCullingEnabled(bool) = 0; | 119 virtual void setContainerCullingEnabled(bool) = 0; |
| 119 virtual void setCookieEnabled(bool) = 0; | 120 virtual void setCookieEnabled(bool) = 0; |
| 120 virtual void setNavigateOnDragDrop(bool) = 0; | 121 virtual void setNavigateOnDragDrop(bool) = 0; |
| 121 virtual void setCursiveFontFamily(const WebString&, UScriptCode = USCRIPT_CO
MMON) = 0; | 122 virtual void setCursiveFontFamily(const WebString&, UScriptCode = USCRIPT_CO
MMON) = 0; |
| 122 virtual void setDNSPrefetchingEnabled(bool) = 0; | 123 virtual void setDNSPrefetchingEnabled(bool) = 0; |
| 123 virtual void setDOMPasteAllowed(bool) = 0; | 124 virtual void setDOMPasteAllowed(bool) = 0; |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 virtual void setWideViewportQuirkEnabled(bool) = 0; | 231 virtual void setWideViewportQuirkEnabled(bool) = 0; |
| 231 virtual void setXSSAuditorEnabled(bool) = 0; | 232 virtual void setXSSAuditorEnabled(bool) = 0; |
| 232 | 233 |
| 233 protected: | 234 protected: |
| 234 ~WebSettings() { } | 235 ~WebSettings() { } |
| 235 }; | 236 }; |
| 236 | 237 |
| 237 } // namespace blink | 238 } // namespace blink |
| 238 | 239 |
| 239 #endif | 240 #endif |
| OLD | NEW |