| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_COMMON_BROWSER_PLUGIN_PERMISSION_TYPE_H_ | |
| 6 #define CONTENT_COMMON_BROWSER_PLUGIN_PERMISSION_TYPE_H_ | |
| 7 | |
| 8 enum BrowserPluginPermissionType { | |
| 9 // Unknown type of permission request. | |
| 10 BROWSER_PLUGIN_PERMISSION_TYPE_UNKNOWN, | |
| 11 | |
| 12 // New window requests. | |
| 13 // 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 | |
| 15 // permission type for code reuse. | |
| 16 BROWSER_PLUGIN_PERMISSION_TYPE_NEW_WINDOW, | |
| 17 | |
| 18 BROWSER_PLUGIN_PERMISSION_TYPE_CONTENT_END, | |
| 19 }; | |
| 20 | |
| 21 #endif // CONTENT_COMMON_BROWSER_PLUGIN_PERMISSION_TYPE_H_ | |
| OLD | NEW |