OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |