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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 virtual void setShouldClearDocumentBackground(bool) override; | 94 virtual void setShouldClearDocumentBackground(bool) override; |
95 virtual void setShouldRespectImageOrientation(bool) override; | 95 virtual void setShouldRespectImageOrientation(bool) override; |
96 virtual void setShowPaintRects(bool) override; | 96 virtual void setShowPaintRects(bool) override; |
97 virtual void setShrinksViewportContentToFit(bool) override; | 97 virtual void setShrinksViewportContentToFit(bool) override; |
98 virtual void setSmartInsertDeleteEnabled(bool) override; | 98 virtual void setSmartInsertDeleteEnabled(bool) override; |
99 virtual void setStandardFontFamily(const WebString&, UScriptCode = USCRIPT_C
OMMON) override; | 99 virtual void setStandardFontFamily(const WebString&, UScriptCode = USCRIPT_C
OMMON) override; |
100 virtual void setSupportDeprecatedTargetDensityDPI(bool) override; | 100 virtual void setSupportDeprecatedTargetDensityDPI(bool) override; |
101 virtual void setTouchEditingEnabled(bool) override; | 101 virtual void setTouchEditingEnabled(bool) override; |
102 virtual void setUnifiedTextCheckerEnabled(bool) override; | 102 virtual void setUnifiedTextCheckerEnabled(bool) override; |
103 virtual void setUseWideViewport(bool) override; | 103 virtual void setUseWideViewport(bool) override; |
104 virtual void setV8CacheOptions(V8CacheOptions) override; | |
105 virtual void setWebGLErrorsToConsoleEnabled(bool) override; | 104 virtual void setWebGLErrorsToConsoleEnabled(bool) override; |
106 | 105 |
107 bool showPaintRects() const { return m_showPaintRects; } | 106 bool showPaintRects() const { return m_showPaintRects; } |
108 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati
onEnabled; } | 107 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati
onEnabled; } |
109 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } | 108 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } |
110 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } | 109 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } |
111 | 110 |
112 void setMockGestureTapHighlightsEnabled(bool); | 111 void setMockGestureTapHighlightsEnabled(bool); |
113 bool mockGestureTapHighlightsEnabled() const; | 112 bool mockGestureTapHighlightsEnabled() const; |
114 | 113 |
115 private: | 114 private: |
116 Settings* m_settings; | 115 Settings* m_settings; |
117 bool m_showPaintRects; | 116 bool m_showPaintRects; |
118 bool m_renderVSyncNotificationEnabled; | 117 bool m_renderVSyncNotificationEnabled; |
119 bool m_deferredImageDecodingEnabled; | 118 bool m_deferredImageDecodingEnabled; |
120 bool m_perTilePaintingEnabled; | 119 bool m_perTilePaintingEnabled; |
121 bool m_supportDeprecatedTargetDensityDPI; | 120 bool m_supportDeprecatedTargetDensityDPI; |
122 bool m_shrinksViewportContentToFit; | 121 bool m_shrinksViewportContentToFit; |
123 bool m_mainFrameResizesAreOrientationChanges; | 122 bool m_mainFrameResizesAreOrientationChanges; |
124 }; | 123 }; |
125 | 124 |
126 } // namespace blink | 125 } // namespace blink |
127 | 126 |
128 #endif // SKY_ENGINE_WEB_WEBSETTINGSIMPL_H_ | 127 #endif // SKY_ENGINE_WEB_WEBSETTINGSIMPL_H_ |
OLD | NEW |