| 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. | 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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 [nocompile] static void onFullscreened(); | 422 [nocompile] static void onFullscreened(); |
| 423 | 423 |
| 424 // Fired when the window is maximized. | 424 // Fired when the window is maximized. |
| 425 [nocompile] static void onMaximized(); | 425 [nocompile] static void onMaximized(); |
| 426 | 426 |
| 427 // Fired when the window is minimized. | 427 // Fired when the window is minimized. |
| 428 [nocompile] static void onMinimized(); | 428 [nocompile] static void onMinimized(); |
| 429 | 429 |
| 430 // Fired when the window is restored from being minimized or maximized. | 430 // Fired when the window is restored from being minimized or maximized. |
| 431 [nocompile] static void onRestored(); | 431 [nocompile] static void onRestored(); |
| 432 |
| 433 // Event for testing. Lets tests wait until a window has been shown. |
| 434 [nocompile, nodoc] static void onWindowFirstShown(); |
| 432 }; | 435 }; |
| 433 }; | 436 }; |
| OLD | NEW |