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

Side by Side Diff: third_party/WebKit/public/web/WebSettings.h

Issue 1712743002: Revert "Make window.scroll properties relative to the layout viewport by default." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix failing test Created 4 years, 10 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 | « third_party/WebKit/Source/web/tests/VisualViewportTest.cpp ('k') | no next file » | 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) = 0; 150 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) = 0;
151 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) = 0; 151 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) = 0;
152 virtual void setReportWheelOverscroll(bool) = 0; 152 virtual void setReportWheelOverscroll(bool) = 0;
153 virtual void setForceZeroLayoutHeight(bool) = 0; 153 virtual void setForceZeroLayoutHeight(bool) = 0;
154 virtual void setFullscreenSupported(bool) = 0; 154 virtual void setFullscreenSupported(bool) = 0;
155 virtual void setHyperlinkAuditingEnabled(bool) = 0; 155 virtual void setHyperlinkAuditingEnabled(bool) = 0;
156 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) = 0; 156 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) = 0;
157 virtual void setImageAnimationPolicy(ImageAnimationPolicy) = 0; 157 virtual void setImageAnimationPolicy(ImageAnimationPolicy) = 0;
158 virtual void setImagesEnabled(bool) = 0; 158 virtual void setImagesEnabled(bool) = 0;
159 virtual void setInlineTextBoxAccessibilityEnabled(bool) = 0; 159 virtual void setInlineTextBoxAccessibilityEnabled(bool) = 0;
160 virtual void setInertVisualViewport(bool) = 0;
160 virtual void setJavaScriptCanAccessClipboard(bool) = 0; 161 virtual void setJavaScriptCanAccessClipboard(bool) = 0;
161 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) = 0; 162 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) = 0;
162 virtual void setJavaScriptEnabled(bool) = 0; 163 virtual void setJavaScriptEnabled(bool) = 0;
163 void setLayerSquashingEnabled(bool) { } 164 void setLayerSquashingEnabled(bool) { }
164 virtual void setLoadsImagesAutomatically(bool) = 0; 165 virtual void setLoadsImagesAutomatically(bool) = 0;
165 virtual void setLoadWithOverviewMode(bool) = 0; 166 virtual void setLoadWithOverviewMode(bool) = 0;
166 virtual void setLocalStorageEnabled(bool) = 0; 167 virtual void setLocalStorageEnabled(bool) = 0;
167 virtual void setMainFrameClipsContent(bool) = 0; 168 virtual void setMainFrameClipsContent(bool) = 0;
168 virtual void setMainFrameResizesAreOrientationChanges(bool) = 0; 169 virtual void setMainFrameResizesAreOrientationChanges(bool) = 0;
169 virtual void setMaxTouchPoints(int) = 0; 170 virtual void setMaxTouchPoints(int) = 0;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 virtual void setWideViewportQuirkEnabled(bool) = 0; 255 virtual void setWideViewportQuirkEnabled(bool) = 0;
255 virtual void setXSSAuditorEnabled(bool) = 0; 256 virtual void setXSSAuditorEnabled(bool) = 0;
256 257
257 protected: 258 protected:
258 ~WebSettings() { } 259 ~WebSettings() { }
259 }; 260 };
260 261
261 } // namespace blink 262 } // namespace blink
262 263
263 #endif 264 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/VisualViewportTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698