| Index: content/public/common/browser_plugin_permission_type.h
|
| diff --git a/content/common/browser_plugin/browser_plugin_message_enums.h b/content/public/common/browser_plugin_permission_type.h
|
| similarity index 57%
|
| rename from content/common/browser_plugin/browser_plugin_message_enums.h
|
| rename to content/public/common/browser_plugin_permission_type.h
|
| index b0503a7d3c483c36649ff92ebb84786576214292..8df6c3fe4194b87664f586fccc6ab69f7ffce234 100644
|
| --- a/content/common/browser_plugin/browser_plugin_message_enums.h
|
| +++ b/content/public/common/browser_plugin_permission_type.h
|
| @@ -2,37 +2,33 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_MESSAGE_ENUMS_H_
|
| -#define CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_MESSAGE_ENUMS_H_
|
| +#ifndef CONTENT_COMMON_BROWSER_PLUGIN_PERMISSION_TYPE_H_
|
| +#define CONTENT_COMMON_BROWSER_PLUGIN_PERMISSION_TYPE_H_
|
|
|
| enum BrowserPluginPermissionType {
|
| // Unknown type of permission request.
|
| - BrowserPluginPermissionTypeUnknown,
|
| + BROWSER_PLUGIN_PERMISSION_TYPE_UNKNOWN,
|
|
|
| - // Download.
|
| - BrowserPluginPermissionTypeDownload,
|
| + BROWSER_PLUGIN_PERMISSION_TYPE_DOWNLOAD,
|
|
|
| - // Geolocation.
|
| - BrowserPluginPermissionTypeGeolocation,
|
| + BROWSER_PLUGIN_PERMISSION_TYPE_GEOLOCATION,
|
|
|
| // Media access (audio/video) permission request type.
|
| - BrowserPluginPermissionTypeMedia,
|
| -
|
| - // PointerLock
|
| - BrowserPluginPermissionTypePointerLock,
|
| + BROWSER_PLUGIN_PERMISSION_TYPE_MEDIA,
|
|
|
| + BROWSER_PLUGIN_PERMISSION_TYPE_POINTER_LOCK,
|
|
|
| // 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,
|
| + BROWSER_PLUGIN_PERMISSION_TYPE_NEW_WINDOW,
|
|
|
| // 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
|
| + BROWSER_PLUGIN_PERMISSION_TYPE_JAVASCRIPT_DIALOG
|
| };
|
|
|
| -#endif // CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_MESSAGE_ENUMS_H_
|
| +#endif // CONTENT_COMMON_BROWSER_PLUGIN_PERMISSION_TYPE_H_
|
|
|