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

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

Issue 1530403002: Removal of geolocation APIs on insecure origins (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Rebase on ToT Created 4 years, 11 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
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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 virtual void setAcceleratedCompositingForTransitionEnabled(bool) { } 103 virtual void setAcceleratedCompositingForTransitionEnabled(bool) { }
104 // If set to true, allows frames with an https origin to display passive 104 // If set to true, allows frames with an https origin to display passive
105 // contents at an insecure URL. Otherwise, disallows it. The 105 // contents at an insecure URL. Otherwise, disallows it. The
106 // FrameLoaderClient set to the frame may override the value set by this 106 // FrameLoaderClient set to the frame may override the value set by this
107 // method. 107 // method.
108 virtual void setAccessibilityEnabled(bool) = 0; 108 virtual void setAccessibilityEnabled(bool) = 0;
109 virtual void setAccessibilityPasswordValuesEnabled(bool) = 0; 109 virtual void setAccessibilityPasswordValuesEnabled(bool) = 0;
110 virtual void setAllowDisplayOfInsecureContent(bool) = 0; 110 virtual void setAllowDisplayOfInsecureContent(bool) = 0;
111 virtual void setAllowFileAccessFromFileURLs(bool) = 0; 111 virtual void setAllowFileAccessFromFileURLs(bool) = 0;
112 virtual void setAllowCustomScrollbarInMainFrame(bool) = 0; 112 virtual void setAllowCustomScrollbarInMainFrame(bool) = 0;
113 virtual void setAllowGeolocationOnInsecureOrigins(bool) = 0;
dcheng 2016/01/06 23:42:37 Are these mainly intended for Android's WebView? W
jww 2016/01/07 02:25:40 Acknowledged.
113 // If set to true, allows frames with an https origin to run active 114 // If set to true, allows frames with an https origin to run active
114 // contents at an insecure URL. This includes WebSockets. Otherwise, 115 // contents at an insecure URL. This includes WebSockets. Otherwise,
115 // disallows it. The FrameLoaderClient set to the frame may override the 116 // disallows it. The FrameLoaderClient set to the frame may override the
116 // value set by this method. 117 // value set by this method.
117 virtual void setAllowRunningOfInsecureContent(bool) = 0; 118 virtual void setAllowRunningOfInsecureContent(bool) = 0;
118 virtual void setAllowScriptsToCloseWindows(bool) = 0; 119 virtual void setAllowScriptsToCloseWindows(bool) = 0;
119 virtual void setAllowUniversalAccessFromFileURLs(bool) = 0; 120 virtual void setAllowUniversalAccessFromFileURLs(bool) = 0;
120 virtual void setAntialiased2dCanvasEnabled(bool) = 0; 121 virtual void setAntialiased2dCanvasEnabled(bool) = 0;
121 virtual void setAntialiasedClips2dCanvasEnabled(bool) = 0; 122 virtual void setAntialiasedClips2dCanvasEnabled(bool) = 0;
122 virtual void setAutoplayExperimentMode(const WebString&) = 0; 123 virtual void setAutoplayExperimentMode(const WebString&) = 0;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 virtual void setWideViewportQuirkEnabled(bool) = 0; 253 virtual void setWideViewportQuirkEnabled(bool) = 0;
253 virtual void setXSSAuditorEnabled(bool) = 0; 254 virtual void setXSSAuditorEnabled(bool) = 0;
254 255
255 protected: 256 protected:
256 ~WebSettings() { } 257 ~WebSettings() { }
257 }; 258 };
258 259
259 } // namespace blink 260 } // namespace blink
260 261
261 #endif 262 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698