| 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 // This is used by the app window API internally to pass through messages to |
| 6 // the shell window. |
| 5 [internal, nodoc] namespace app.currentWindowInternal { | 7 [internal, nodoc] namespace app.currentWindowInternal { |
| 6 interface Functions { | 8 interface Functions { |
| 7 // Focus the window. | |
| 8 static void focus(); | 9 static void focus(); |
| 9 | |
| 10 // Minimize the window. | |
| 11 static void minimize(); | 10 static void minimize(); |
| 12 | |
| 13 // Maximize the window. | |
| 14 static void maximize(); | 11 static void maximize(); |
| 15 | |
| 16 // Restore the window. | |
| 17 static void restore(); | 12 static void restore(); |
| 18 | |
| 19 // Draw attention to the window. | |
| 20 static void drawAttention(); | 13 static void drawAttention(); |
| 21 | |
| 22 // Clear attention to the window. | |
| 23 static void clearAttention(); | 14 static void clearAttention(); |
| 15 static void show(); |
| 16 static void hide(); |
| 24 }; | 17 }; |
| 25 }; | 18 }; |
| OLD | NEW |