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

Unified Diff: chrome/common/extensions/api/app_window.idl

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: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/api/_permission_features.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/app_window.idl
diff --git a/chrome/common/extensions/api/app_window.idl b/chrome/common/extensions/api/app_window.idl
index 1303385249f6b14316cfa871787b772c460033ee..25374d80fda98578dcf0b436a1800e9c0b42626e 100644
--- a/chrome/common/extensions/api/app_window.idl
+++ b/chrome/common/extensions/api/app_window.idl
@@ -348,6 +348,14 @@ namespace app.window {
// <code>"alwaysOnTopWindows"</code> permission.
static void setAlwaysOnTop(boolean alwaysOnTop);
+ // Set whether the window should get all keyboard events including system keys that are usually
Jamie 2014/05/23 22:13:10 Chromium style is 80-character limit for most lang
Sriram 2014/05/23 22:20:06 Done.
+ // not sent. This currently works only when the windows is in fullscreen. Requires the
+ // <code>"requestAllKeys"</code> permission.
+ static void setRequestAllKeys(boolean requestAllKeys);
+
+ // Return current state of "RequestAllKeys" state.
+ static boolean getRequestAllKeys();
Jamie 2014/05/23 22:13:10 I don't think the getter is necessary (setAlwaysOn
Sriram 2014/05/23 22:20:06 Done.
+
// The JavaScript 'window' object for the created child.
[instanceOf=Window] object contentWindow;
« no previous file with comments | « chrome/common/extensions/api/_permission_features.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698