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

Side by Side Diff: Source/web/WebSettingsImpl.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, 3 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMMON) over ride; 99 void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMMON) over ride;
100 void setReportWheelOverscroll(bool) override; 100 void setReportWheelOverscroll(bool) override;
101 void setForceZeroLayoutHeight(bool) override; 101 void setForceZeroLayoutHeight(bool) override;
102 void setFullscreenSupported(bool) override; 102 void setFullscreenSupported(bool) override;
103 void setHidePinchScrollbarsNearMinScale(bool) override; 103 void setHidePinchScrollbarsNearMinScale(bool) override;
104 void setHyperlinkAuditingEnabled(bool) override; 104 void setHyperlinkAuditingEnabled(bool) override;
105 void setIgnoreMainFrameOverflowHiddenQuirk(bool) override; 105 void setIgnoreMainFrameOverflowHiddenQuirk(bool) override;
106 void setImageAnimationPolicy(ImageAnimationPolicy) override; 106 void setImageAnimationPolicy(ImageAnimationPolicy) override;
107 void setImagesEnabled(bool) override; 107 void setImagesEnabled(bool) override;
108 void setInlineTextBoxAccessibilityEnabled(bool) override; 108 void setInlineTextBoxAccessibilityEnabled(bool) override;
109 void setInertVisualViewport(bool) override;
109 void setInvertViewportScrollOrder(bool) override; 110 void setInvertViewportScrollOrder(bool) override;
110 void setJavaScriptCanAccessClipboard(bool) override; 111 void setJavaScriptCanAccessClipboard(bool) override;
111 void setJavaScriptCanOpenWindowsAutomatically(bool) override; 112 void setJavaScriptCanOpenWindowsAutomatically(bool) override;
112 void setJavaScriptEnabled(bool) override; 113 void setJavaScriptEnabled(bool) override;
113 void setLoadsImagesAutomatically(bool) override; 114 void setLoadsImagesAutomatically(bool) override;
114 void setLoadWithOverviewMode(bool) override; 115 void setLoadWithOverviewMode(bool) override;
115 void setLocalStorageEnabled(bool) override; 116 void setLocalStorageEnabled(bool) override;
116 void setMainFrameClipsContent(bool) override; 117 void setMainFrameClipsContent(bool) override;
117 void setMainFrameResizesAreOrientationChanges(bool) override; 118 void setMainFrameResizesAreOrientationChanges(bool) override;
118 void setMaxTouchPoints(int) override; 119 void setMaxTouchPoints(int) override;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 // This quirk is to maintain compatibility with Android apps built on 233 // This quirk is to maintain compatibility with Android apps built on
233 // the Android SDK prior to and including version 18. Presumably, this 234 // the Android SDK prior to and including version 18. Presumably, this
234 // can be removed any time after 2015. See http://crbug.com/313754. 235 // can be removed any time after 2015. See http://crbug.com/313754.
235 bool m_clobberUserAgentInitialScaleQuirk; 236 bool m_clobberUserAgentInitialScaleQuirk;
236 bool m_mainFrameResizesAreOrientationChanges; 237 bool m_mainFrameResizesAreOrientationChanges;
237 }; 238 };
238 239
239 } // namespace blink 240 } // namespace blink
240 241
241 #endif 242 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698