Index: chrome/browser/guestview/webview/webview_permission_types.h |
diff --git a/chrome/browser/guestview/webview/webview_permission_types.h b/chrome/browser/guestview/webview/webview_permission_types.h |
index 0a78a0486eea2037990a27f9690fccee7b654421..a532036f213a1cba29724c1822876e4d6fb4bb54 100644 |
--- a/chrome/browser/guestview/webview/webview_permission_types.h |
+++ b/chrome/browser/guestview/webview/webview_permission_types.h |
@@ -13,6 +13,12 @@ enum WebViewPermissionType { |
WEB_VIEW_PERMISSION_TYPE_GEOLOCATION, |
+ // JavaScript Dialogs: prompt, alert, confirm |
+ // Note: Even through dialogs do not use the permission API, the dialog API |
+ // is sufficiently similiar that it's convenient to consider it a permission |
+ // type for code reuse. |
+ WEB_VIEW_PERMISSION_TYPE_JAVASCRIPT_DIALOG, |
+ |
WEB_VIEW_PERMISSION_TYPE_LOAD_PLUGIN, |
// Media access (audio/video) permission request type. |