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

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

Issue 23691017: [Android WebView] Treat zero values in viewport arguments specially (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Separated two quirks and moved the zero values quirk into the parsing stage 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
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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 setViewportMetaLayoutSizeQuirk(bool);
169 virtual void setViewportMetaZeroValuesQuirk(bool);
169 virtual void setVisualWordMovementEnabled(bool); 170 virtual void setVisualWordMovementEnabled(bool);
170 virtual void setWebAudioEnabled(bool); 171 virtual void setWebAudioEnabled(bool);
171 virtual void setWebGLErrorsToConsoleEnabled(bool); 172 virtual void setWebGLErrorsToConsoleEnabled(bool);
172 virtual void setWebSecurityEnabled(bool); 173 virtual void setWebSecurityEnabled(bool);
173 virtual void setXSSAuditorEnabled(bool); 174 virtual void setXSSAuditorEnabled(bool);
174 175
175 bool showFPSCounter() const { return m_showFPSCounter; } 176 bool showFPSCounter() const { return m_showFPSCounter; }
176 bool showPaintRects() const { return m_showPaintRects; } 177 bool showPaintRects() const { return m_showPaintRects; }
177 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; } 178 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; }
178 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; } 179 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; }
(...skipping 18 matching lines...) Expand all
197 // This quirk is to maintain compatibility with Android apps built on 198 // This quirk is to maintain compatibility with Android apps built on
198 // the Android SDK prior to and including version 18. Presumably, this 199 // 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 // can be removed any time after 2015. See http://crbug.com/277369.
200 bool m_viewportMetaLayoutSizeQuirk; 201 bool m_viewportMetaLayoutSizeQuirk;
201 int m_pinchOverlayScrollbarThickness; 202 int m_pinchOverlayScrollbarThickness;
202 }; 203 };
203 204
204 } // namespace WebKit 205 } // namespace WebKit
205 206
206 #endif 207 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698