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

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

Issue 1724103002: Reverting changes that made window.scroll properties relative to the layout viewport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2623
Patch Set: 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) = 0; 149 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) = 0;
150 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) = 0; 150 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) = 0;
151 virtual void setReportWheelOverscroll(bool) = 0; 151 virtual void setReportWheelOverscroll(bool) = 0;
152 virtual void setForceZeroLayoutHeight(bool) = 0; 152 virtual void setForceZeroLayoutHeight(bool) = 0;
153 virtual void setFullscreenSupported(bool) = 0; 153 virtual void setFullscreenSupported(bool) = 0;
154 virtual void setHyperlinkAuditingEnabled(bool) = 0; 154 virtual void setHyperlinkAuditingEnabled(bool) = 0;
155 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) = 0; 155 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) = 0;
156 virtual void setImageAnimationPolicy(ImageAnimationPolicy) = 0; 156 virtual void setImageAnimationPolicy(ImageAnimationPolicy) = 0;
157 virtual void setImagesEnabled(bool) = 0; 157 virtual void setImagesEnabled(bool) = 0;
158 virtual void setInlineTextBoxAccessibilityEnabled(bool) = 0; 158 virtual void setInlineTextBoxAccessibilityEnabled(bool) = 0;
159 virtual void setInertVisualViewport(bool) = 0;
159 virtual void setJavaScriptCanAccessClipboard(bool) = 0; 160 virtual void setJavaScriptCanAccessClipboard(bool) = 0;
160 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) = 0; 161 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) = 0;
161 virtual void setJavaScriptEnabled(bool) = 0; 162 virtual void setJavaScriptEnabled(bool) = 0;
162 void setLayerSquashingEnabled(bool) { } 163 void setLayerSquashingEnabled(bool) { }
163 virtual void setLoadsImagesAutomatically(bool) = 0; 164 virtual void setLoadsImagesAutomatically(bool) = 0;
164 virtual void setLoadWithOverviewMode(bool) = 0; 165 virtual void setLoadWithOverviewMode(bool) = 0;
165 virtual void setLocalStorageEnabled(bool) = 0; 166 virtual void setLocalStorageEnabled(bool) = 0;
166 virtual void setMainFrameClipsContent(bool) = 0; 167 virtual void setMainFrameClipsContent(bool) = 0;
167 virtual void setMainFrameResizesAreOrientationChanges(bool) = 0; 168 virtual void setMainFrameResizesAreOrientationChanges(bool) = 0;
168 virtual void setMaxTouchPoints(int) = 0; 169 virtual void setMaxTouchPoints(int) = 0;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 virtual void setWideViewportQuirkEnabled(bool) = 0; 253 virtual void setWideViewportQuirkEnabled(bool) = 0;
253 virtual void setXSSAuditorEnabled(bool) = 0; 254 virtual void setXSSAuditorEnabled(bool) = 0;
254 255
255 protected: 256 protected:
256 ~WebSettings() { } 257 ~WebSettings() { }
257 }; 258 };
258 259
259 } // namespace blink 260 } // namespace blink
260 261
261 #endif 262 #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