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

Unified Diff: chrome/common/extensions/api/app_current_window_internal.idl

Issue 10878040: Move context-sensitive app.window.* functions to app.window.current().* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add dom property Created 8 years, 4 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
Index: chrome/common/extensions/api/app_current_window_internal.idl
diff --git a/chrome/common/extensions/api/app_current_window_internal.idl b/chrome/common/extensions/api/app_current_window_internal.idl
new file mode 100644
index 0000000000000000000000000000000000000000..ad9c68a43b8d5d6f34bbb176059841f8e0cb4305
--- /dev/null
+++ b/chrome/common/extensions/api/app_current_window_internal.idl
@@ -0,0 +1,21 @@
+// 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.
+
+// File-level comment to appease parser. Eventually this will not be necessary.
+
+[internal,nodoc] namespace app.currentWindowInternal {
Mihai Parparita -not on Chrome 2012/08/27 23:21:06 Nit: space after comma.
jeremya 2012/08/30 02:38:54 Done.
+ interface Functions {
+ // Focus the window.
+ static void focus();
+
+ // Minimize the window.
+ static void minimize();
+
+ // Maximize the window.
+ static void maximize();
+
+ // Restore the window.
+ static void restore();
+ };
+};

Powered by Google App Engine
This is Rietveld 408576698