| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0; | 93 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0; |
| 94 virtual void setAcceleratedCompositingEnabled(bool) = 0; | 94 virtual void setAcceleratedCompositingEnabled(bool) = 0; |
| 95 virtual void setPreferCompositingToLCDTextEnabled(bool) = 0; | 95 virtual void setPreferCompositingToLCDTextEnabled(bool) = 0; |
| 96 // Not implemented yet, see http://crbug.com/178119 | 96 // Not implemented yet, see http://crbug.com/178119 |
| 97 virtual void setAcceleratedCompositingForTransitionEnabled(bool) { }; | 97 virtual void setAcceleratedCompositingForTransitionEnabled(bool) { }; |
| 98 // If set to true, allows frames with an https origin to display passive | 98 // If set to true, allows frames with an https origin to display passive |
| 99 // contents at an insecure URL. Otherwise, disallows it. The | 99 // contents at an insecure URL. Otherwise, disallows it. The |
| 100 // FrameLoaderClient set to the frame may override the value set by this | 100 // FrameLoaderClient set to the frame may override the value set by this |
| 101 // method. | 101 // method. |
| 102 virtual void setAccessibilityEnabled(bool) = 0; | 102 virtual void setAccessibilityEnabled(bool) = 0; |
| 103 virtual void setAccessibilityPasswordValuesEnabled(bool) = 0; |
| 103 virtual void setAllowDisplayOfInsecureContent(bool) = 0; | 104 virtual void setAllowDisplayOfInsecureContent(bool) = 0; |
| 104 virtual void setAllowFileAccessFromFileURLs(bool) = 0; | 105 virtual void setAllowFileAccessFromFileURLs(bool) = 0; |
| 105 virtual void setAllowCustomScrollbarInMainFrame(bool) = 0; | 106 virtual void setAllowCustomScrollbarInMainFrame(bool) = 0; |
| 106 // If set to true, allows frames with an https origin to run active | 107 // If set to true, allows frames with an https origin to run active |
| 107 // contents at an insecure URL. This includes WebSockets. Otherwise, | 108 // contents at an insecure URL. This includes WebSockets. Otherwise, |
| 108 // disallows it. The FrameLoaderClient set to the frame may override the | 109 // disallows it. The FrameLoaderClient set to the frame may override the |
| 109 // value set by this method. | 110 // value set by this method. |
| 110 virtual void setAllowRunningOfInsecureContent(bool) = 0; | 111 virtual void setAllowRunningOfInsecureContent(bool) = 0; |
| 111 // If set to true, allows frames with an https origin to connect WebSockets | 112 // If set to true, allows frames with an https origin to connect WebSockets |
| 112 // with an insecure URL (ws://). Otherwise, disallows it. Only when this is | 113 // with an insecure URL (ws://). Otherwise, disallows it. Only when this is |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 virtual void setWideViewportQuirkEnabled(bool) = 0; | 238 virtual void setWideViewportQuirkEnabled(bool) = 0; |
| 238 virtual void setXSSAuditorEnabled(bool) = 0; | 239 virtual void setXSSAuditorEnabled(bool) = 0; |
| 239 | 240 |
| 240 protected: | 241 protected: |
| 241 ~WebSettings() { } | 242 ~WebSettings() { } |
| 242 }; | 243 }; |
| 243 | 244 |
| 244 } // namespace blink | 245 } // namespace blink |
| 245 | 246 |
| 246 #endif | 247 #endif |
| OLD | NEW |