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

Side by Side Diff: content/public/common/browser_plugin_permission_type.h

Issue 235733002: <webview>: Move media request to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_geolocation_to_chrome
Patch Set: Fixed rebase Created 6 years, 8 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
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_PERMISSION_TYPE_H_ 5 #ifndef CONTENT_COMMON_BROWSER_PLUGIN_PERMISSION_TYPE_H_
6 #define CONTENT_COMMON_BROWSER_PLUGIN_PERMISSION_TYPE_H_ 6 #define CONTENT_COMMON_BROWSER_PLUGIN_PERMISSION_TYPE_H_
7 7
8 enum BrowserPluginPermissionType { 8 enum BrowserPluginPermissionType {
9 // Unknown type of permission request. 9 // Unknown type of permission request.
10 BROWSER_PLUGIN_PERMISSION_TYPE_UNKNOWN, 10 BROWSER_PLUGIN_PERMISSION_TYPE_UNKNOWN,
11 11
12 BROWSER_PLUGIN_PERMISSION_TYPE_DOWNLOAD, 12 BROWSER_PLUGIN_PERMISSION_TYPE_DOWNLOAD,
13 // Media access (audio/video) permission request type.
14 BROWSER_PLUGIN_PERMISSION_TYPE_MEDIA,
15 13
16 BROWSER_PLUGIN_PERMISSION_TYPE_POINTER_LOCK, 14 BROWSER_PLUGIN_PERMISSION_TYPE_POINTER_LOCK,
17 15
18 // New window requests. 16 // New window requests.
19 // Note: Even though new windows don't use the permission API, the new window 17 // Note: Even though new windows don't use the permission API, the new window
20 // API is sufficiently similar that it's convenient to consider it a 18 // API is sufficiently similar that it's convenient to consider it a
21 // permission type for code reuse. 19 // permission type for code reuse.
22 BROWSER_PLUGIN_PERMISSION_TYPE_NEW_WINDOW, 20 BROWSER_PLUGIN_PERMISSION_TYPE_NEW_WINDOW,
23 21
24 // JavaScript Dialogs: prompt, alert, confirm 22 // JavaScript Dialogs: prompt, alert, confirm
25 // Note: Even through dialogs do not use the permission API, the dialog API 23 // Note: Even through dialogs do not use the permission API, the dialog API
26 // is sufficiently similiar that it's convenient to consider it a permission 24 // is sufficiently similiar that it's convenient to consider it a permission
27 // type for code reuse. 25 // type for code reuse.
28 BROWSER_PLUGIN_PERMISSION_TYPE_JAVASCRIPT_DIALOG, 26 BROWSER_PLUGIN_PERMISSION_TYPE_JAVASCRIPT_DIALOG,
29 27
30 BROWSER_PLUGIN_PERMISSION_TYPE_CONTENT_END, 28 BROWSER_PLUGIN_PERMISSION_TYPE_CONTENT_END,
31 }; 29 };
32 30
33 #endif // CONTENT_COMMON_BROWSER_PLUGIN_PERMISSION_TYPE_H_ 31 #endif // CONTENT_COMMON_BROWSER_PLUGIN_PERMISSION_TYPE_H_
OLDNEW
« no previous file with comments | « content/public/browser/browser_plugin_guest_delegate.cc ('k') | tools/metrics/actions/actions.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698