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

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

Issue 1099553002: extensions: windows: list all windows from the current profile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add application windows resize constraint test Created 5 years, 6 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ 5 #ifndef EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_
6 #define EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ 6 #define EXTENSIONS_COMMON_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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 kOverrideBookmarksUI, 234 kOverrideBookmarksUI,
235 kShouldWarnAllHosts, 235 kShouldWarnAllHosts,
236 kSocketAnyHost, 236 kSocketAnyHost,
237 kSocketDomainHosts, 237 kSocketDomainHosts,
238 kSocketSpecificHosts, 238 kSocketSpecificHosts,
239 kUsbDeviceList, 239 kUsbDeviceList,
240 kUsbDeviceUnknownProduct, 240 kUsbDeviceUnknownProduct,
241 kUsbDeviceUnknownVendor, 241 kUsbDeviceUnknownVendor,
242 kUsersPrivate, 242 kUsersPrivate,
243 kPasswordsPrivate, 243 kPasswordsPrivate,
244 kWindowsGlobal,
244 // Last entry: Add new entries above and ensure to update the 245 // Last entry: Add new entries above and ensure to update the
245 // "ExtensionPermission3" enum in tools/metrics/histograms/histograms.xml 246 // "ExtensionPermission3" enum in tools/metrics/histograms/histograms.xml
246 // (by running update_extension_permission.py). 247 // (by running update_extension_permission.py).
247 kEnumBoundary 248 kEnumBoundary
248 }; 249 };
249 250
250 struct CheckParam { 251 struct CheckParam {
251 }; 252 };
252 253
253 explicit APIPermission(const APIPermissionInfo* info); 254 explicit APIPermission(const APIPermissionInfo* info);
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 const char* const name_; 454 const char* const name_;
454 const int flags_; 455 const int flags_;
455 const int l10n_message_id_; 456 const int l10n_message_id_;
456 const PermissionMessage::ID message_id_; 457 const PermissionMessage::ID message_id_;
457 const APIPermissionConstructor api_permission_constructor_; 458 const APIPermissionConstructor api_permission_constructor_;
458 }; 459 };
459 460
460 } // namespace extensions 461 } // namespace extensions
461 462
462 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ 463 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698