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

Side by Side Diff: chrome/common/extensions/api/app_window.idl

Issue 469993003: Add AppWindow.setVisibleOnAllWorkspaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | 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 // 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. See the <a 7 // associated with any Chrome browser windows. See the <a
8 // href="https://github.com/GoogleChrome/chrome-app-samples/tree/master/window-s tate"> 8 // href="https://github.com/GoogleChrome/chrome-app-samples/tree/master/window-s tate">
9 // Window State Sample</a> for a demonstration of these options. 9 // Window State Sample</a> for a demonstration of these options.
10 namespace app.window { 10 namespace app.window {
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 [nodoc] boolean? firstShowHasHappened; 362 [nodoc] boolean? firstShowHasHappened;
363 363
364 // Set whether the window should stay above most other windows. Requires the 364 // Set whether the window should stay above most other windows. Requires the
365 // <code>"alwaysOnTopWindows"</code> permission. 365 // <code>"alwaysOnTopWindows"</code> permission.
366 static void setAlwaysOnTop(boolean alwaysOnTop); 366 static void setAlwaysOnTop(boolean alwaysOnTop);
367 367
368 // Can the window use alpha transparency? 368 // Can the window use alpha transparency?
369 // TODO(jackhou): Document this properly before going to stable. 369 // TODO(jackhou): Document this properly before going to stable.
370 [nodoc] static boolean alphaEnabled(); 370 [nodoc] static boolean alphaEnabled();
371 371
372 // For platforms that support multiple workspaces, is this window on all of
373 // them?
374 [nodoc] static void setVisibleOnAllWorkspaces(boolean alwaysVisible);
benwells 2014/08/15 07:53:06 Will there be matching create options? Can we hav
375
372 // The JavaScript 'window' object for the created child. 376 // The JavaScript 'window' object for the created child.
373 [instanceOf=Window] object contentWindow; 377 [instanceOf=Window] object contentWindow;
374 378
375 // The id the window was created with. 379 // The id the window was created with.
376 DOMString id; 380 DOMString id;
377 381
378 // The position, size and constraints of the window's content, which does 382 // The position, size and constraints of the window's content, which does
379 // not include window decorations. 383 // not include window decorations.
380 // This property is new in Chrome 36. 384 // This property is new in Chrome 36.
381 Bounds innerBounds; 385 Bounds innerBounds;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 // Fired when the window is restored from being minimized or maximized. 455 // Fired when the window is restored from being minimized or maximized.
452 [nocompile] static void onRestored(); 456 [nocompile] static void onRestored();
453 457
454 // Fired when the window's ability to use alpha transparency changes. 458 // Fired when the window's ability to use alpha transparency changes.
455 [nocompile, nodoc] static void onAlphaEnabledChanged(); 459 [nocompile, nodoc] static void onAlphaEnabledChanged();
456 460
457 // Event for testing. Lets tests wait until a window has been shown. 461 // Event for testing. Lets tests wait until a window has been shown.
458 [nocompile, nodoc] static void onWindowFirstShown(); 462 [nocompile, nodoc] static void onWindowFirstShown();
459 }; 463 };
460 }; 464 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698