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 virtual void setAcceleratedCompositingForGpuRasterizationHintEnabled(bool) = 0; | 68 // DEPRECATED: Does nothing. |
69 virtual void setAcceleratedCompositingForGpuRasterizationHintEnabled(bool) { }; | |
ajuma
2014/05/07 20:08:24
The chromium-side caller has already been removed
| |
69 virtual void setAcceleratedCompositingForOverflowScrollEnabled(bool) = 0; | 70 virtual void setAcceleratedCompositingForOverflowScrollEnabled(bool) = 0; |
70 virtual void setCompositorDrivenAcceleratedScrollingEnabled(bool) = 0; | 71 virtual void setCompositorDrivenAcceleratedScrollingEnabled(bool) = 0; |
71 // Not implemented yet, see http://crbug.com/178119 | 72 // Not implemented yet, see http://crbug.com/178119 |
72 virtual void setAcceleratedCompositingForTransitionEnabled(bool) { }; | 73 virtual void setAcceleratedCompositingForTransitionEnabled(bool) { }; |
73 virtual void setAcceleratedCompositingForVideoEnabled(bool) = 0; | 74 virtual void setAcceleratedCompositingForVideoEnabled(bool) = 0; |
74 // If set to true, allows frames with an https origin to display passive | 75 // If set to true, allows frames with an https origin to display passive |
75 // contents at an insecure URL. Otherwise, disallows it. The | 76 // contents at an insecure URL. Otherwise, disallows it. The |
76 // FrameLoaderClient set to the frame may override the value set by this | 77 // FrameLoaderClient set to the frame may override the value set by this |
77 // method. | 78 // method. |
78 virtual void setAllowDisplayOfInsecureContent(bool) = 0; | 79 virtual void setAllowDisplayOfInsecureContent(bool) = 0; |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
211 // FIXME: Remove these unused settings. | 212 // FIXME: Remove these unused settings. |
212 virtual void setFixedPositionCreatesStackingContext(bool) { } | 213 virtual void setFixedPositionCreatesStackingContext(bool) { } |
213 | 214 |
214 protected: | 215 protected: |
215 ~WebSettings() { } | 216 ~WebSettings() { } |
216 }; | 217 }; |
217 | 218 |
218 } // namespace blink | 219 } // namespace blink |
219 | 220 |
220 #endif | 221 #endif |
OLD | NEW |