| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 virtual void setAntialiased2dCanvasEnabled(bool) = 0; | 94 virtual void setAntialiased2dCanvasEnabled(bool) = 0; |
| 95 virtual void setAsynchronousSpellCheckingEnabled(bool) = 0; | 95 virtual void setAsynchronousSpellCheckingEnabled(bool) = 0; |
| 96 virtual void setContainerCullingEnabled(bool) = 0; | 96 virtual void setContainerCullingEnabled(bool) = 0; |
| 97 virtual void setCursiveFontFamily(const WebString&, UScriptCode = USCRIPT_CO
MMON) = 0; | 97 virtual void setCursiveFontFamily(const WebString&, UScriptCode = USCRIPT_CO
MMON) = 0; |
| 98 virtual void setDOMPasteAllowed(bool) = 0; | 98 virtual void setDOMPasteAllowed(bool) = 0; |
| 99 virtual void setDefaultFixedFontSize(int) = 0; | 99 virtual void setDefaultFixedFontSize(int) = 0; |
| 100 virtual void setDefaultFontSize(int) = 0; | 100 virtual void setDefaultFontSize(int) = 0; |
| 101 virtual void setDefaultTextEncodingName(const WebString&) = 0; | 101 virtual void setDefaultTextEncodingName(const WebString&) = 0; |
| 102 virtual void setDefaultVideoPosterURL(const WebString&) = 0; | 102 virtual void setDefaultVideoPosterURL(const WebString&) = 0; |
| 103 void setDeferred2dCanvasEnabled(bool) { } // temporary stub | 103 void setDeferred2dCanvasEnabled(bool) { } // temporary stub |
| 104 virtual void setDeferredFiltersEnabled(bool) = 0; | |
| 105 virtual void setDeferredImageDecodingEnabled(bool) = 0; | 104 virtual void setDeferredImageDecodingEnabled(bool) = 0; |
| 106 virtual void setDeviceSupportsMouse(bool) = 0; | 105 virtual void setDeviceSupportsMouse(bool) = 0; |
| 107 virtual void setDeviceSupportsTouch(bool) = 0; | 106 virtual void setDeviceSupportsTouch(bool) = 0; |
| 108 virtual void setDownloadableBinaryFontsEnabled(bool) = 0; | 107 virtual void setDownloadableBinaryFontsEnabled(bool) = 0; |
| 109 virtual void setExperimentalWebGLEnabled(bool) = 0; | 108 virtual void setExperimentalWebGLEnabled(bool) = 0; |
| 110 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO
MMON) = 0; | 109 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO
MMON) = 0; |
| 111 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM
ON) = 0; | 110 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM
ON) = 0; |
| 112 virtual void setForceZeroLayoutHeight(bool) = 0; | 111 virtual void setForceZeroLayoutHeight(bool) = 0; |
| 113 virtual void setImagesEnabled(bool) = 0; | 112 virtual void setImagesEnabled(bool) = 0; |
| 114 virtual void setJavaScriptCanAccessClipboard(bool) = 0; | 113 virtual void setJavaScriptCanAccessClipboard(bool) = 0; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 virtual void setV8CacheOptions(V8CacheOptions) = 0; | 145 virtual void setV8CacheOptions(V8CacheOptions) = 0; |
| 147 virtual void setWebGLErrorsToConsoleEnabled(bool) = 0; | 146 virtual void setWebGLErrorsToConsoleEnabled(bool) = 0; |
| 148 | 147 |
| 149 protected: | 148 protected: |
| 150 ~WebSettings() { } | 149 ~WebSettings() { } |
| 151 }; | 150 }; |
| 152 | 151 |
| 153 } // namespace blink | 152 } // namespace blink |
| 154 | 153 |
| 155 #endif // SKY_ENGINE_PUBLIC_WEB_WEBSETTINGS_H_ | 154 #endif // SKY_ENGINE_PUBLIC_WEB_WEBSETTINGS_H_ |
| OLD | NEW |