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

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

Issue 55073002: [Android WebView] Add a quirk to clobber initial scale in certain cases (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed checking against device-width Created 7 years, 1 month 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-initial-scale-1.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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 virtual void setAllowFileAccessFromFileURLs(bool) = 0; 75 virtual void setAllowFileAccessFromFileURLs(bool) = 0;
76 virtual void setAllowCustomScrollbarInMainFrame(bool) = 0; 76 virtual void setAllowCustomScrollbarInMainFrame(bool) = 0;
77 virtual void setAllowRunningOfInsecureContent(bool) = 0; 77 virtual void setAllowRunningOfInsecureContent(bool) = 0;
78 virtual void setAllowScriptsToCloseWindows(bool) = 0; 78 virtual void setAllowScriptsToCloseWindows(bool) = 0;
79 virtual void setAllowUniversalAccessFromFileURLs(bool) = 0; 79 virtual void setAllowUniversalAccessFromFileURLs(bool) = 0;
80 virtual void setAntialiased2dCanvasEnabled(bool) = 0; 80 virtual void setAntialiased2dCanvasEnabled(bool) = 0;
81 virtual void setAsynchronousSpellCheckingEnabled(bool) = 0; 81 virtual void setAsynchronousSpellCheckingEnabled(bool) = 0;
82 virtual void setAutoZoomFocusedNodeToLegibleScale(bool) = 0; 82 virtual void setAutoZoomFocusedNodeToLegibleScale(bool) = 0;
83 virtual void setAuthorAndUserStylesEnabled(bool) = 0; 83 virtual void setAuthorAndUserStylesEnabled(bool) = 0;
84 virtual void setCaretBrowsingEnabled(bool) = 0; 84 virtual void setCaretBrowsingEnabled(bool) = 0;
85 virtual void setClobberUserAgentInitialScaleQuirk(bool) = 0;
85 virtual void setCompositedScrollingForFramesEnabled(bool) = 0; 86 virtual void setCompositedScrollingForFramesEnabled(bool) = 0;
86 virtual void setCompositorTouchHitTesting(bool) = 0; 87 virtual void setCompositorTouchHitTesting(bool) = 0;
87 virtual void setCookieEnabled(bool) = 0; 88 virtual void setCookieEnabled(bool) = 0;
88 virtual void setCursiveFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) = 0; 89 virtual void setCursiveFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) = 0;
89 virtual void setDNSPrefetchingEnabled(bool) = 0; 90 virtual void setDNSPrefetchingEnabled(bool) = 0;
90 virtual void setDOMPasteAllowed(bool) = 0; 91 virtual void setDOMPasteAllowed(bool) = 0;
91 virtual void setDefaultFixedFontSize(int) = 0; 92 virtual void setDefaultFixedFontSize(int) = 0;
92 virtual void setDefaultFontSize(int) = 0; 93 virtual void setDefaultFontSize(int) = 0;
93 virtual void setDefaultTextEncodingName(const WebString&) = 0; 94 virtual void setDefaultTextEncodingName(const WebString&) = 0;
94 virtual void setDefaultVideoPosterURL(const WebString&) = 0; 95 virtual void setDefaultVideoPosterURL(const WebString&) = 0;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 // DEPRECATED: Delete after Chromium-side calls deleted. 196 // DEPRECATED: Delete after Chromium-side calls deleted.
196 void setInitializeAtMinimumPageScale(bool enabled) { setLoadWithOverviewMode (enabled); } 197 void setInitializeAtMinimumPageScale(bool enabled) { setLoadWithOverviewMode (enabled); }
197 198
198 protected: 199 protected:
199 ~WebSettings() { } 200 ~WebSettings() { }
200 }; 201 };
201 202
202 } // namespace WebKit 203 } // namespace WebKit
203 204
204 #endif 205 #endif
OLDNEW
« no previous file with comments | « Source/web/tests/data/viewport-initial-scale-1.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698