| OLD | NEW |
| 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/samples/
window-state"> |
| 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 { |
| 11 | 11 |
| 12 // Previously named Bounds. | 12 // Previously named Bounds. |
| 13 dictionary ContentBounds { | 13 dictionary ContentBounds { |
| 14 long? left; | 14 long? left; |
| 15 long? top; | 15 long? top; |
| 16 long? width; | 16 long? width; |
| 17 long? height; | 17 long? height; |
| 18 }; | 18 }; |
| (...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 // Fired when the window is restored from being minimized or maximized. | 464 // Fired when the window is restored from being minimized or maximized. |
| 465 [nocompile] static void onRestored(); | 465 [nocompile] static void onRestored(); |
| 466 | 466 |
| 467 // Fired when the window's ability to use alpha transparency changes. | 467 // Fired when the window's ability to use alpha transparency changes. |
| 468 [nocompile, nodoc] static void onAlphaEnabledChanged(); | 468 [nocompile, nodoc] static void onAlphaEnabledChanged(); |
| 469 | 469 |
| 470 // Event for testing. Lets tests wait until a window has been shown. | 470 // Event for testing. Lets tests wait until a window has been shown. |
| 471 [nocompile, nodoc] static void onWindowFirstShown(); | 471 [nocompile, nodoc] static void onWindowFirstShown(); |
| 472 }; | 472 }; |
| 473 }; | 473 }; |
| OLD | NEW |