| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 virtual void setAcceleratedCompositingEnabled(bool) = 0; | 122 virtual void setAcceleratedCompositingEnabled(bool) = 0; |
| 123 virtual void setPreferCompositingToLCDTextEnabled(bool) = 0; | 123 virtual void setPreferCompositingToLCDTextEnabled(bool) = 0; |
| 124 // Not implemented yet, see http://crbug.com/178119 | 124 // Not implemented yet, see http://crbug.com/178119 |
| 125 virtual void setAcceleratedCompositingForTransitionEnabled(bool) { } | 125 virtual void setAcceleratedCompositingForTransitionEnabled(bool) { } |
| 126 // If set to true, allows frames with an https origin to display passive | 126 // If set to true, allows frames with an https origin to display passive |
| 127 // contents at an insecure URL. Otherwise, disallows it. The | 127 // contents at an insecure URL. Otherwise, disallows it. The |
| 128 // FrameLoaderClient set to the frame may override the value set by this | 128 // FrameLoaderClient set to the frame may override the value set by this |
| 129 // method. | 129 // method. |
| 130 virtual void setAccessibilityEnabled(bool) = 0; | 130 virtual void setAccessibilityEnabled(bool) = 0; |
| 131 virtual void setAccessibilityPasswordValuesEnabled(bool) = 0; | 131 virtual void setAccessibilityPasswordValuesEnabled(bool) = 0; |
| 132 virtual void setAllowDisplayOfInsecureContent(bool) = 0; | |
| 133 virtual void setAllowFileAccessFromFileURLs(bool) = 0; | 132 virtual void setAllowFileAccessFromFileURLs(bool) = 0; |
| 134 virtual void setAllowCustomScrollbarInMainFrame(bool) = 0; | 133 virtual void setAllowCustomScrollbarInMainFrame(bool) = 0; |
| 135 virtual void setAllowGeolocationOnInsecureOrigins(bool) = 0; | 134 virtual void setAllowGeolocationOnInsecureOrigins(bool) = 0; |
| 136 // If set to true, allows frames with an https origin to run active | 135 // If set to true, allows frames with an https origin to run active |
| 137 // contents at an insecure URL. This includes WebSockets. Otherwise, | 136 // contents at an insecure URL. This includes WebSockets. Otherwise, |
| 138 // disallows it. The FrameLoaderClient set to the frame may override the | 137 // disallows it. The FrameLoaderClient set to the frame may override the |
| 139 // value set by this method. | 138 // value set by this method. |
| 140 virtual void setAllowRunningOfInsecureContent(bool) = 0; | 139 virtual void setAllowRunningOfInsecureContent(bool) = 0; |
| 141 virtual void setAllowScriptsToCloseWindows(bool) = 0; | 140 virtual void setAllowScriptsToCloseWindows(bool) = 0; |
| 142 virtual void setAllowUniversalAccessFromFileURLs(bool) = 0; | 141 virtual void setAllowUniversalAccessFromFileURLs(bool) = 0; |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 virtual void setWideViewportQuirkEnabled(bool) = 0; | 278 virtual void setWideViewportQuirkEnabled(bool) = 0; |
| 280 virtual void setXSSAuditorEnabled(bool) = 0; | 279 virtual void setXSSAuditorEnabled(bool) = 0; |
| 281 | 280 |
| 282 protected: | 281 protected: |
| 283 ~WebSettings() { } | 282 ~WebSettings() { } |
| 284 }; | 283 }; |
| 285 | 284 |
| 286 } // namespace blink | 285 } // namespace blink |
| 287 | 286 |
| 288 #endif | 287 #endif |
| OLD | NEW |