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

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

Issue 1366893002: Make window.scroll properties relative to the layout viewport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "worked on review comments" 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 virtual void setReportWheelOverscroll(bool) = 0; 171 virtual void setReportWheelOverscroll(bool) = 0;
172 virtual void setForceZeroLayoutHeight(bool) = 0; 172 virtual void setForceZeroLayoutHeight(bool) = 0;
173 virtual void setFullscreenSupported(bool) = 0; 173 virtual void setFullscreenSupported(bool) = 0;
174 virtual void setHidePinchScrollbarsNearMinScale(bool) = 0; 174 virtual void setHidePinchScrollbarsNearMinScale(bool) = 0;
175 virtual void setHyperlinkAuditingEnabled(bool) = 0; 175 virtual void setHyperlinkAuditingEnabled(bool) = 0;
176 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) = 0; 176 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) = 0;
177 virtual void setImageAnimationPolicy(ImageAnimationPolicy) = 0; 177 virtual void setImageAnimationPolicy(ImageAnimationPolicy) = 0;
178 virtual void setImagesEnabled(bool) = 0; 178 virtual void setImagesEnabled(bool) = 0;
179 virtual void setInlineTextBoxAccessibilityEnabled(bool) = 0; 179 virtual void setInlineTextBoxAccessibilityEnabled(bool) = 0;
180 virtual void setInvertViewportScrollOrder(bool) = 0; 180 virtual void setInvertViewportScrollOrder(bool) = 0;
181 virtual void setInertVisualViewport(bool) = 0;
181 virtual void setJavaScriptCanAccessClipboard(bool) = 0; 182 virtual void setJavaScriptCanAccessClipboard(bool) = 0;
182 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) = 0; 183 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) = 0;
183 virtual void setJavaScriptEnabled(bool) = 0; 184 virtual void setJavaScriptEnabled(bool) = 0;
184 void setLayerSquashingEnabled(bool) { } 185 void setLayerSquashingEnabled(bool) { }
185 virtual void setLoadsImagesAutomatically(bool) = 0; 186 virtual void setLoadsImagesAutomatically(bool) = 0;
186 virtual void setLoadWithOverviewMode(bool) = 0; 187 virtual void setLoadWithOverviewMode(bool) = 0;
187 virtual void setLocalStorageEnabled(bool) = 0; 188 virtual void setLocalStorageEnabled(bool) = 0;
188 virtual void setMainFrameClipsContent(bool) = 0; 189 virtual void setMainFrameClipsContent(bool) = 0;
189 virtual void setMainFrameResizesAreOrientationChanges(bool) = 0; 190 virtual void setMainFrameResizesAreOrientationChanges(bool) = 0;
190 virtual void setMaxTouchPoints(int) = 0; 191 virtual void setMaxTouchPoints(int) = 0;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 virtual void setWideViewportQuirkEnabled(bool) = 0; 276 virtual void setWideViewportQuirkEnabled(bool) = 0;
276 virtual void setXSSAuditorEnabled(bool) = 0; 277 virtual void setXSSAuditorEnabled(bool) = 0;
277 278
278 protected: 279 protected:
279 ~WebSettings() { } 280 ~WebSettings() { }
280 }; 281 };
281 282
282 } // namespace blink 283 } // namespace blink
283 284
284 #endif 285 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698