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

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

Issue 11147037: Add a 'hidden' option to chrome.app.window.create() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename 'createHidden' to 'hidden' for less redundancy Created 8 years, 2 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
index 639a44df5a3e106a3f44c5df8c1d8b484c6c9e53..d645232dfc7ea32760e3e51b552a0106033b65d6 100644
--- a/chrome/common/extensions/api/app_current_window_internal.idl
+++ b/chrome/common/extensions/api/app_current_window_internal.idl
@@ -2,18 +2,15 @@
// 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 {
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();
+ static void show();
+ static void hide();
};
};

Powered by Google App Engine
This is Rietveld 408576698