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

Side by Side Diff: Source/WebKit/chromium/public/WebSettings.h

Issue 13880019: [Android WebView] Update viewport size and scale calculation to match WebView Classic (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed Adam's comments Created 7 years, 8 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 | « no previous file | Source/WebKit/chromium/src/ChromeClientImpl.cpp » ('j') | 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 virtual void setTextAutosizingEnabled(bool) = 0; 157 virtual void setTextAutosizingEnabled(bool) = 0;
158 virtual void setTextAutosizingFontScaleFactor(float) = 0; 158 virtual void setTextAutosizingFontScaleFactor(float) = 0;
159 virtual void setTextDirectionSubmenuInclusionBehaviorNeverIncluded() = 0; 159 virtual void setTextDirectionSubmenuInclusionBehaviorNeverIncluded() = 0;
160 virtual void setThreadedHTMLParser(bool) = 0; 160 virtual void setThreadedHTMLParser(bool) = 0;
161 virtual void setTouchDragDropEnabled(bool) = 0; 161 virtual void setTouchDragDropEnabled(bool) = 0;
162 virtual void setUnifiedTextCheckerEnabled(bool) = 0; 162 virtual void setUnifiedTextCheckerEnabled(bool) = 0;
163 virtual void setUnsafePluginPastingEnabled(bool) = 0; 163 virtual void setUnsafePluginPastingEnabled(bool) = 0;
164 virtual void setUserStyleSheetLocation(const WebURL&) = 0; 164 virtual void setUserStyleSheetLocation(const WebURL&) = 0;
165 virtual void setUsesEncodingDetector(bool) = 0; 165 virtual void setUsesEncodingDetector(bool) = 0;
166 virtual void setUsesPageCache(bool) = 0; 166 virtual void setUsesPageCache(bool) = 0;
167 virtual void setUseWideViewport(bool) = 0;
167 virtual void setValidationMessageTimerMagnification(int) = 0; 168 virtual void setValidationMessageTimerMagnification(int) = 0;
168 virtual void setViewportEnabled(bool) = 0; 169 virtual void setViewportEnabled(bool) = 0;
169 virtual void setVisualWordMovementEnabled(bool) = 0; 170 virtual void setVisualWordMovementEnabled(bool) = 0;
170 virtual void setWebAudioEnabled(bool) = 0; 171 virtual void setWebAudioEnabled(bool) = 0;
171 virtual void setWebGLErrorsToConsoleEnabled(bool) = 0; 172 virtual void setWebGLErrorsToConsoleEnabled(bool) = 0;
172 virtual void setWebSecurityEnabled(bool) = 0; 173 virtual void setWebSecurityEnabled(bool) = 0;
173 virtual void setXSSAuditorEnabled(bool) = 0; 174 virtual void setXSSAuditorEnabled(bool) = 0;
174 175
175 // TODO(aelias): Delete after Chromium-side calls deleted. 176 // TODO(aelias): Delete after Chromium-side calls deleted.
176 void setApplyPageScaleFactorInCompositor(bool enabled) { } 177 void setApplyPageScaleFactorInCompositor(bool enabled) { }
177 void setApplyDefaultDeviceScaleFactorInCompositor(bool enabled) { } 178 void setApplyDefaultDeviceScaleFactorInCompositor(bool enabled) { }
178 179
179 protected: 180 protected:
180 ~WebSettings() { } 181 ~WebSettings() { }
181 }; 182 };
182 183
183 } // namespace WebKit 184 } // namespace WebKit
184 185
185 #endif 186 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/WebKit/chromium/src/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698