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

Side by Side Diff: chrome/common/extensions/permissions/api_permission.h

Issue 10803037: [WIP] ash/extensions: Add experimental extension support for window-management in ash. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-152100 Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_
6 #define CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ 6 #define CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 kTtsEngine, 96 kTtsEngine,
97 kUnlimitedStorage, 97 kUnlimitedStorage,
98 kVideoCapture, 98 kVideoCapture,
99 kWallpaperPrivate, 99 kWallpaperPrivate,
100 kWebNavigation, 100 kWebNavigation,
101 kWebRequest, 101 kWebRequest,
102 kWebRequestBlocking, 102 kWebRequestBlocking,
103 kWebRequestInternal, 103 kWebRequestInternal,
104 kWebSocketProxyPrivate, 104 kWebSocketProxyPrivate,
105 kWebstorePrivate, 105 kWebstorePrivate,
106 kWM,
106 kEnumBoundary 107 kEnumBoundary
107 }; 108 };
108 109
109 enum Flag { 110 enum Flag {
110 kFlagNone = 0, 111 kFlagNone = 0,
111 112
112 // Indicates if the permission implies full access (native code). 113 // Indicates if the permission implies full access (native code).
113 kFlagImpliesFullAccess = 1 << 0, 114 kFlagImpliesFullAccess = 1 << 0,
114 115
115 // Indicates if the permission implies full URL access. 116 // Indicates if the permission implies full URL access.
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 friend class base::RefCounted<APIPermissionDetail>; 257 friend class base::RefCounted<APIPermissionDetail>;
257 virtual ~APIPermissionDetail(); 258 virtual ~APIPermissionDetail();
258 259
259 private: 260 private:
260 const APIPermission* const permission_; 261 const APIPermission* const permission_;
261 }; 262 };
262 263
263 } // namespace extensions 264 } // namespace extensions
264 265
265 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ 266 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/experimental_wm.idl ('k') | chrome/common/extensions/permissions/api_permission.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698