summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/api/app_window.idl
diff options
context:
space:
mode:
authorasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-28 04:42:43 +0000
committerasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-28 04:42:43 +0000
commit99d8f096aa417b8b94f0d0dafb4350bd19607758 (patch)
treeb54cc08ca43f0776dbe497d8c9caa72e414c4b0c /chrome/common/extensions/api/app_window.idl
parent7240505e7e7c1aa3e866c13ef614bf1409c17eeb (diff)
downloadchromium_src-99d8f096aa417b8b94f0d0dafb4350bd19607758.zip
chromium_src-99d8f096aa417b8b94f0d0dafb4350bd19607758.tar.gz
chromium_src-99d8f096aa417b8b94f0d0dafb4350bd19607758.tar.bz2
Add app window property change events
This adds onBoundsChanged, onMinimized, onMaximized, and onRestored events. BUG=134070 Review URL: https://codereview.chromium.org/11364230 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169848 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/api/app_window.idl')
-rw-r--r--chrome/common/extensions/api/app_window.idl6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/extensions/api/app_window.idl b/chrome/common/extensions/api/app_window.idl
index e2d04ab..3ca6fb9 100644
--- a/chrome/common/extensions/api/app_window.idl
+++ b/chrome/common/extensions/api/app_window.idl
@@ -83,9 +83,15 @@ namespace app.window {
// Minimize the window.
static void minimize();
+ // Is the window minimized?
+ static boolean isMinimized();
+
// Maximize the window.
static void maximize();
+ // Is the window maximized?
+ static bool isMaximized();
+
// Restore the window.
static void restore();