| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 virtual bool touchEditingEnabled() const = 0; | 58 virtual bool touchEditingEnabled() const = 0; |
| 59 virtual bool viewportEnabled() const = 0; | 59 virtual bool viewportEnabled() const = 0; |
| 60 virtual bool viewportMetaEnabled() const = 0; | 60 virtual bool viewportMetaEnabled() const = 0; |
| 61 virtual void setAccelerated2dCanvasEnabled(bool) = 0; | 61 virtual void setAccelerated2dCanvasEnabled(bool) = 0; |
| 62 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0; | 62 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0; |
| 63 virtual void setAcceleratedCompositingEnabled(bool) = 0; | 63 virtual void setAcceleratedCompositingEnabled(bool) = 0; |
| 64 virtual void setAcceleratedCompositingForCanvasEnabled(bool) = 0; | 64 virtual void setAcceleratedCompositingForCanvasEnabled(bool) = 0; |
| 65 virtual void setAcceleratedCompositingForFiltersEnabled(bool) = 0; | 65 virtual void setAcceleratedCompositingForFiltersEnabled(bool) = 0; |
| 66 virtual void setAcceleratedCompositingForFixedPositionEnabled(bool) = 0; | 66 virtual void setAcceleratedCompositingForFixedPositionEnabled(bool) = 0; |
| 67 virtual void setAcceleratedCompositingForFixedRootBackgroundEnabled(bool) =
0; | 67 virtual void setAcceleratedCompositingForFixedRootBackgroundEnabled(bool) =
0; |
| 68 // DEPRECATED: Does nothing. | |
| 69 virtual void setAcceleratedCompositingForGpuRasterizationHintEnabled(bool) {
}; | |
| 70 virtual void setAcceleratedCompositingForOverflowScrollEnabled(bool) = 0; | 68 virtual void setAcceleratedCompositingForOverflowScrollEnabled(bool) = 0; |
| 71 virtual void setCompositorDrivenAcceleratedScrollingEnabled(bool) = 0; | 69 virtual void setCompositorDrivenAcceleratedScrollingEnabled(bool) = 0; |
| 72 // Not implemented yet, see http://crbug.com/178119 | 70 // Not implemented yet, see http://crbug.com/178119 |
| 73 virtual void setAcceleratedCompositingForTransitionEnabled(bool) { }; | 71 virtual void setAcceleratedCompositingForTransitionEnabled(bool) { }; |
| 74 virtual void setAcceleratedCompositingForVideoEnabled(bool) = 0; | 72 virtual void setAcceleratedCompositingForVideoEnabled(bool) = 0; |
| 75 // If set to true, allows frames with an https origin to display passive | 73 // If set to true, allows frames with an https origin to display passive |
| 76 // contents at an insecure URL. Otherwise, disallows it. The | 74 // contents at an insecure URL. Otherwise, disallows it. The |
| 77 // FrameLoaderClient set to the frame may override the value set by this | 75 // FrameLoaderClient set to the frame may override the value set by this |
| 78 // method. | 76 // method. |
| 79 virtual void setAllowDisplayOfInsecureContent(bool) = 0; | 77 virtual void setAllowDisplayOfInsecureContent(bool) = 0; |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 // FIXME: Remove these unused settings. | 210 // FIXME: Remove these unused settings. |
| 213 virtual void setFixedPositionCreatesStackingContext(bool) { } | 211 virtual void setFixedPositionCreatesStackingContext(bool) { } |
| 214 | 212 |
| 215 protected: | 213 protected: |
| 216 ~WebSettings() { } | 214 ~WebSettings() { } |
| 217 }; | 215 }; |
| 218 | 216 |
| 219 } // namespace blink | 217 } // namespace blink |
| 220 | 218 |
| 221 #endif | 219 #endif |
| OLD | NEW |