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

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

Issue 2515413002: Revert workaround due to perf regression (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.cpp ('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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 // If set to true, allows frames with an https origin to run active 138 // If set to true, allows frames with an https origin to run active
139 // contents at an insecure URL. This includes WebSockets. Otherwise, 139 // contents at an insecure URL. This includes WebSockets. Otherwise,
140 // disallows it. The FrameLoaderClient set to the frame may override the 140 // disallows it. The FrameLoaderClient set to the frame may override the
141 // value set by this method. 141 // value set by this method.
142 virtual void setAllowRunningOfInsecureContent(bool) = 0; 142 virtual void setAllowRunningOfInsecureContent(bool) = 0;
143 virtual void setAllowScriptsToCloseWindows(bool) = 0; 143 virtual void setAllowScriptsToCloseWindows(bool) = 0;
144 virtual void setAllowUniversalAccessFromFileURLs(bool) = 0; 144 virtual void setAllowUniversalAccessFromFileURLs(bool) = 0;
145 virtual void setAlwaysShowContextMenuOnTouch(bool) = 0; 145 virtual void setAlwaysShowContextMenuOnTouch(bool) = 0;
146 virtual void setAntialiased2dCanvasEnabled(bool) = 0; 146 virtual void setAntialiased2dCanvasEnabled(bool) = 0;
147 virtual void setAntialiasedClips2dCanvasEnabled(bool) = 0; 147 virtual void setAntialiasedClips2dCanvasEnabled(bool) = 0;
148 virtual void setForceSoftwareReadbackFrom2DCanvas(bool) = 0;
149 virtual void setAutoplayExperimentMode(const WebString&) = 0; 148 virtual void setAutoplayExperimentMode(const WebString&) = 0;
150 virtual void setAutoZoomFocusedNodeToLegibleScale(bool) = 0; 149 virtual void setAutoZoomFocusedNodeToLegibleScale(bool) = 0;
151 virtual void setBrowserSideNavigationEnabled(bool) = 0; 150 virtual void setBrowserSideNavigationEnabled(bool) = 0;
152 virtual void setClobberUserAgentInitialScaleQuirk(bool) = 0; 151 virtual void setClobberUserAgentInitialScaleQuirk(bool) = 0;
153 virtual void setCookieEnabled(bool) = 0; 152 virtual void setCookieEnabled(bool) = 0;
154 virtual void setNavigateOnDragDrop(bool) = 0; 153 virtual void setNavigateOnDragDrop(bool) = 0;
155 virtual void setCursiveFontFamily(const WebString&, 154 virtual void setCursiveFontFamily(const WebString&,
156 UScriptCode = USCRIPT_COMMON) = 0; 155 UScriptCode = USCRIPT_COMMON) = 0;
157 virtual void setDNSPrefetchingEnabled(bool) = 0; 156 virtual void setDNSPrefetchingEnabled(bool) = 0;
158 virtual void setDataSaverEnabled(bool) = 0; 157 virtual void setDataSaverEnabled(bool) = 0;
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 virtual void setExpensiveBackgroundThrottlingMaxBudget(float) = 0; 295 virtual void setExpensiveBackgroundThrottlingMaxBudget(float) = 0;
297 virtual void setExpensiveBackgroundThrottlingMaxDelay(float) = 0; 296 virtual void setExpensiveBackgroundThrottlingMaxDelay(float) = 0;
298 297
299 protected: 298 protected:
300 ~WebSettings() {} 299 ~WebSettings() {}
301 }; 300 };
302 301
303 } // namespace blink 302 } // namespace blink
304 303
305 #endif 304 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698