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

Unified Diff: content/common/browser_plugin/browser_plugin_message_enums.h

Issue 13037003: permissionrequest API for guest Download. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync. Created 7 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
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 c4ea3465783917868464bcefc3ffc9495d53b739..9fe045a82aa721ce0f859107d38ff30fbbf11cd8 100644
--- a/content/common/browser_plugin/browser_plugin_message_enums.h
+++ b/content/common/browser_plugin/browser_plugin_message_enums.h
@@ -9,20 +9,24 @@ enum BrowserPluginPermissionType {
// Unknown type of permission request.
BrowserPluginPermissionTypeUnknown,
- // New window requests.
- // Note: Even though new windows don't use the permission API, the new window
- // API is sufficiently similar that it's convenient to consider it a
- // permission type for code reuse.
- BrowserPluginPermissionTypeNewWindow,
-
- // Media access (audio/video) permission request type.
- BrowserPluginPermissionTypeMedia,
+ // Download.
+ BrowserPluginPermissionTypeDownload,
// Geolocation.
BrowserPluginPermissionTypeGeolocation,
+ // Media access (audio/video) permission request type.
+ BrowserPluginPermissionTypeMedia,
+
// PointerLock
BrowserPluginPermissionTypePointerLock,
+
+
+ // New window requests.
+ // Note: Even though new windows don't use the permission API, the new window
+ // API is sufficiently similar that it's convenient to consider it a
+ // permission type for code reuse.
+ BrowserPluginPermissionTypeNewWindow,
};
#endif // CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_MESSAGE_ENUMS_H_

Powered by Google App Engine
This is Rietveld 408576698