| Index: ios/web/public/web_view_type.h
|
| diff --git a/ios/web/public/web_view_type.h b/ios/web/public/web_view_type.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ba7ecf7cc5359e3cbc60573b2108d173b0ae3dd0
|
| --- /dev/null
|
| +++ b/ios/web/public/web_view_type.h
|
| @@ -0,0 +1,20 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef IOS_WEB_PUBLIC_WEB_VIEW_TYPE_H_
|
| +#define IOS_WEB_PUBLIC_WEB_VIEW_TYPE_H_
|
| +
|
| +namespace web {
|
| +
|
| +// Type of web view. Different web views may provide different capabilities.
|
| +enum WebViewType {
|
| + // Web View is UIWebView.
|
| + UI_WEB_VIEW_TYPE = 1,
|
| + // Web View is WKWebView.
|
| + WK_WEB_VIEW_TYPE = 2,
|
| +};
|
| +
|
| +} // namespace web
|
| +
|
| +#endif // IOS_WEB_PUBLIC_WEB_VIEW_TYPE_H_
|
|
|