summaryrefslogtreecommitdiffstats
path: root/content/common/browser_plugin/browser_plugin_message_enums.h
blob: 9fe045a82aa721ce0f859107d38ff30fbbf11cd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// 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,
};

#endif  // CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_MESSAGE_ENUMS_H_