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

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

Issue 453893002: Add a force-layout-height-to-zero layout mode to WebViewImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « Source/core/frame/Settings.in ('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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 virtual void setDisallowFullscreenForNonMediaElements(bool) OVERRIDE; 87 virtual void setDisallowFullscreenForNonMediaElements(bool) OVERRIDE;
88 virtual void setDoubleTapToZoomEnabled(bool) OVERRIDE; 88 virtual void setDoubleTapToZoomEnabled(bool) OVERRIDE;
89 virtual void setDownloadableBinaryFontsEnabled(bool) OVERRIDE; 89 virtual void setDownloadableBinaryFontsEnabled(bool) OVERRIDE;
90 virtual void setEditingBehavior(EditingBehavior) OVERRIDE; 90 virtual void setEditingBehavior(EditingBehavior) OVERRIDE;
91 virtual void setEnableScrollAnimator(bool) OVERRIDE; 91 virtual void setEnableScrollAnimator(bool) OVERRIDE;
92 virtual void setEnableTouchAdjustment(bool) OVERRIDE; 92 virtual void setEnableTouchAdjustment(bool) OVERRIDE;
93 virtual void setRegionBasedColumnsEnabled(bool) OVERRIDE; 93 virtual void setRegionBasedColumnsEnabled(bool) OVERRIDE;
94 virtual void setExperimentalWebGLEnabled(bool) OVERRIDE; 94 virtual void setExperimentalWebGLEnabled(bool) OVERRIDE;
95 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) OVERRIDE; 95 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) OVERRIDE;
96 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) OVERRIDE; 96 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) OVERRIDE;
97 virtual void setForceZeroLayoutHeight(bool) OVERRIDE;
97 virtual void setFullscreenSupported(bool) OVERRIDE; 98 virtual void setFullscreenSupported(bool) OVERRIDE;
98 virtual void setHyperlinkAuditingEnabled(bool) OVERRIDE; 99 virtual void setHyperlinkAuditingEnabled(bool) OVERRIDE;
99 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) OVERRIDE; 100 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) OVERRIDE;
100 virtual void setImagesEnabled(bool) OVERRIDE; 101 virtual void setImagesEnabled(bool) OVERRIDE;
101 virtual void setJavaEnabled(bool) OVERRIDE; 102 virtual void setJavaEnabled(bool) OVERRIDE;
102 virtual void setJavaScriptCanAccessClipboard(bool) OVERRIDE; 103 virtual void setJavaScriptCanAccessClipboard(bool) OVERRIDE;
103 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) OVERRIDE; 104 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) OVERRIDE;
104 virtual void setJavaScriptEnabled(bool) OVERRIDE; 105 virtual void setJavaScriptEnabled(bool) OVERRIDE;
105 virtual void setLayerSquashingEnabled(bool) OVERRIDE; 106 virtual void setLayerSquashingEnabled(bool) OVERRIDE;
106 virtual void setLoadsImagesAutomatically(bool) OVERRIDE; 107 virtual void setLoadsImagesAutomatically(bool) OVERRIDE;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 // This quirk is to maintain compatibility with Android apps built on 210 // This quirk is to maintain compatibility with Android apps built on
210 // the Android SDK prior to and including version 18. Presumably, this 211 // the Android SDK prior to and including version 18. Presumably, this
211 // can be removed any time after 2015. See http://crbug.com/313754. 212 // can be removed any time after 2015. See http://crbug.com/313754.
212 bool m_clobberUserAgentInitialScaleQuirk; 213 bool m_clobberUserAgentInitialScaleQuirk;
213 bool m_mainFrameResizesAreOrientationChanges; 214 bool m_mainFrameResizesAreOrientationChanges;
214 }; 215 };
215 216
216 } // namespace blink 217 } // namespace blink
217 218
218 #endif 219 #endif
OLDNEW
« no previous file with comments | « Source/core/frame/Settings.in ('k') | Source/web/WebSettingsImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698