| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ios/web/public/web_capabilities.h" | 5 #include "ios/web/public/web_capabilities.h" |
| 6 | 6 |
| 7 namespace web { | 7 namespace web { |
| 8 | 8 |
| 9 bool IsAcceptCookieControlSupported() { | |
| 10 // TODO(crbug.com/462424): WKWebView supports only the ALLOW policy on iOS9. | |
| 11 // Revisit this issue with the next major release of iOS. | |
| 12 return false; | |
| 13 } | |
| 14 | |
| 15 bool IsAutoDetectEncodingSupported() { | 9 bool IsAutoDetectEncodingSupported() { |
| 16 // TODO(crbug.com/600765): WKWebView does not provide API for auto-detection | 10 // TODO(crbug.com/600765): WKWebView does not provide API for auto-detection |
| 17 // of the page encoding. Revisit this issue with the next major of iOS. | 11 // of the page encoding. Revisit this issue with the next major of iOS. |
| 18 return false; | 12 return false; |
| 19 } | 13 } |
| 20 | 14 |
| 21 bool IsDoNotTrackSupported() { | 15 bool IsDoNotTrackSupported() { |
| 22 // TODO(crbug.com/493368): WKWebView does not provide API for adding DNT | 16 // TODO(crbug.com/493368): WKWebView does not provide API for adding DNT |
| 23 // headers on iOS9. Revisit this issue with the next major release of iOS. | 17 // headers on iOS9. Revisit this issue with the next major release of iOS. |
| 24 return false; | 18 return false; |
| 25 } | 19 } |
| 26 | 20 |
| 27 } // namespace web | 21 } // namespace web |
| OLD | NEW |