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

Unified Diff: ios/web/public/web_view_type.h

Issue 986743003: Upstream (most of) ios/web/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix namespace comment Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web/public/web_state/web_state_observer_bridge.h ('k') | ios/web/url_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ios/web/public/web_state/web_state_observer_bridge.h ('k') | ios/web/url_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698