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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 V8CacheOptionsParse, | 57 V8CacheOptionsParse, |
58 V8CacheOptionsCode | 58 V8CacheOptionsCode |
59 }; | 59 }; |
60 | 60 |
61 virtual bool mainFrameResizesAreOrientationChanges() const = 0; | 61 virtual bool mainFrameResizesAreOrientationChanges() const = 0; |
62 virtual bool shrinksViewportContentToFit() const = 0; | 62 virtual bool shrinksViewportContentToFit() const = 0; |
63 virtual bool viewportEnabled() const = 0; | 63 virtual bool viewportEnabled() const = 0; |
64 virtual void setAccelerated2dCanvasEnabled(bool) = 0; | 64 virtual void setAccelerated2dCanvasEnabled(bool) = 0; |
65 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0; | 65 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0; |
66 virtual void setAcceleratedCompositingEnabled(bool) = 0; | 66 virtual void setAcceleratedCompositingEnabled(bool) = 0; |
| 67 virtual void setPreferCompositingToLCDTextEnabled(bool) = 0; |
67 virtual void setAcceleratedCompositingForFixedPositionEnabled(bool) = 0; | 68 virtual void setAcceleratedCompositingForFixedPositionEnabled(bool) = 0; |
68 virtual void setAcceleratedCompositingForFixedRootBackgroundEnabled(bool) =
0; | 69 virtual void setAcceleratedCompositingForFixedRootBackgroundEnabled(bool) =
0; |
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 // If set to true, allows frames with an https origin to display passive | 74 // If set to true, allows frames with an https origin to display passive |
74 // contents at an insecure URL. Otherwise, disallows it. The | 75 // contents at an insecure URL. Otherwise, disallows it. The |
75 // FrameLoaderClient set to the frame may override the value set by this | 76 // FrameLoaderClient set to the frame may override the value set by this |
76 // method. | 77 // method. |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 virtual void setWideViewportQuirkEnabled(bool) = 0; | 206 virtual void setWideViewportQuirkEnabled(bool) = 0; |
206 virtual void setXSSAuditorEnabled(bool) = 0; | 207 virtual void setXSSAuditorEnabled(bool) = 0; |
207 | 208 |
208 protected: | 209 protected: |
209 ~WebSettings() { } | 210 ~WebSettings() { } |
210 }; | 211 }; |
211 | 212 |
212 } // namespace blink | 213 } // namespace blink |
213 | 214 |
214 #endif | 215 #endif |
OLD | NEW |