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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 virtual void setAcceleratedCompositingForFiltersEnabled(bool) = 0; | 67 virtual void setAcceleratedCompositingForFiltersEnabled(bool) = 0; |
68 virtual void setAcceleratedCompositingForFixedPositionEnabled(bool) = 0; | 68 virtual void setAcceleratedCompositingForFixedPositionEnabled(bool) = 0; |
69 virtual void setAcceleratedCompositingForFixedRootBackgroundEnabled(bool) =
0; | 69 virtual void setAcceleratedCompositingForFixedRootBackgroundEnabled(bool) =
0; |
70 virtual void setAcceleratedCompositingForGpuRasterizationHintEnabled(bool) =
0; | 70 virtual void setAcceleratedCompositingForGpuRasterizationHintEnabled(bool) =
0; |
71 virtual void setAcceleratedCompositingForOverflowScrollEnabled(bool) = 0; | 71 virtual void setAcceleratedCompositingForOverflowScrollEnabled(bool) = 0; |
72 virtual void setCompositorDrivenAcceleratedScrollingEnabled(bool) = 0; | 72 virtual void setCompositorDrivenAcceleratedScrollingEnabled(bool) = 0; |
73 // Not implemented yet, see http://crbug.com/178119 | 73 // Not implemented yet, see http://crbug.com/178119 |
74 virtual void setAcceleratedCompositingForTransitionEnabled(bool) { }; | 74 virtual void setAcceleratedCompositingForTransitionEnabled(bool) { }; |
75 virtual void setAcceleratedCompositingForPluginsEnabled(bool) = 0; | 75 virtual void setAcceleratedCompositingForPluginsEnabled(bool) = 0; |
76 virtual void setAcceleratedCompositingForVideoEnabled(bool) = 0; | 76 virtual void setAcceleratedCompositingForVideoEnabled(bool) = 0; |
| 77 // If set to true, allows frames with an https origin to display passive |
| 78 // contents at an insecure URL. Otherwise, disallows it. The |
| 79 // FrameLoaderClient set to the frame may override the value set by this |
| 80 // method. |
77 virtual void setAllowDisplayOfInsecureContent(bool) = 0; | 81 virtual void setAllowDisplayOfInsecureContent(bool) = 0; |
78 virtual void setAllowFileAccessFromFileURLs(bool) = 0; | 82 virtual void setAllowFileAccessFromFileURLs(bool) = 0; |
79 virtual void setAllowCustomScrollbarInMainFrame(bool) = 0; | 83 virtual void setAllowCustomScrollbarInMainFrame(bool) = 0; |
| 84 // If set to true, allows frames with an https origin to run active |
| 85 // contents at an insecure URL. This includes WebSockets. Otherwise, |
| 86 // disallows it. The FrameLoaderClient set to the frame may override the |
| 87 // value set by this method. |
80 virtual void setAllowRunningOfInsecureContent(bool) = 0; | 88 virtual void setAllowRunningOfInsecureContent(bool) = 0; |
| 89 // If set to true, allows frames with an https origin to connect WebSockets |
| 90 // with an insecure URL (ws://). Otherwise, disallows it. Only when this is |
| 91 // set to true, this value overrides the value set by |
| 92 // setAllowRunningOfInsecureContent() for WebSockets. The FrameLoaderClient |
| 93 // set to the frame may override the value set by this method. |
| 94 virtual void setAllowConnectingInsecureWebSocket(bool) = 0; |
81 virtual void setAllowScriptsToCloseWindows(bool) = 0; | 95 virtual void setAllowScriptsToCloseWindows(bool) = 0; |
82 virtual void setAllowUniversalAccessFromFileURLs(bool) = 0; | 96 virtual void setAllowUniversalAccessFromFileURLs(bool) = 0; |
83 virtual void setAntialiased2dCanvasEnabled(bool) = 0; | 97 virtual void setAntialiased2dCanvasEnabled(bool) = 0; |
84 virtual void setAsynchronousSpellCheckingEnabled(bool) = 0; | 98 virtual void setAsynchronousSpellCheckingEnabled(bool) = 0; |
85 virtual void setAutoZoomFocusedNodeToLegibleScale(bool) = 0; | 99 virtual void setAutoZoomFocusedNodeToLegibleScale(bool) = 0; |
86 virtual void setCaretBrowsingEnabled(bool) = 0; | 100 virtual void setCaretBrowsingEnabled(bool) = 0; |
87 virtual void setClobberUserAgentInitialScaleQuirk(bool) = 0; | 101 virtual void setClobberUserAgentInitialScaleQuirk(bool) = 0; |
88 virtual void setCompositedScrollingForFramesEnabled(bool) = 0; | 102 virtual void setCompositedScrollingForFramesEnabled(bool) = 0; |
89 virtual void setCompositorTouchHitTesting(bool) = 0; | 103 virtual void setCompositorTouchHitTesting(bool) = 0; |
90 virtual void setContainerCullingEnabled(bool) = 0; | 104 virtual void setContainerCullingEnabled(bool) = 0; |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 // FIXME: Remove these unused settings. | 213 // FIXME: Remove these unused settings. |
200 virtual void setFixedPositionCreatesStackingContext(bool) { } | 214 virtual void setFixedPositionCreatesStackingContext(bool) { } |
201 | 215 |
202 protected: | 216 protected: |
203 ~WebSettings() { } | 217 ~WebSettings() { } |
204 }; | 218 }; |
205 | 219 |
206 } // namespace blink | 220 } // namespace blink |
207 | 221 |
208 #endif | 222 #endif |
OLD | NEW |