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

Side by Side 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: Renamed function name based on comments. 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 unified diff | Download patch
« no previous file with comments | « chrome/common/extensions/api/_permission_features.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Use the <code>chrome.app.window</code> API to create windows. Windows 5 // Use the <code>chrome.app.window</code> API to create windows. Windows
6 // have an optional frame with title bar and size controls. They are not 6 // have an optional frame with title bar and size controls. They are not
7 // associated with any Chrome browser windows. 7 // associated with any Chrome browser windows.
8 namespace app.window { 8 namespace app.window {
9 9
10 // Previously named Bounds. 10 // Previously named Bounds.
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 341
342 // Accessors for testing. 342 // Accessors for testing.
343 [nodoc] boolean hasFrameColor; 343 [nodoc] boolean hasFrameColor;
344 [nodoc] long activeFrameColor; 344 [nodoc] long activeFrameColor;
345 [nodoc] long inactiveFrameColor; 345 [nodoc] long inactiveFrameColor;
346 346
347 // Set whether the window should stay above most other windows. Requires the 347 // Set whether the window should stay above most other windows. Requires the
348 // <code>"alwaysOnTopWindows"</code> permission. 348 // <code>"alwaysOnTopWindows"</code> permission.
349 static void setAlwaysOnTop(boolean alwaysOnTop); 349 static void setAlwaysOnTop(boolean alwaysOnTop);
350 350
351 // Set whether the window should get all keyboard events including system
352 // keys that are usually not sent. This currently works only when the
353 // windows is in fullscreen. Requires the <code>"requestAllKeys"</code>
benwells 2014/05/27 22:29:48 The window permissions have changed to be app.wind
Sriram 2014/05/27 22:48:06 yes, the permission added was "app.window.requestA
354 // permission.
355 static void setWantAllKeys(boolean wantAllKeys);
356
351 // The JavaScript 'window' object for the created child. 357 // The JavaScript 'window' object for the created child.
352 [instanceOf=Window] object contentWindow; 358 [instanceOf=Window] object contentWindow;
353 359
354 // The id the window was created with. 360 // The id the window was created with.
355 DOMString id; 361 DOMString id;
356 362
357 // The position, size and constraints of the window's content, which does 363 // The position, size and constraints of the window's content, which does
358 // not include window decorations. 364 // not include window decorations.
359 // This property is new in Chrome 36. 365 // This property is new in Chrome 36.
360 Bounds innerBounds; 366 Bounds innerBounds;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 // Fired when the window is maximized. 430 // Fired when the window is maximized.
425 [nocompile] static void onMaximized(); 431 [nocompile] static void onMaximized();
426 432
427 // Fired when the window is minimized. 433 // Fired when the window is minimized.
428 [nocompile] static void onMinimized(); 434 [nocompile] static void onMinimized();
429 435
430 // Fired when the window is restored from being minimized or maximized. 436 // Fired when the window is restored from being minimized or maximized.
431 [nocompile] static void onRestored(); 437 [nocompile] static void onRestored();
432 }; 438 };
433 }; 439 };
OLDNEW
« 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