| Index: third_party/chrome/idl/app_current_window_internal.idl
|
| diff --git a/third_party/chrome/idl/app_current_window_internal.idl b/third_party/chrome/idl/app_current_window_internal.idl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..469dafc66ce61c40da8c0f8f93374f7a3b32d2a9
|
| --- /dev/null
|
| +++ b/third_party/chrome/idl/app_current_window_internal.idl
|
| @@ -0,0 +1,40 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +// This is used by the app window API internally to pass through messages to
|
| +// the shell window.
|
| +[internal, nodoc] namespace app.currentWindowInternal {
|
| +
|
| + // TODO(asargent) - We need to add support for referencing types in
|
| + // other namespaces (crbug.com/158654). For now just duplicate this
|
| + // dictionary from app.window.
|
| + dictionary Bounds {
|
| + long? left;
|
| + long? top;
|
| + long? width;
|
| + long? height;
|
| + };
|
| +
|
| +
|
| + interface Functions {
|
| + static void focus();
|
| + static void minimize();
|
| + static void maximize();
|
| + static void restore();
|
| + static void drawAttention();
|
| + static void clearAttention();
|
| + static void show();
|
| + static void hide();
|
| + static void setBounds(Bounds bounds);
|
| + static void setIcon(DOMString icon_url);
|
| + };
|
| +
|
| + interface Events {
|
| + static void onClosed();
|
| + static void onBoundsChanged();
|
| + static void onMinimized();
|
| + static void onMaximized();
|
| + static void onRestored();
|
| + };
|
| +};
|
|
|