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

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

Issue 1031833004: Remove allowConnectingInsecureWebSocket Settings item (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed build Created 5 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
« no previous file with comments | « 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 virtual void setAccessibilityEnabled(bool) = 0; 113 virtual void setAccessibilityEnabled(bool) = 0;
114 virtual void setAccessibilityPasswordValuesEnabled(bool) = 0; 114 virtual void setAccessibilityPasswordValuesEnabled(bool) = 0;
115 virtual void setAllowDisplayOfInsecureContent(bool) = 0; 115 virtual void setAllowDisplayOfInsecureContent(bool) = 0;
116 virtual void setAllowFileAccessFromFileURLs(bool) = 0; 116 virtual void setAllowFileAccessFromFileURLs(bool) = 0;
117 virtual void setAllowCustomScrollbarInMainFrame(bool) = 0; 117 virtual void setAllowCustomScrollbarInMainFrame(bool) = 0;
118 // If set to true, allows frames with an https origin to run active 118 // If set to true, allows frames with an https origin to run active
119 // contents at an insecure URL. This includes WebSockets. Otherwise, 119 // contents at an insecure URL. This includes WebSockets. Otherwise,
120 // disallows it. The FrameLoaderClient set to the frame may override the 120 // disallows it. The FrameLoaderClient set to the frame may override the
121 // value set by this method. 121 // value set by this method.
122 virtual void setAllowRunningOfInsecureContent(bool) = 0; 122 virtual void setAllowRunningOfInsecureContent(bool) = 0;
123 // If set to true, allows frames with an https origin to connect WebSockets
124 // with an insecure URL (ws://). Otherwise, disallows it. Only when this is
125 // set to true, this value overrides the value set by
126 // setAllowRunningOfInsecureContent() for WebSockets. The FrameLoaderClient
127 // set to the frame may override the value set by this method.
128 virtual void setAllowConnectingInsecureWebSocket(bool) = 0;
129 virtual void setAllowScriptsToCloseWindows(bool) = 0; 123 virtual void setAllowScriptsToCloseWindows(bool) = 0;
130 virtual void setAllowUniversalAccessFromFileURLs(bool) = 0; 124 virtual void setAllowUniversalAccessFromFileURLs(bool) = 0;
131 virtual void setAntialiased2dCanvasEnabled(bool) = 0; 125 virtual void setAntialiased2dCanvasEnabled(bool) = 0;
132 virtual void setAntialiasedClips2dCanvasEnabled(bool) = 0; 126 virtual void setAntialiasedClips2dCanvasEnabled(bool) = 0;
133 virtual void setAsynchronousSpellCheckingEnabled(bool) = 0; 127 virtual void setAsynchronousSpellCheckingEnabled(bool) = 0;
134 virtual void setAutoZoomFocusedNodeToLegibleScale(bool) = 0; 128 virtual void setAutoZoomFocusedNodeToLegibleScale(bool) = 0;
135 virtual void setCaretBrowsingEnabled(bool) = 0; 129 virtual void setCaretBrowsingEnabled(bool) = 0;
136 virtual void setClobberUserAgentInitialScaleQuirk(bool) = 0; 130 virtual void setClobberUserAgentInitialScaleQuirk(bool) = 0;
137 virtual void setCookieEnabled(bool) = 0; 131 virtual void setCookieEnabled(bool) = 0;
138 virtual void setNavigateOnDragDrop(bool) = 0; 132 virtual void setNavigateOnDragDrop(bool) = 0;
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 virtual void setWideViewportQuirkEnabled(bool) = 0; 257 virtual void setWideViewportQuirkEnabled(bool) = 0;
264 virtual void setXSSAuditorEnabled(bool) = 0; 258 virtual void setXSSAuditorEnabled(bool) = 0;
265 259
266 protected: 260 protected:
267 ~WebSettings() { } 261 ~WebSettings() { }
268 }; 262 };
269 263
270 } // namespace blink 264 } // namespace blink
271 265
272 #endif 266 #endif
OLDNEW
« no previous file with comments | « Source/web/WebSettingsImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698