| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 virtual bool mainFrameResizesAreOrientationChanges() const = 0; | 79 virtual bool mainFrameResizesAreOrientationChanges() const = 0; |
| 80 virtual int availablePointerTypes() const = 0; | 80 virtual int availablePointerTypes() const = 0; |
| 81 virtual PointerType primaryPointerType() const = 0; | 81 virtual PointerType primaryPointerType() const = 0; |
| 82 virtual int availableHoverTypes() const = 0; | 82 virtual int availableHoverTypes() const = 0; |
| 83 virtual HoverType primaryHoverType() const = 0; | 83 virtual HoverType primaryHoverType() const = 0; |
| 84 virtual bool shrinksViewportContentToFit() const = 0; | 84 virtual bool shrinksViewportContentToFit() const = 0; |
| 85 virtual void setAccelerated2dCanvasEnabled(bool) = 0; | 85 virtual void setAccelerated2dCanvasEnabled(bool) = 0; |
| 86 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0; | 86 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0; |
| 87 virtual void setPreferCompositingToLCDTextEnabled(bool) = 0; | |
| 88 // Not implemented yet, see http://crbug.com/178119 | |
| 89 virtual void setAcceleratedCompositingForTransitionEnabled(bool) { }; | |
| 90 // If set to true, allows frames with an https origin to display passive | 87 // If set to true, allows frames with an https origin to display passive |
| 91 // contents at an insecure URL. Otherwise, disallows it. The | 88 // contents at an insecure URL. Otherwise, disallows it. The |
| 92 // FrameLoaderClient set to the frame may override the value set by this | 89 // FrameLoaderClient set to the frame may override the value set by this |
| 93 // method. | 90 // method. |
| 94 virtual void setAntialiased2dCanvasEnabled(bool) = 0; | 91 virtual void setAntialiased2dCanvasEnabled(bool) = 0; |
| 95 virtual void setAsynchronousSpellCheckingEnabled(bool) = 0; | 92 virtual void setAsynchronousSpellCheckingEnabled(bool) = 0; |
| 96 virtual void setContainerCullingEnabled(bool) = 0; | 93 virtual void setContainerCullingEnabled(bool) = 0; |
| 97 virtual void setCursiveFontFamily(const WebString&, UScriptCode = USCRIPT_CO
MMON) = 0; | 94 virtual void setCursiveFontFamily(const WebString&, UScriptCode = USCRIPT_CO
MMON) = 0; |
| 98 virtual void setDOMPasteAllowed(bool) = 0; | 95 virtual void setDOMPasteAllowed(bool) = 0; |
| 99 virtual void setDefaultFixedFontSize(int) = 0; | 96 virtual void setDefaultFixedFontSize(int) = 0; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 virtual void setV8CacheOptions(V8CacheOptions) = 0; | 138 virtual void setV8CacheOptions(V8CacheOptions) = 0; |
| 142 virtual void setWebGLErrorsToConsoleEnabled(bool) = 0; | 139 virtual void setWebGLErrorsToConsoleEnabled(bool) = 0; |
| 143 | 140 |
| 144 protected: | 141 protected: |
| 145 ~WebSettings() { } | 142 ~WebSettings() { } |
| 146 }; | 143 }; |
| 147 | 144 |
| 148 } // namespace blink | 145 } // namespace blink |
| 149 | 146 |
| 150 #endif // SKY_ENGINE_PUBLIC_WEB_WEBSETTINGS_H_ | 147 #endif // SKY_ENGINE_PUBLIC_WEB_WEBSETTINGS_H_ |
| OLD | NEW |