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

Unified Diff: chrome/common/extensions/api/app_current_window.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: 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.idl
diff --git a/chrome/common/extensions/api/app_current_window.idl b/chrome/common/extensions/api/app_current_window.idl
new file mode 100644
index 0000000000000000000000000000000000000000..adf6a4f5079bc624ca5bbcfee7c04c2de2d5fc49
--- /dev/null
+++ b/chrome/common/extensions/api/app_current_window.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] namespace app.currentWindow {
Mihai Parparita -not on Chrome 2012/08/24 01:05:07 Other internal APIs (webRequestInternal, fileBrows
jeremya 2012/08/24 02:10:08 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();
benwells 2012/08/24 01:11:55 Maybe I am not understanding the change properly,
jeremya 2012/08/24 02:10:08 This namespace is internal-only. The name 'current
+ };
+};

Powered by Google App Engine
This is Rietveld 408576698