Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(465)

Side by Side Diff: Source/web/WebSettingsImpl.h

Issue 23038013: [Android WebView] Avoid expanding layout width to match the old WebView (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed aelias' comments Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/ViewportArguments.h ('k') | Source/web/WebSettingsImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 virtual void setThreadedHTMLParser(bool); 158 virtual void setThreadedHTMLParser(bool);
159 virtual void setUnifiedTextCheckerEnabled(bool); 159 virtual void setUnifiedTextCheckerEnabled(bool);
160 virtual void setUnsafePluginPastingEnabled(bool); 160 virtual void setUnsafePluginPastingEnabled(bool);
161 virtual void setUserStyleSheetLocation(const WebURL&); 161 virtual void setUserStyleSheetLocation(const WebURL&);
162 virtual void setUsesEncodingDetector(bool); 162 virtual void setUsesEncodingDetector(bool);
163 virtual void setUseLegacyBackgroundSizeShorthandBehavior(bool); 163 virtual void setUseLegacyBackgroundSizeShorthandBehavior(bool);
164 virtual void setUseSolidColorScrollbars(bool); 164 virtual void setUseSolidColorScrollbars(bool);
165 virtual void setUseWideViewport(bool); 165 virtual void setUseWideViewport(bool);
166 virtual void setValidationMessageTimerMagnification(int); 166 virtual void setValidationMessageTimerMagnification(int);
167 virtual void setViewportEnabled(bool); 167 virtual void setViewportEnabled(bool);
168 virtual void setViewportMetaLayoutSizeQuirk(bool);
168 virtual void setVisualWordMovementEnabled(bool); 169 virtual void setVisualWordMovementEnabled(bool);
169 virtual void setWebAudioEnabled(bool); 170 virtual void setWebAudioEnabled(bool);
170 virtual void setWebGLErrorsToConsoleEnabled(bool); 171 virtual void setWebGLErrorsToConsoleEnabled(bool);
171 virtual void setWebSecurityEnabled(bool); 172 virtual void setWebSecurityEnabled(bool);
172 virtual void setXSSAuditorEnabled(bool); 173 virtual void setXSSAuditorEnabled(bool);
173 174
174 bool showFPSCounter() const { return m_showFPSCounter; } 175 bool showFPSCounter() const { return m_showFPSCounter; }
175 bool showPaintRects() const { return m_showPaintRects; } 176 bool showPaintRects() const { return m_showPaintRects; }
176 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; } 177 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; }
177 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; } 178 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; }
178 bool gestureTapHighlightEnabled() const { return m_gestureTapHighlightEnable d; } 179 bool gestureTapHighlightEnabled() const { return m_gestureTapHighlightEnable d; }
179 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } 180 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; }
180 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } 181 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; }
181 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; } 182 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; }
183 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu irk; }
182 int pinchOverlayScrollbarThickness() const { return m_pinchOverlayScrollbarT hickness; } 184 int pinchOverlayScrollbarThickness() const { return m_pinchOverlayScrollbarT hickness; }
183 185
184 private: 186 private:
185 WebCore::Settings* m_settings; 187 WebCore::Settings* m_settings;
186 bool m_showFPSCounter; 188 bool m_showFPSCounter;
187 bool m_showPaintRects; 189 bool m_showPaintRects;
188 bool m_renderVSyncNotificationEnabled; 190 bool m_renderVSyncNotificationEnabled;
189 bool m_gestureTapHighlightEnabled; 191 bool m_gestureTapHighlightEnabled;
190 bool m_autoZoomFocusedNodeToLegibleScale; 192 bool m_autoZoomFocusedNodeToLegibleScale;
191 bool m_deferredImageDecodingEnabled; 193 bool m_deferredImageDecodingEnabled;
192 bool m_doubleTapToZoomEnabled; 194 bool m_doubleTapToZoomEnabled;
193 bool m_perTilePaintingEnabled; 195 bool m_perTilePaintingEnabled;
194 bool m_supportDeprecatedTargetDensityDPI; 196 bool m_supportDeprecatedTargetDensityDPI;
197 // This quirk is to maintain compatibility with Android apps built on
198 // the Android SDK prior to and including version 18. Presumably, this
199 // can be removed any time after 2015. See http://crbug.com/277369.
200 bool m_viewportMetaLayoutSizeQuirk;
195 int m_pinchOverlayScrollbarThickness; 201 int m_pinchOverlayScrollbarThickness;
196 }; 202 };
197 203
198 } // namespace WebKit 204 } // namespace WebKit
199 205
200 #endif 206 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/ViewportArguments.h ('k') | Source/web/WebSettingsImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698