| 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> module to create windows. Windows |
| 6 // have an optional frame with title bar and size controls. They are not |
| 7 // associated with any Chrome browser windows. |
| 8 |
| 9 [availability=23] |
| 5 namespace app.window { | 10 namespace app.window { |
| 6 dictionary Bounds { | 11 dictionary Bounds { |
| 7 long? left; | 12 long? left; |
| 8 long? top; | 13 long? top; |
| 9 long? width; | 14 long? width; |
| 10 long? height; | 15 long? height; |
| 11 }; | 16 }; |
| 12 | 17 |
| 13 // 'shell' is the default window type. 'panel' is managed by the OS | 18 // 'shell' is the default window type. 'panel' is managed by the OS |
| 14 // (Currently experimental, Ash only). | 19 // (Currently experimental, Ash only). |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 // Fired when the window is maximized. | 208 // Fired when the window is maximized. |
| 204 [nocompile] static void onMaximized(); | 209 [nocompile] static void onMaximized(); |
| 205 | 210 |
| 206 // Fired when the window is minimized. | 211 // Fired when the window is minimized. |
| 207 [nocompile] static void onMinimized(); | 212 [nocompile] static void onMinimized(); |
| 208 | 213 |
| 209 // Fired when the window is restored from being minimized or maximized. | 214 // Fired when the window is restored from being minimized or maximized. |
| 210 [nocompile] static void onRestored(); | 215 [nocompile] static void onRestored(); |
| 211 }; | 216 }; |
| 212 }; | 217 }; |
| OLD | NEW |