| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 virtual void setAvailablePointerTypes(int) override; | 89 virtual void setAvailablePointerTypes(int) override; |
| 90 virtual void setPrimaryPointerType(PointerType) override; | 90 virtual void setPrimaryPointerType(PointerType) override; |
| 91 virtual void setAvailableHoverTypes(int) override; | 91 virtual void setAvailableHoverTypes(int) override; |
| 92 virtual void setPrimaryHoverType(HoverType) override; | 92 virtual void setPrimaryHoverType(HoverType) override; |
| 93 virtual void setRenderVSyncNotificationEnabled(bool) override; | 93 virtual void setRenderVSyncNotificationEnabled(bool) override; |
| 94 virtual void setSansSerifFontFamily(const WebString&, UScriptCode = USCRIPT_
COMMON) override; | 94 virtual void setSansSerifFontFamily(const WebString&, UScriptCode = USCRIPT_
COMMON) override; |
| 95 virtual void setSelectionIncludesAltImageText(bool) override; | 95 virtual void setSelectionIncludesAltImageText(bool) override; |
| 96 virtual void setSerifFontFamily(const WebString&, UScriptCode = USCRIPT_COMM
ON) override; | 96 virtual void setSerifFontFamily(const WebString&, UScriptCode = USCRIPT_COMM
ON) override; |
| 97 virtual void setShouldClearDocumentBackground(bool) override; | 97 virtual void setShouldClearDocumentBackground(bool) override; |
| 98 virtual void setShouldRespectImageOrientation(bool) override; | 98 virtual void setShouldRespectImageOrientation(bool) override; |
| 99 virtual void setShowFPSCounter(bool) override; | |
| 100 virtual void setShowPaintRects(bool) override; | 99 virtual void setShowPaintRects(bool) override; |
| 101 virtual void setShrinksViewportContentToFit(bool) override; | 100 virtual void setShrinksViewportContentToFit(bool) override; |
| 102 virtual void setSmartInsertDeleteEnabled(bool) override; | 101 virtual void setSmartInsertDeleteEnabled(bool) override; |
| 103 virtual void setStandardFontFamily(const WebString&, UScriptCode = USCRIPT_C
OMMON) override; | 102 virtual void setStandardFontFamily(const WebString&, UScriptCode = USCRIPT_C
OMMON) override; |
| 104 virtual void setSupportDeprecatedTargetDensityDPI(bool) override; | 103 virtual void setSupportDeprecatedTargetDensityDPI(bool) override; |
| 105 virtual void setTouchEditingEnabled(bool) override; | 104 virtual void setTouchEditingEnabled(bool) override; |
| 106 virtual void setUnifiedTextCheckerEnabled(bool) override; | 105 virtual void setUnifiedTextCheckerEnabled(bool) override; |
| 107 virtual void setUseSolidColorScrollbars(bool) override; | 106 virtual void setUseSolidColorScrollbars(bool) override; |
| 108 virtual void setUseWideViewport(bool) override; | 107 virtual void setUseWideViewport(bool) override; |
| 109 virtual void setV8CacheOptions(V8CacheOptions) override; | 108 virtual void setV8CacheOptions(V8CacheOptions) override; |
| 110 virtual void setWebGLErrorsToConsoleEnabled(bool) override; | 109 virtual void setWebGLErrorsToConsoleEnabled(bool) override; |
| 111 | 110 |
| 112 bool showFPSCounter() const { return m_showFPSCounter; } | |
| 113 bool showPaintRects() const { return m_showPaintRects; } | 111 bool showPaintRects() const { return m_showPaintRects; } |
| 114 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati
onEnabled; } | 112 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati
onEnabled; } |
| 115 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } | 113 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } |
| 116 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } | 114 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } |
| 117 | 115 |
| 118 void setMockGestureTapHighlightsEnabled(bool); | 116 void setMockGestureTapHighlightsEnabled(bool); |
| 119 bool mockGestureTapHighlightsEnabled() const; | 117 bool mockGestureTapHighlightsEnabled() const; |
| 120 | 118 |
| 121 private: | 119 private: |
| 122 Settings* m_settings; | 120 Settings* m_settings; |
| 123 bool m_showFPSCounter; | |
| 124 bool m_showPaintRects; | 121 bool m_showPaintRects; |
| 125 bool m_renderVSyncNotificationEnabled; | 122 bool m_renderVSyncNotificationEnabled; |
| 126 bool m_deferredImageDecodingEnabled; | 123 bool m_deferredImageDecodingEnabled; |
| 127 bool m_perTilePaintingEnabled; | 124 bool m_perTilePaintingEnabled; |
| 128 bool m_supportDeprecatedTargetDensityDPI; | 125 bool m_supportDeprecatedTargetDensityDPI; |
| 129 bool m_shrinksViewportContentToFit; | 126 bool m_shrinksViewportContentToFit; |
| 130 bool m_mainFrameResizesAreOrientationChanges; | 127 bool m_mainFrameResizesAreOrientationChanges; |
| 131 }; | 128 }; |
| 132 | 129 |
| 133 } // namespace blink | 130 } // namespace blink |
| 134 | 131 |
| 135 #endif // SKY_ENGINE_WEB_WEBSETTINGSIMPL_H_ | 132 #endif // SKY_ENGINE_WEB_WEBSETTINGSIMPL_H_ |
| OLD | NEW |