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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_MESSAGE_ENUMS_H_ 5 #ifndef CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_MESSAGE_ENUMS_H_
6 #define CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_MESSAGE_ENUMS_H_ 6 #define CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_MESSAGE_ENUMS_H_
7 7
8 enum BrowserPluginPermissionType { 8 enum BrowserPluginPermissionType {
9 // Unknown type of permission request. 9 // Unknown type of permission request.
10 BrowserPluginPermissionTypeUnknown, 10 BrowserPluginPermissionTypeUnknown,
11 11
12 // Download.
13 BrowserPluginPermissionTypeDownload,
14
15 // Geolocation.
16 BrowserPluginPermissionTypeGeolocation,
17
18 // Media access (audio/video) permission request type.
19 BrowserPluginPermissionTypeMedia,
20
21 // PointerLock
22 BrowserPluginPermissionTypePointerLock,
23
24
12 // New window requests. 25 // New window requests.
13 // Note: Even though new windows don't use the permission API, the new window 26 // Note: Even though new windows don't use the permission API, the new window
14 // API is sufficiently similar that it's convenient to consider it a 27 // API is sufficiently similar that it's convenient to consider it a
15 // permission type for code reuse. 28 // permission type for code reuse.
16 BrowserPluginPermissionTypeNewWindow, 29 BrowserPluginPermissionTypeNewWindow,
17
18 // Media access (audio/video) permission request type.
19 BrowserPluginPermissionTypeMedia,
20
21 // Geolocation.
22 BrowserPluginPermissionTypeGeolocation,
23
24 // PointerLock
25 BrowserPluginPermissionTypePointerLock,
26 }; 30 };
27 31
28 #endif // CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_MESSAGE_ENUMS_H_ 32 #endif // CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_MESSAGE_ENUMS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698