Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: third_party/chrome/idl/app_current_window_internal.idl

Issue 12261015: Import chrome idl into third_party (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/chrome/idl/app.json ('k') | third_party/chrome/idl/app_runtime.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
+ };
+};
« no previous file with comments | « third_party/chrome/idl/app.json ('k') | third_party/chrome/idl/app_runtime.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698