Chromium Code Reviews| 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 namespace app.window { | 5 namespace app.window { |
| 6 dictionary CreateWindowOptions { | 6 dictionary CreateWindowOptions { |
| 7 // Id to identify the window. This will be used to remember the size | 7 // Id to identify the window. This will be used to remember the size |
| 8 // and position of the window and restore that geometry when a window | 8 // and position of the window and restore that geometry when a window |
| 9 // with the same id (and no explicit size or position) is later opened. | 9 // with the same id (and no explicit size or position) is later opened. |
| 10 DOMString? id; | 10 DOMString? id; |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 102 // coordinate, you should also specify a left (or top) coordinate, and | 102 // coordinate, you should also specify a left (or top) coordinate, and |
| 103 // similar for size. | 103 // similar for size. |
| 104 // | 104 // |
| 105 // If you specify both a regular and a default value for the same option | 105 // If you specify both a regular and a default value for the same option |
| 106 // the regular value is the only one that takes effect. | 106 // the regular value is the only one that takes effect. |
| 107 static void create(DOMString url, | 107 static void create(DOMString url, |
| 108 optional CreateWindowOptions options, | 108 optional CreateWindowOptions options, |
| 109 optional CreateWindowCallback callback); | 109 optional CreateWindowCallback callback); |
| 110 | 110 |
| 111 [nocompile] static AppWindow current(); | 111 [nocompile] static AppWindow current(); |
| 112 [nocompile] static void initializeAppWindow(object state); | |
|
Mihai Parparita -not on Chrome
2012/09/26 22:22:23
This also needs a [nodoc]
tapted
2012/09/27 01:27:15
Done.
| |
| 112 }; | 113 }; |
| 113 }; | 114 }; |
| OLD | NEW |