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

Side by Side 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, 3 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
(Empty)
1 // Copyright 2014 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 CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_PERMISSION_TYPES_H_
6 #define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_PERMISSION_TYPES_H_
7
8 enum WebViewPermissionType {
9 // Unknown type of permission request.
10 WEB_VIEW_PERMISSION_TYPE_UNKNOWN,
11
12 WEB_VIEW_PERMISSION_TYPE_DOWNLOAD,
13
14 WEB_VIEW_PERMISSION_TYPE_FILESYSTEM,
15
16 WEB_VIEW_PERMISSION_TYPE_GEOLOCATION,
17
18 // JavaScript Dialogs: prompt, alert, confirm
19 // Note: Even through dialogs do not use the permission API, the dialog API
20 // is sufficiently similiar that it's convenient to consider it a permission
21 // type for code reuse.
22 WEB_VIEW_PERMISSION_TYPE_JAVASCRIPT_DIALOG,
23
24 WEB_VIEW_PERMISSION_TYPE_LOAD_PLUGIN,
25
26 // Media access (audio/video) permission request type.
27 WEB_VIEW_PERMISSION_TYPE_MEDIA,
28
29 // New window requests.
30 // Note: Even though new windows don't use the permission API, the new window
31 // API is sufficiently similar that it's convenient to consider it a
32 // permission type for code reuse.
33 WEB_VIEW_PERMISSION_TYPE_NEW_WINDOW,
34
35 WEB_VIEW_PERMISSION_TYPE_POINTER_LOCK
36 };
37
38 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_PERMISSION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698