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

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

Issue 10878040: Move context-sensitive app.window.* functions to app.window.current().* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 22 matching lines...) Expand all
33 public: 33 public:
34 enum ID { 34 enum ID {
35 // Error codes. 35 // Error codes.
36 kInvalid = -2, 36 kInvalid = -2,
37 kUnknown = -1, 37 kUnknown = -1,
38 38
39 // Real permissions. 39 // Real permissions.
40 kActiveTab, 40 kActiveTab,
41 kAlarms, 41 kAlarms,
42 kAppNotifications, 42 kAppNotifications,
43 kAppCurrentWindow,
43 kAppRuntime, 44 kAppRuntime,
44 kAppWindow, 45 kAppWindow,
45 kAudioCapture, 46 kAudioCapture,
46 kBackground, 47 kBackground,
47 kBookmark, 48 kBookmark,
48 kBrowserTag, 49 kBrowserTag,
49 kBrowsingData, 50 kBrowsingData,
50 kChromeosInfoPrivate, 51 kChromeosInfoPrivate,
51 kClipboardRead, 52 kClipboardRead,
52 kClipboardWrite, 53 kClipboardWrite,
(...skipping 203 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

Powered by Google App Engine
This is Rietveld 408576698