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

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

Issue 297123002: API proposal for chrome.app.window to intercept all keys. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Return if there is no windows with keyboard focus. Created 6 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
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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 kHomepage, 104 kHomepage,
105 kHotwordPrivate, 105 kHotwordPrivate,
106 kIdentity, 106 kIdentity,
107 kIdentityEmail, 107 kIdentityEmail,
108 kIdentityPrivate, 108 kIdentityPrivate,
109 kIdltest, 109 kIdltest,
110 kIdle, 110 kIdle,
111 kInfobars, 111 kInfobars,
112 kInput, 112 kInput,
113 kInputMethodPrivate, 113 kInputMethodPrivate,
114 kInterceptAllKeys,
114 kLedger, 115 kLedger,
115 kLocation, 116 kLocation,
116 kLogPrivate, 117 kLogPrivate,
117 kManagement, 118 kManagement,
118 kMediaGalleries, 119 kMediaGalleries,
119 kMediaGalleriesPrivate, 120 kMediaGalleriesPrivate,
120 kMediaPlayerPrivate, 121 kMediaPlayerPrivate,
121 kMetricsPrivate, 122 kMetricsPrivate,
122 kMDns, 123 kMDns,
123 kMusicManagerPrivate, 124 kMusicManagerPrivate,
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 const char* const name_; 360 const char* const name_;
360 const int flags_; 361 const int flags_;
361 const int l10n_message_id_; 362 const int l10n_message_id_;
362 const PermissionMessage::ID message_id_; 363 const PermissionMessage::ID message_id_;
363 const APIPermissionConstructor api_permission_constructor_; 364 const APIPermissionConstructor api_permission_constructor_;
364 }; 365 };
365 366
366 } // namespace extensions 367 } // namespace extensions
367 368
368 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ 369 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698