| 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 20 matching lines...) Expand all Loading... |
| 31 static void focus(); | 31 static void focus(); |
| 32 static void fullscreen(); | 32 static void fullscreen(); |
| 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 setMinWidth(optional long minWidth); |
| 42 static void setMinHeight(optional long minHeight); |
| 43 static void setMaxWidth(optional long maxWidth); |
| 44 static void setMaxHeight(optional long maxHeight); |
| 41 static void setIcon(DOMString icon_url); | 45 static void setIcon(DOMString icon_url); |
| 42 static void setInputRegion(Region region); | 46 static void setInputRegion(Region region); |
| 43 static void setAlwaysOnTop(boolean always_on_top); | 47 static void setAlwaysOnTop(boolean always_on_top); |
| 44 }; | 48 }; |
| 45 | 49 |
| 46 interface Events { | 50 interface Events { |
| 47 static void onClosed(); | 51 static void onClosed(); |
| 48 static void onBoundsChanged(); | 52 static void onBoundsChanged(); |
| 49 static void onFullscreened(); | 53 static void onFullscreened(); |
| 50 static void onMinimized(); | 54 static void onMinimized(); |
| 51 static void onMaximized(); | 55 static void onMaximized(); |
| 52 static void onRestored(); | 56 static void onRestored(); |
| 53 }; | 57 }; |
| 54 }; | 58 }; |
| OLD | NEW |