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

Unified Diff: chrome/browser/guestview/webview/webview_permission_types.h

Issue 259943002: Revert "Revert 266297 "1. Handle the case of empty embedder_extension_id..."" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: static intializer fix Created 6 years, 8 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: chrome/browser/guestview/webview/webview_permission_types.h
diff --git a/chrome/browser/guestview/webview/webview_permission_types.h b/chrome/browser/guestview/webview/webview_permission_types.h
deleted file mode 100644
index a532036f213a1cba29724c1822876e4d6fb4bb54..0000000000000000000000000000000000000000
--- a/chrome/browser/guestview/webview/webview_permission_types.h
+++ /dev/null
@@ -1,30 +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 CHROME_BROWSER_GUESTVIEW_WEBVIEW_WEBVIEW_PERMISSION_TYPES_H_
-#define CHROME_BROWSER_GUESTVIEW_WEBVIEW_WEBVIEW_PERMISSION_TYPES_H_
-
-#include "content/public/common/browser_plugin_permission_type.h"
-
-enum WebViewPermissionType {
- WEB_VIEW_PERMISSION_TYPE_DOWNLOAD =
- BROWSER_PLUGIN_PERMISSION_TYPE_CONTENT_END + 1,
-
- WEB_VIEW_PERMISSION_TYPE_GEOLOCATION,
-
- // 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.
- WEB_VIEW_PERMISSION_TYPE_JAVASCRIPT_DIALOG,
-
- WEB_VIEW_PERMISSION_TYPE_LOAD_PLUGIN,
-
- // Media access (audio/video) permission request type.
- WEB_VIEW_PERMISSION_TYPE_MEDIA,
-
- WEB_VIEW_PERMISSION_TYPE_POINTER_LOCK
-};
-
-#endif // CHROME_BROWSER_GUESTVIEW_WEBVIEW_WEBVIEW_PERMISSION_TYPES_H_

Powered by Google App Engine
This is Rietveld 408576698