| 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 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 namespace blink { | 36 namespace blink { |
| 37 | 37 |
| 38 class Settings; | 38 class Settings; |
| 39 | 39 |
| 40 class WebSettingsImpl final : public WebSettings { | 40 class WebSettingsImpl final : public WebSettings { |
| 41 public: | 41 public: |
| 42 explicit WebSettingsImpl(Settings*); | 42 explicit WebSettingsImpl(Settings*); |
| 43 virtual ~WebSettingsImpl() { } | 43 virtual ~WebSettingsImpl() { } |
| 44 | 44 |
| 45 virtual bool compositorIsEnabled() const override; | |
| 46 virtual bool mainFrameResizesAreOrientationChanges() const override; | 45 virtual bool mainFrameResizesAreOrientationChanges() const override; |
| 47 virtual bool shrinksViewportContentToFit() const override; | 46 virtual bool shrinksViewportContentToFit() const override; |
| 48 virtual int availablePointerTypes() const override; | 47 virtual int availablePointerTypes() const override; |
| 49 virtual PointerType primaryPointerType() const override; | 48 virtual PointerType primaryPointerType() const override; |
| 50 virtual int availableHoverTypes() const override; | 49 virtual int availableHoverTypes() const override; |
| 51 virtual HoverType primaryHoverType() const override; | 50 virtual HoverType primaryHoverType() const override; |
| 52 virtual void setAccelerated2dCanvasEnabled(bool) override; | 51 virtual void setAccelerated2dCanvasEnabled(bool) override; |
| 53 virtual void setAccelerated2dCanvasMSAASampleCount(int) override; | 52 virtual void setAccelerated2dCanvasMSAASampleCount(int) override; |
| 54 virtual void setPreferCompositingToLCDTextEnabled(bool) override; | 53 virtual void setPreferCompositingToLCDTextEnabled(bool) override; |
| 55 virtual void setAntialiased2dCanvasEnabled(bool) override; | 54 virtual void setAntialiased2dCanvasEnabled(bool) override; |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 bool m_deferredImageDecodingEnabled; | 127 bool m_deferredImageDecodingEnabled; |
| 129 bool m_perTilePaintingEnabled; | 128 bool m_perTilePaintingEnabled; |
| 130 bool m_supportDeprecatedTargetDensityDPI; | 129 bool m_supportDeprecatedTargetDensityDPI; |
| 131 bool m_shrinksViewportContentToFit; | 130 bool m_shrinksViewportContentToFit; |
| 132 bool m_mainFrameResizesAreOrientationChanges; | 131 bool m_mainFrameResizesAreOrientationChanges; |
| 133 }; | 132 }; |
| 134 | 133 |
| 135 } // namespace blink | 134 } // namespace blink |
| 136 | 135 |
| 137 #endif // SKY_ENGINE_WEB_WEBSETTINGSIMPL_H_ | 136 #endif // SKY_ENGINE_WEB_WEBSETTINGSIMPL_H_ |
| OLD | NEW |