| 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 namespace app.currentWindowInternal { | 7 namespace app.currentWindowInternal { |
| 8 | 8 |
| 9 // Null or undefined indicates that a value should not change. | 9 // Null or undefined indicates that a value should not change. |
| 10 dictionary Bounds { | 10 dictionary Bounds { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 static void clearAttention(); | 44 static void clearAttention(); |
| 45 static void show(optional boolean focused); | 45 static void show(optional boolean focused); |
| 46 static void hide(); | 46 static void hide(); |
| 47 static void setBounds(DOMString boundsType, Bounds bounds); | 47 static void setBounds(DOMString boundsType, Bounds bounds); |
| 48 static void setSizeConstraints(DOMString boundsType, | 48 static void setSizeConstraints(DOMString boundsType, |
| 49 SizeConstraints constraints); | 49 SizeConstraints constraints); |
| 50 static void setIcon(DOMString icon_url); | 50 static void setIcon(DOMString icon_url); |
| 51 static void setShape(Region region); | 51 static void setShape(Region region); |
| 52 static void setAlwaysOnTop(boolean always_on_top); | 52 static void setAlwaysOnTop(boolean always_on_top); |
| 53 static void setVisibleOnAllWorkspaces(boolean always_visible); | 53 static void setVisibleOnAllWorkspaces(boolean always_visible); |
| 54 static void setInterceptAllKeys(boolean want_all_keys); | |
| 55 }; | 54 }; |
| 56 | 55 |
| 57 interface Events { | 56 interface Events { |
| 58 static void onClosed(); | 57 static void onClosed(); |
| 59 static void onBoundsChanged(); | 58 static void onBoundsChanged(); |
| 60 static void onFullscreened(); | 59 static void onFullscreened(); |
| 61 static void onMinimized(); | 60 static void onMinimized(); |
| 62 static void onMaximized(); | 61 static void onMaximized(); |
| 63 static void onRestored(); | 62 static void onRestored(); |
| 64 static void onAlphaEnabledChanged(); | 63 static void onAlphaEnabledChanged(); |
| 65 // Only sent in tests. | 64 // Only sent in tests. |
| 66 static void onWindowShownForTests(); | 65 static void onWindowShownForTests(); |
| 67 }; | 66 }; |
| 68 }; | 67 }; |
| OLD | NEW |