| Index: ios/web/web_view_util.h
|
| diff --git a/ios/web/web_view_util.h b/ios/web/web_view_util.h
|
| index 5b58ad80d36f3a7d142ee0556c27467604c96c56..a625c57caead6dc455bf6e21e34bda1114de56d1 100644
|
| --- a/ios/web/web_view_util.h
|
| +++ b/ios/web/web_view_util.h
|
| @@ -7,19 +7,8 @@
|
|
|
| namespace web {
|
|
|
| -// Returns true if WKWebView is being used instead of UIWebView.
|
| -// TODO(stuartmorgan): Eliminate this global flag in favor of a per-web-view
|
| -// flag.
|
| -bool IsWKWebViewEnabled();
|
| -
|
| -// If |flag| is true, causes IsWKWebViewEnabled to return false, even if
|
| -// WKWebView is enabled using the compile time flag. Should only be called from
|
| -// ScopedUIWebViewEnforcer for use in unit tests that need to test UIWebView
|
| -// while WKWebView is enabled.
|
| -void SetForceUIWebView(bool flag);
|
| -
|
| -// Returns true if use of UIWebView is to be enforced.
|
| -bool GetForceUIWebView();
|
| +// Returns true if WKWebView is supported on current OS/platform/arch.
|
| +bool IsWKWebViewSupported();
|
|
|
| } // web
|
|
|
|
|