| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 public: | 47 public: |
| 48 enum EditingBehavior { | 48 enum EditingBehavior { |
| 49 EditingBehaviorMac, | 49 EditingBehaviorMac, |
| 50 EditingBehaviorWin, | 50 EditingBehaviorWin, |
| 51 EditingBehaviorUnix, | 51 EditingBehaviorUnix, |
| 52 EditingBehaviorAndroid | 52 EditingBehaviorAndroid |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 virtual bool mainFrameResizesAreOrientationChanges() const = 0; | 55 virtual bool mainFrameResizesAreOrientationChanges() const = 0; |
| 56 virtual bool shrinksViewportContentToFit() const = 0; | 56 virtual bool shrinksViewportContentToFit() const = 0; |
| 57 virtual bool scrollAnimatorEnabled() const = 0; | |
| 58 virtual bool touchEditingEnabled() const = 0; | |
| 59 virtual bool viewportEnabled() const = 0; | 57 virtual bool viewportEnabled() const = 0; |
| 60 virtual bool viewportMetaEnabled() const = 0; | |
| 61 virtual void setAccelerated2dCanvasEnabled(bool) = 0; | 58 virtual void setAccelerated2dCanvasEnabled(bool) = 0; |
| 62 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0; | 59 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0; |
| 63 virtual void setAcceleratedCompositingEnabled(bool) = 0; | 60 virtual void setAcceleratedCompositingEnabled(bool) = 0; |
| 64 virtual void setAcceleratedCompositingForCanvasEnabled(bool) = 0; | 61 virtual void setAcceleratedCompositingForCanvasEnabled(bool) = 0; |
| 65 virtual void setAcceleratedCompositingForFiltersEnabled(bool) = 0; | 62 virtual void setAcceleratedCompositingForFiltersEnabled(bool) = 0; |
| 66 virtual void setAcceleratedCompositingForFixedPositionEnabled(bool) = 0; | 63 virtual void setAcceleratedCompositingForFixedPositionEnabled(bool) = 0; |
| 67 virtual void setAcceleratedCompositingForFixedRootBackgroundEnabled(bool) =
0; | 64 virtual void setAcceleratedCompositingForFixedRootBackgroundEnabled(bool) =
0; |
| 68 virtual void setAcceleratedCompositingForOverflowScrollEnabled(bool) = 0; | 65 virtual void setAcceleratedCompositingForOverflowScrollEnabled(bool) = 0; |
| 69 virtual void setCompositorDrivenAcceleratedScrollingEnabled(bool) = 0; | 66 virtual void setCompositorDrivenAcceleratedScrollingEnabled(bool) = 0; |
| 70 // Not implemented yet, see http://crbug.com/178119 | 67 // Not implemented yet, see http://crbug.com/178119 |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 virtual void setWideViewportQuirkEnabled(bool) = 0; | 200 virtual void setWideViewportQuirkEnabled(bool) = 0; |
| 204 virtual void setXSSAuditorEnabled(bool) = 0; | 201 virtual void setXSSAuditorEnabled(bool) = 0; |
| 205 | 202 |
| 206 protected: | 203 protected: |
| 207 ~WebSettings() { } | 204 ~WebSettings() { } |
| 208 }; | 205 }; |
| 209 | 206 |
| 210 } // namespace blink | 207 } // namespace blink |
| 211 | 208 |
| 212 #endif | 209 #endif |
| OLD | NEW |