diff options
author | jeremya@chromium.org <jeremya@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-19 03:39:16 +0000 |
---|---|---|
committer | jeremya@chromium.org <jeremya@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-19 03:39:16 +0000 |
commit | 789ad9876d1e731046b0bf648f43bbe1ac0836c1 (patch) | |
tree | bd69cc4c7ae55941f9c07e0d1932eea7efea849f /chrome/common/extensions/api/app_window.idl | |
parent | 2d26b313ad5f72c4e476d70b2f70f04c1fc22b4c (diff) | |
download | chromium_src-789ad9876d1e731046b0bf648f43bbe1ac0836c1.zip chromium_src-789ad9876d1e731046b0bf648f43bbe1ac0836c1.tar.gz chromium_src-789ad9876d1e731046b0bf648f43bbe1ac0836c1.tar.bz2 |
Add AppWindow.close()
Things which affect the window should be available on the AppWindow object,
even if it's just a direct translation to the DOM method by the same name.
R=asargent@chromium.org,mihaip@chromium.org
BUG=146913
Review URL: https://chromiumcodereview.appspot.com/11198076
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162920 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/api/app_window.idl')
-rw-r--r-- | chrome/common/extensions/api/app_window.idl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/extensions/api/app_window.idl b/chrome/common/extensions/api/app_window.idl index 04deba9..fe8fa9c 100644 --- a/chrome/common/extensions/api/app_window.idl +++ b/chrome/common/extensions/api/app_window.idl @@ -80,6 +80,9 @@ namespace app.window { // Clear attention to the window. static void clearAttention(); + // Close the window. + static void close(); + // The JavaScript 'window' object for the created child. [instanceOf=global] object contentWindow; }; |