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

Unified Diff: content/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 side-by-side diff with in-line comments
Download patch
Index: content/common/browser_plugin/browser_plugin_message_enums.h
diff --git a/content/common/browser_plugin/browser_plugin_message_enums.h b/content/common/browser_plugin/browser_plugin_message_enums.h
deleted file mode 100644
index b0503a7d3c483c36649ff92ebb84786576214292..0000000000000000000000000000000000000000
--- a/content/common/browser_plugin/browser_plugin_message_enums.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// 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_
-
-enum BrowserPluginPermissionType {
- // Unknown type of permission request.
- BrowserPluginPermissionTypeUnknown,
-
- // Download.
- BrowserPluginPermissionTypeDownload,
-
- // Geolocation.
- BrowserPluginPermissionTypeGeolocation,
-
- // Media access (audio/video) permission request type.
- BrowserPluginPermissionTypeMedia,
-
- // PointerLock
- BrowserPluginPermissionTypePointerLock,
-
-
- // 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,
-
- // 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
-};
-
-#endif // CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_MESSAGE_ENUMS_H_

Powered by Google App Engine
This is Rietveld 408576698