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

Side by Side Diff: content/public/common/browser_plugin/browser_plugin_message_enums.h

Issue 21297005: <webview>: Refactor Permission API to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup_permissions
Patch Set: Fixed some bugs Created 7 years, 4 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_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,
(...skipping 18 matching lines...) Expand all
29 BrowserPluginPermissionTypeNewWindow, 29 BrowserPluginPermissionTypeNewWindow,
30 30
31 // JavaScript Dialogs: prompt, alert, confirm 31 // JavaScript Dialogs: prompt, alert, confirm
32 // Note: Even through dialogs do not use the permission API, the dialog API 32 // Note: Even through dialogs do not use the permission API, the dialog API
33 // is sufficiently similiar that it's convenient to consider it a permission 33 // is sufficiently similiar that it's convenient to consider it a permission
34 // type for code reuse. 34 // type for code reuse.
35 BrowserPluginPermissionTypeJavaScriptDialog 35 BrowserPluginPermissionTypeJavaScriptDialog
36 }; 36 };
37 37
38 #endif // CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_MESSAGE_ENUMS_H_ 38 #endif // CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_MESSAGE_ENUMS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698