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

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

Issue 1356113002: Make window.scroll properties relative to the layout viewport. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rename settings flag and improved tests Created 5 years, 2 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 virtual void setReportWheelOverscroll(bool) = 0; 175 virtual void setReportWheelOverscroll(bool) = 0;
176 virtual void setForceZeroLayoutHeight(bool) = 0; 176 virtual void setForceZeroLayoutHeight(bool) = 0;
177 virtual void setFullscreenSupported(bool) = 0; 177 virtual void setFullscreenSupported(bool) = 0;
178 virtual void setHidePinchScrollbarsNearMinScale(bool) = 0; 178 virtual void setHidePinchScrollbarsNearMinScale(bool) = 0;
179 virtual void setHyperlinkAuditingEnabled(bool) = 0; 179 virtual void setHyperlinkAuditingEnabled(bool) = 0;
180 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) = 0; 180 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) = 0;
181 virtual void setImageAnimationPolicy(ImageAnimationPolicy) = 0; 181 virtual void setImageAnimationPolicy(ImageAnimationPolicy) = 0;
182 virtual void setImagesEnabled(bool) = 0; 182 virtual void setImagesEnabled(bool) = 0;
183 virtual void setInlineTextBoxAccessibilityEnabled(bool) = 0; 183 virtual void setInlineTextBoxAccessibilityEnabled(bool) = 0;
184 virtual void setInvertViewportScrollOrder(bool) = 0; 184 virtual void setInvertViewportScrollOrder(bool) = 0;
185 virtual void setInertVisualViewport(bool) = 0;
185 virtual void setJavaScriptCanAccessClipboard(bool) = 0; 186 virtual void setJavaScriptCanAccessClipboard(bool) = 0;
186 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) = 0; 187 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) = 0;
187 virtual void setJavaScriptEnabled(bool) = 0; 188 virtual void setJavaScriptEnabled(bool) = 0;
188 void setLayerSquashingEnabled(bool) { } 189 void setLayerSquashingEnabled(bool) { }
189 virtual void setLoadsImagesAutomatically(bool) = 0; 190 virtual void setLoadsImagesAutomatically(bool) = 0;
190 virtual void setLoadWithOverviewMode(bool) = 0; 191 virtual void setLoadWithOverviewMode(bool) = 0;
191 virtual void setLocalStorageEnabled(bool) = 0; 192 virtual void setLocalStorageEnabled(bool) = 0;
192 virtual void setMainFrameClipsContent(bool) = 0; 193 virtual void setMainFrameClipsContent(bool) = 0;
193 virtual void setMainFrameResizesAreOrientationChanges(bool) = 0; 194 virtual void setMainFrameResizesAreOrientationChanges(bool) = 0;
194 virtual void setMaxTouchPoints(int) = 0; 195 virtual void setMaxTouchPoints(int) = 0;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 virtual void setWideViewportQuirkEnabled(bool) = 0; 280 virtual void setWideViewportQuirkEnabled(bool) = 0;
280 virtual void setXSSAuditorEnabled(bool) = 0; 281 virtual void setXSSAuditorEnabled(bool) = 0;
281 282
282 protected: 283 protected:
283 ~WebSettings() { } 284 ~WebSettings() { }
284 }; 285 };
285 286
286 } // namespace blink 287 } // namespace blink
287 288
288 #endif 289 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698