| 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 | 5 // This is used by the app window API internally to pass through messages to |
| 6 // the shell window. | 6 // the shell window. |
| 7 [nodoc] namespace app.currentWindowInternal { | 7 [nodoc] namespace app.currentWindowInternal { |
| 8 | 8 |
| 9 // TODO(asargent) - We need to add support for referencing types in | 9 // TODO(asargent) - We need to add support for referencing types in |
| 10 // other namespaces (crbug.com/158654). For now just duplicate this | 10 // other namespaces (crbug.com/158654). For now just duplicate this |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 static void minimize(); | 33 static void minimize(); |
| 34 static void maximize(); | 34 static void maximize(); |
| 35 static void restore(); | 35 static void restore(); |
| 36 static void drawAttention(); | 36 static void drawAttention(); |
| 37 static void clearAttention(); | 37 static void clearAttention(); |
| 38 static void show(); | 38 static void show(); |
| 39 static void hide(); | 39 static void hide(); |
| 40 static void setBounds(Bounds bounds); | 40 static void setBounds(Bounds bounds); |
| 41 static void setIcon(DOMString icon_url); | 41 static void setIcon(DOMString icon_url); |
| 42 static void setInputRegion(Region region); | 42 static void setInputRegion(Region region); |
| 43 static void setAlwaysOnTop(boolean always_on_top); |
| 43 }; | 44 }; |
| 44 | 45 |
| 45 interface Events { | 46 interface Events { |
| 46 static void onClosed(); | 47 static void onClosed(); |
| 47 static void onBoundsChanged(); | 48 static void onBoundsChanged(); |
| 48 static void onFullscreened(); | 49 static void onFullscreened(); |
| 49 static void onMinimized(); | 50 static void onMinimized(); |
| 50 static void onMaximized(); | 51 static void onMaximized(); |
| 51 static void onRestored(); | 52 static void onRestored(); |
| 52 }; | 53 }; |
| 53 }; | 54 }; |
| OLD | NEW |