| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 | 121 |
| 122 virtual bool shrinksViewportContentToFit() const = 0; | 122 virtual bool shrinksViewportContentToFit() const = 0; |
| 123 virtual bool viewportEnabled() const = 0; | 123 virtual bool viewportEnabled() const = 0; |
| 124 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0; | 124 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0; |
| 125 virtual void setAcceleratedCompositingEnabled(bool) = 0; | 125 virtual void setAcceleratedCompositingEnabled(bool) = 0; |
| 126 virtual void setPreferCompositingToLCDTextEnabled(bool) = 0; | 126 virtual void setPreferCompositingToLCDTextEnabled(bool) = 0; |
| 127 // Not implemented yet, see http://crbug.com/178119 | 127 // Not implemented yet, see http://crbug.com/178119 |
| 128 virtual void setAcceleratedCompositingForTransitionEnabled(bool) {} | 128 virtual void setAcceleratedCompositingForTransitionEnabled(bool) {} |
| 129 // If set to true, allows frames with an https origin to display passive | 129 // If set to true, allows frames with an https origin to display passive |
| 130 // contents at an insecure URL. Otherwise, disallows it. The | 130 // contents at an insecure URL. Otherwise, disallows it. The |
| 131 // FrameLoaderClient set to the frame may override the value set by this | 131 // LocalFrameClient set to the frame may override the value set by this |
| 132 // method. | 132 // method. |
| 133 virtual void setAccessibilityEnabled(bool) = 0; | 133 virtual void setAccessibilityEnabled(bool) = 0; |
| 134 virtual void setAccessibilityPasswordValuesEnabled(bool) = 0; | 134 virtual void setAccessibilityPasswordValuesEnabled(bool) = 0; |
| 135 virtual void setAllowFileAccessFromFileURLs(bool) = 0; | 135 virtual void setAllowFileAccessFromFileURLs(bool) = 0; |
| 136 virtual void setAllowCustomScrollbarInMainFrame(bool) = 0; | 136 virtual void setAllowCustomScrollbarInMainFrame(bool) = 0; |
| 137 virtual void setAllowGeolocationOnInsecureOrigins(bool) = 0; | 137 virtual void setAllowGeolocationOnInsecureOrigins(bool) = 0; |
| 138 // If set to true, allows frames with an https origin to run active | 138 // If set to true, allows frames with an https origin to run active |
| 139 // contents at an insecure URL. This includes WebSockets. Otherwise, | 139 // contents at an insecure URL. This includes WebSockets. Otherwise, |
| 140 // disallows it. The FrameLoaderClient set to the frame may override the | 140 // disallows it. The LocalFrameClient set to the frame may override the |
| 141 // value set by this method. | 141 // value set by this method. |
| 142 virtual void setAllowRunningOfInsecureContent(bool) = 0; | 142 virtual void setAllowRunningOfInsecureContent(bool) = 0; |
| 143 virtual void setAllowScriptsToCloseWindows(bool) = 0; | 143 virtual void setAllowScriptsToCloseWindows(bool) = 0; |
| 144 virtual void setAllowUniversalAccessFromFileURLs(bool) = 0; | 144 virtual void setAllowUniversalAccessFromFileURLs(bool) = 0; |
| 145 virtual void setAlwaysShowContextMenuOnTouch(bool) = 0; | 145 virtual void setAlwaysShowContextMenuOnTouch(bool) = 0; |
| 146 virtual void setAntialiased2dCanvasEnabled(bool) = 0; | 146 virtual void setAntialiased2dCanvasEnabled(bool) = 0; |
| 147 virtual void setAntialiasedClips2dCanvasEnabled(bool) = 0; | 147 virtual void setAntialiasedClips2dCanvasEnabled(bool) = 0; |
| 148 virtual void setAutoZoomFocusedNodeToLegibleScale(bool) = 0; | 148 virtual void setAutoZoomFocusedNodeToLegibleScale(bool) = 0; |
| 149 virtual void setBrowserSideNavigationEnabled(bool) = 0; | 149 virtual void setBrowserSideNavigationEnabled(bool) = 0; |
| 150 virtual void setClobberUserAgentInitialScaleQuirk(bool) = 0; | 150 virtual void setClobberUserAgentInitialScaleQuirk(bool) = 0; |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 virtual void setExpensiveBackgroundThrottlingMaxDelay(float) = 0; | 298 virtual void setExpensiveBackgroundThrottlingMaxDelay(float) = 0; |
| 299 virtual void setMediaControlsEnabled(bool) = 0; | 299 virtual void setMediaControlsEnabled(bool) = 0; |
| 300 | 300 |
| 301 protected: | 301 protected: |
| 302 ~WebSettings() {} | 302 ~WebSettings() {} |
| 303 }; | 303 }; |
| 304 | 304 |
| 305 } // namespace blink | 305 } // namespace blink |
| 306 | 306 |
| 307 #endif | 307 #endif |
| OLD | NEW |