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

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: Created a separate setting 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
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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 virtual void setDeviceSupportsTouch(bool) = 0; 96 virtual void setDeviceSupportsTouch(bool) = 0;
97 virtual void setDoubleTapToZoomEnabled(bool) = 0; 97 virtual void setDoubleTapToZoomEnabled(bool) = 0;
98 virtual void setDownloadableBinaryFontsEnabled(bool) = 0; 98 virtual void setDownloadableBinaryFontsEnabled(bool) = 0;
99 virtual void setEditableLinkBehaviorNeverLive() = 0; 99 virtual void setEditableLinkBehaviorNeverLive() = 0;
100 virtual void setEditingBehavior(EditingBehavior) = 0; 100 virtual void setEditingBehavior(EditingBehavior) = 0;
101 virtual void setEnableScrollAnimator(bool) = 0; 101 virtual void setEnableScrollAnimator(bool) = 0;
102 virtual void setEnableTouchAdjustment(bool) = 0; 102 virtual void setEnableTouchAdjustment(bool) = 0;
103 virtual void setExperimentalCSSCustomFilterEnabled(bool) = 0; 103 virtual void setExperimentalCSSCustomFilterEnabled(bool) = 0;
104 virtual void setRegionBasedColumnsEnabled(bool) = 0; 104 virtual void setRegionBasedColumnsEnabled(bool) = 0;
105 virtual void setCSSStickyPositionEnabled(bool) = 0; 105 virtual void setCSSStickyPositionEnabled(bool) = 0;
106 virtual void setExpandLayoutToFillVisualViewport(bool) = 0;
106 virtual void setExperimentalWebGLEnabled(bool) = 0; 107 virtual void setExperimentalWebGLEnabled(bool) = 0;
107 virtual void setExperimentalWebSocketEnabled(bool) = 0; 108 virtual void setExperimentalWebSocketEnabled(bool) = 0;
108 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) = 0; 109 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) = 0;
109 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) = 0; 110 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) = 0;
110 virtual void setFixedPositionCreatesStackingContext(bool) = 0; 111 virtual void setFixedPositionCreatesStackingContext(bool) = 0;
111 virtual void setForceCompositingMode(bool) = 0; 112 virtual void setForceCompositingMode(bool) = 0;
112 virtual void setFullScreenEnabled(bool) = 0; 113 virtual void setFullScreenEnabled(bool) = 0;
113 virtual void setGestureTapHighlightEnabled(bool) = 0; 114 virtual void setGestureTapHighlightEnabled(bool) = 0;
114 virtual void setHyperlinkAuditingEnabled(bool) = 0; 115 virtual void setHyperlinkAuditingEnabled(bool) = 0;
115 virtual void setImagesEnabled(bool) = 0; 116 virtual void setImagesEnabled(bool) = 0;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
« Source/web/WebViewImpl.cpp ('K') | « 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