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

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: fix ash tests 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
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/common/extensions/api/app_window.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7cc6f9574c69b4321ec6c181e124c61707dd4ea8..2bf231b456156cb4abe00a4d560c2c467b878ceb 100644
--- a/chrome/common/extensions/api/app_current_window_internal.idl
+++ b/chrome/common/extensions/api/app_current_window_internal.idl
@@ -2,24 +2,17 @@
// 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();
-
- // Draw attention to the window.
static void drawAttention();
-
- // Clear attention to the window.
static void clearAttention();
+ static void show();
+ static void hide();
};
};
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/common/extensions/api/app_window.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698