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

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

Issue 23038013: [Android WebView] Avoid expanding layout width to match the old WebView (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed aelias' comments Created 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/tests/data/viewport-device-0.5x-initial-scale.html ('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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 virtual void setTouchEditingEnabled(bool) = 0; 169 virtual void setTouchEditingEnabled(bool) = 0;
170 virtual void setUnifiedTextCheckerEnabled(bool) = 0; 170 virtual void setUnifiedTextCheckerEnabled(bool) = 0;
171 virtual void setUnsafePluginPastingEnabled(bool) = 0; 171 virtual void setUnsafePluginPastingEnabled(bool) = 0;
172 virtual void setUserStyleSheetLocation(const WebURL&) = 0; 172 virtual void setUserStyleSheetLocation(const WebURL&) = 0;
173 virtual void setUsesEncodingDetector(bool) = 0; 173 virtual void setUsesEncodingDetector(bool) = 0;
174 virtual void setUseLegacyBackgroundSizeShorthandBehavior(bool) = 0; 174 virtual void setUseLegacyBackgroundSizeShorthandBehavior(bool) = 0;
175 virtual void setUseSolidColorScrollbars(bool) = 0; 175 virtual void setUseSolidColorScrollbars(bool) = 0;
176 virtual void setUseWideViewport(bool) = 0; 176 virtual void setUseWideViewport(bool) = 0;
177 virtual void setValidationMessageTimerMagnification(int) = 0; 177 virtual void setValidationMessageTimerMagnification(int) = 0;
178 virtual void setViewportEnabled(bool) = 0; 178 virtual void setViewportEnabled(bool) = 0;
179 virtual void setViewportMetaLayoutSizeQuirk(bool) = 0;
179 virtual void setVisualWordMovementEnabled(bool) = 0; 180 virtual void setVisualWordMovementEnabled(bool) = 0;
180 virtual void setWebAudioEnabled(bool) = 0; 181 virtual void setWebAudioEnabled(bool) = 0;
181 virtual void setWebGLErrorsToConsoleEnabled(bool) = 0; 182 virtual void setWebGLErrorsToConsoleEnabled(bool) = 0;
182 virtual void setWebSecurityEnabled(bool) = 0; 183 virtual void setWebSecurityEnabled(bool) = 0;
183 virtual void setXSSAuditorEnabled(bool) = 0; 184 virtual void setXSSAuditorEnabled(bool) = 0;
184 185
185 // DEPRECATED: Delete after Chromium-side calls deleted. 186 // DEPRECATED: Delete after Chromium-side calls deleted.
186 void setApplyPageScaleFactorInCompositor(bool enabled) { } 187 void setApplyPageScaleFactorInCompositor(bool enabled) { }
187 void setApplyDefaultDeviceScaleFactorInCompositor(bool enabled) { } 188 void setApplyDefaultDeviceScaleFactorInCompositor(bool enabled) { }
188 void setFixedElementsLayoutRelativeToFrame(bool) { } 189 void setFixedElementsLayoutRelativeToFrame(bool) { }
189 void setInitializeAtMinimumPageScale(bool enabled) { setLoadWithOverviewMode (enabled); } 190 void setInitializeAtMinimumPageScale(bool enabled) { setLoadWithOverviewMode (enabled); }
190 191
191 protected: 192 protected:
192 ~WebSettings() { } 193 ~WebSettings() { }
193 }; 194 };
194 195
195 } // namespace WebKit 196 } // namespace WebKit
196 197
197 #endif 198 #endif
OLDNEW
« no previous file with comments | « Source/web/tests/data/viewport-device-0.5x-initial-scale.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698