Index: content/public/common/browser_plugin_message_enums.h |
diff --git a/content/common/browser_plugin/browser_plugin_message_enums.h b/content/public/common/browser_plugin_message_enums.h |
similarity index 61% |
rename from content/common/browser_plugin/browser_plugin_message_enums.h |
rename to content/public/common/browser_plugin_message_enums.h |
index b0503a7d3c483c36649ff92ebb84786576214292..062393caa854ec2f3fa685863126d905136a048f 100644 |
--- a/content/common/browser_plugin/browser_plugin_message_enums.h |
+++ b/content/public/common/browser_plugin_message_enums.h |
@@ -2,37 +2,37 @@ |
// 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_MESSAGE_ENUMS_H_ |
+#define CONTENT_COMMON_BROWSER_PLUGIN_MESSAGE_ENUMS_H_ |
enum BrowserPluginPermissionType { |
// Unknown type of permission request. |
- BrowserPluginPermissionTypeUnknown, |
+ BROWSER_PLUGIN_PERMISSION_TYPE_UNKNOWN, |
// Download. |
jam
2013/08/09 00:07:27
nit: this, line 15, and line 21 should be taken ou
Fady Samuel
2013/08/09 15:52:58
Done.
|
- BrowserPluginPermissionTypeDownload, |
+ BROWSER_PLUGIN_PERMISSION_TYPE_DOWNLOAD, |
// Geolocation. |
- BrowserPluginPermissionTypeGeolocation, |
+ BROWSER_PLUGIN_PERMISSION_TYPE_GEOLOCATION, |
// Media access (audio/video) permission request type. |
- BrowserPluginPermissionTypeMedia, |
+ BROWSER_PLUGIN_PERMISSION_TYPE_MEDIA, |
// PointerLock |
- BrowserPluginPermissionTypePointerLock, |
+ BROWSER_PLUGIN_PERMISSION_TYPE_POINTER_LOCK, |
jam
2013/08/09 00:07:27
nit: extra line
Fady Samuel
2013/08/09 15:52:58
Done.
|
// 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_MESSAGE_ENUMS_H_ |