| 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 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 #ifndef WebSettingsImpl_h | 31 #ifndef WebSettingsImpl_h |
| 32 #define WebSettingsImpl_h | 32 #define WebSettingsImpl_h |
| 33 | 33 |
| 34 #include "public/web/WebSettings.h" | 34 #include "public/web/WebSettings.h" |
| 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 mainFrameResizesAreOrientationChanges() const override; | 45 virtual bool mainFrameResizesAreOrientationChanges() const override; |
| 46 virtual bool shrinksViewportContentToFit() const override; | 46 virtual bool shrinksViewportContentToFit() const override; |
| 47 virtual int availablePointerTypes() const override; | 47 virtual int availablePointerTypes() const override; |
| 48 virtual PointerType primaryPointerType() const override; | 48 virtual PointerType primaryPointerType() const override; |
| 49 virtual int availableHoverTypes() const override; | 49 virtual int availableHoverTypes() const override; |
| 50 virtual HoverType primaryHoverType() const override; | 50 virtual HoverType primaryHoverType() const override; |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 bool m_deferredImageDecodingEnabled; | 127 bool m_deferredImageDecodingEnabled; |
| 128 bool m_perTilePaintingEnabled; | 128 bool m_perTilePaintingEnabled; |
| 129 bool m_supportDeprecatedTargetDensityDPI; | 129 bool m_supportDeprecatedTargetDensityDPI; |
| 130 bool m_shrinksViewportContentToFit; | 130 bool m_shrinksViewportContentToFit; |
| 131 bool m_mainFrameResizesAreOrientationChanges; | 131 bool m_mainFrameResizesAreOrientationChanges; |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 } // namespace blink | 134 } // namespace blink |
| 135 | 135 |
| 136 #endif | 136 #endif |
| OLD | NEW |