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

Unified Diff: chrome/browser/guest_view/web_view/web_view_permission_types.h

Issue 496873006: Move core web_view code to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove dependency of web_view_internal_api.h Created 6 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: chrome/browser/guest_view/web_view/web_view_permission_types.h
diff --git a/chrome/browser/guest_view/web_view/web_view_permission_types.h b/chrome/browser/guest_view/web_view/web_view_permission_types.h
deleted file mode 100644
index 22d8cf6a9a402d036e477ae4e1aa3a5395b2d3c7..0000000000000000000000000000000000000000
--- a/chrome/browser/guest_view/web_view/web_view_permission_types.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2014 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_GUEST_VIEW_WEB_VIEW_WEB_VIEW_PERMISSION_TYPES_H_
-#define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_PERMISSION_TYPES_H_
-
-enum WebViewPermissionType {
- // Unknown type of permission request.
- WEB_VIEW_PERMISSION_TYPE_UNKNOWN,
-
- WEB_VIEW_PERMISSION_TYPE_DOWNLOAD,
-
- WEB_VIEW_PERMISSION_TYPE_FILESYSTEM,
-
- 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,
-
- // 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.
- WEB_VIEW_PERMISSION_TYPE_NEW_WINDOW,
-
- WEB_VIEW_PERMISSION_TYPE_POINTER_LOCK
-};
-
-#endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_PERMISSION_TYPES_H_

Powered by Google App Engine
This is Rietveld 408576698