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

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

Issue 382543003: Add a force-layout-height-to-zero layout mode to WebViewImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: make it a setting Created 6 years, 5 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
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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 virtual void setDeviceSupportsTouch(bool) OVERRIDE; 92 virtual void setDeviceSupportsTouch(bool) OVERRIDE;
93 virtual void setDoubleTapToZoomEnabled(bool) OVERRIDE; 93 virtual void setDoubleTapToZoomEnabled(bool) OVERRIDE;
94 virtual void setDownloadableBinaryFontsEnabled(bool) OVERRIDE; 94 virtual void setDownloadableBinaryFontsEnabled(bool) OVERRIDE;
95 virtual void setEditingBehavior(EditingBehavior) OVERRIDE; 95 virtual void setEditingBehavior(EditingBehavior) OVERRIDE;
96 virtual void setEnableScrollAnimator(bool) OVERRIDE; 96 virtual void setEnableScrollAnimator(bool) OVERRIDE;
97 virtual void setEnableTouchAdjustment(bool) OVERRIDE; 97 virtual void setEnableTouchAdjustment(bool) OVERRIDE;
98 virtual void setRegionBasedColumnsEnabled(bool) OVERRIDE; 98 virtual void setRegionBasedColumnsEnabled(bool) OVERRIDE;
99 virtual void setExperimentalWebGLEnabled(bool) OVERRIDE; 99 virtual void setExperimentalWebGLEnabled(bool) OVERRIDE;
100 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) OVERRIDE; 100 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) OVERRIDE;
101 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) OVERRIDE; 101 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) OVERRIDE;
102 virtual void setForceZeroLayoutHeight(bool) OVERRIDE;
102 virtual void setGestureTapHighlightEnabled(bool) OVERRIDE; 103 virtual void setGestureTapHighlightEnabled(bool) OVERRIDE;
103 virtual void setHyperlinkAuditingEnabled(bool) OVERRIDE; 104 virtual void setHyperlinkAuditingEnabled(bool) OVERRIDE;
104 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) OVERRIDE; 105 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) OVERRIDE;
105 virtual void setImagesEnabled(bool) OVERRIDE; 106 virtual void setImagesEnabled(bool) OVERRIDE;
106 virtual void setJavaEnabled(bool) OVERRIDE; 107 virtual void setJavaEnabled(bool) OVERRIDE;
107 virtual void setJavaScriptCanAccessClipboard(bool) OVERRIDE; 108 virtual void setJavaScriptCanAccessClipboard(bool) OVERRIDE;
108 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) OVERRIDE; 109 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) OVERRIDE;
109 virtual void setJavaScriptEnabled(bool) OVERRIDE; 110 virtual void setJavaScriptEnabled(bool) OVERRIDE;
110 virtual void setLayerSquashingEnabled(bool) OVERRIDE; 111 virtual void setLayerSquashingEnabled(bool) OVERRIDE;
111 virtual void setLoadsImagesAutomatically(bool) OVERRIDE; 112 virtual void setLoadsImagesAutomatically(bool) OVERRIDE;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 // This quirk is to maintain compatibility with Android apps built on 213 // This quirk is to maintain compatibility with Android apps built on
213 // the Android SDK prior to and including version 18. Presumably, this 214 // the Android SDK prior to and including version 18. Presumably, this
214 // can be removed any time after 2015. See http://crbug.com/313754. 215 // can be removed any time after 2015. See http://crbug.com/313754.
215 bool m_clobberUserAgentInitialScaleQuirk; 216 bool m_clobberUserAgentInitialScaleQuirk;
216 bool m_mainFrameResizesAreOrientationChanges; 217 bool m_mainFrameResizesAreOrientationChanges;
217 }; 218 };
218 219
219 } // namespace blink 220 } // namespace blink
220 221
221 #endif 222 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698