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

Side by Side Diff: Source/WebKit/chromium/src/WebSettingsImpl.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
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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 virtual void setTextAutosizingEnabled(bool); 153 virtual void setTextAutosizingEnabled(bool);
154 virtual void setTextAutosizingFontScaleFactor(float); 154 virtual void setTextAutosizingFontScaleFactor(float);
155 virtual void setTextDirectionSubmenuInclusionBehaviorNeverIncluded(); 155 virtual void setTextDirectionSubmenuInclusionBehaviorNeverIncluded();
156 virtual void setTouchDragDropEnabled(bool); 156 virtual void setTouchDragDropEnabled(bool);
157 virtual void setThreadedHTMLParser(bool); 157 virtual void setThreadedHTMLParser(bool);
158 virtual void setUnifiedTextCheckerEnabled(bool); 158 virtual void setUnifiedTextCheckerEnabled(bool);
159 virtual void setUnsafePluginPastingEnabled(bool); 159 virtual void setUnsafePluginPastingEnabled(bool);
160 virtual void setUserStyleSheetLocation(const WebURL&); 160 virtual void setUserStyleSheetLocation(const WebURL&);
161 virtual void setUsesEncodingDetector(bool); 161 virtual void setUsesEncodingDetector(bool);
162 virtual void setUsesPageCache(bool); 162 virtual void setUsesPageCache(bool);
163 virtual void setUseWideViewport(bool);
163 virtual void setValidationMessageTimerMagnification(int); 164 virtual void setValidationMessageTimerMagnification(int);
164 virtual void setViewportEnabled(bool); 165 virtual void setViewportEnabled(bool);
165 virtual void setVisualWordMovementEnabled(bool); 166 virtual void setVisualWordMovementEnabled(bool);
166 virtual void setWebAudioEnabled(bool); 167 virtual void setWebAudioEnabled(bool);
167 virtual void setWebGLErrorsToConsoleEnabled(bool); 168 virtual void setWebGLErrorsToConsoleEnabled(bool);
168 virtual void setWebSecurityEnabled(bool); 169 virtual void setWebSecurityEnabled(bool);
169 virtual void setXSSAuditorEnabled(bool); 170 virtual void setXSSAuditorEnabled(bool);
170 171
171 bool showFPSCounter() const { return m_showFPSCounter; } 172 bool showFPSCounter() const { return m_showFPSCounter; }
172 bool showPaintRects() const { return m_showPaintRects; } 173 bool showPaintRects() const { return m_showPaintRects; }
173 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; } 174 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; }
174 bool initializeAtMinimumPageScale() const { return m_initializeAtMinimumPage Scale; } 175 bool initializeAtMinimumPageScale() const { return m_initializeAtMinimumPage Scale; }
175 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; } 176 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; }
176 bool gestureTapHighlightEnabled() const { return m_gestureTapHighlightEnable d; } 177 bool gestureTapHighlightEnabled() const { return m_gestureTapHighlightEnable d; }
177 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } 178 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; }
178 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } 179 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; }
179 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; } 180 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; }
181 bool useWideViewport() const { return m_useWideViewport; }
180 182
181 private: 183 private:
182 WebCore::Settings* m_settings; 184 WebCore::Settings* m_settings;
183 bool m_showFPSCounter; 185 bool m_showFPSCounter;
184 bool m_showPaintRects; 186 bool m_showPaintRects;
185 bool m_renderVSyncNotificationEnabled; 187 bool m_renderVSyncNotificationEnabled;
186 bool m_viewportEnabled; 188 bool m_viewportEnabled;
187 bool m_initializeAtMinimumPageScale; 189 bool m_initializeAtMinimumPageScale;
190 bool m_useWideViewport;
188 bool m_gestureTapHighlightEnabled; 191 bool m_gestureTapHighlightEnabled;
189 bool m_autoZoomFocusedNodeToLegibleScale; 192 bool m_autoZoomFocusedNodeToLegibleScale;
190 bool m_deferredImageDecodingEnabled; 193 bool m_deferredImageDecodingEnabled;
191 bool m_doubleTapToZoomEnabled; 194 bool m_doubleTapToZoomEnabled;
192 bool m_perTilePaintingEnabled; 195 bool m_perTilePaintingEnabled;
193 bool m_supportDeprecatedTargetDensityDPI; 196 bool m_supportDeprecatedTargetDensityDPI;
194 }; 197 };
195 198
196 } // namespace WebKit 199 } // namespace WebKit
197 200
198 #endif 201 #endif
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/ChromeClientImpl.cpp ('k') | Source/WebKit/chromium/src/WebSettingsImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698