Index: content/common/browser_plugin/browser_plugin_message_enums.h |
diff --git a/content/common/browser_plugin/browser_plugin_message_enums.h b/content/common/browser_plugin/browser_plugin_message_enums.h |
index 9fe045a82aa721ce0f859107d38ff30fbbf11cd8..b0503a7d3c483c36649ff92ebb84786576214292 100644 |
--- a/content/common/browser_plugin/browser_plugin_message_enums.h |
+++ b/content/common/browser_plugin/browser_plugin_message_enums.h |
@@ -27,6 +27,12 @@ enum BrowserPluginPermissionType { |
// API is sufficiently similar that it's convenient to consider it a |
// permission type for code reuse. |
BrowserPluginPermissionTypeNewWindow, |
+ |
+ // 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. |
+ BrowserPluginPermissionTypeJavaScriptDialog |
}; |
#endif // CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_MESSAGE_ENUMS_H_ |